Class PageBreak


  • public class PageBreak
    extends RenderElement
    Only supported in Word and Excel. Represents an object that indicates to put a break in the template or not.
    • Constructor Summary

      Constructors 
      Constructor Description
      PageBreak​(java.lang.String name, java.lang.String value)
      Represents an object that indicates to put a break in the template or not.
    • Constructor Detail

      • PageBreak

        public PageBreak​(java.lang.String name,
                         java.lang.String value)
        Represents an object that indicates to put a break in the template or not.
        Parameters:
        name - Name of this break for the tag.
        value - Value should be set to 'page' or 'pagebreak' for PageBreak, 'column' or 'columnbreak' for column breaks, if set to true it will create a pagebreak.
    • Method Detail

      • getJSON

        public com.google.gson.JsonObject getJSON()
        Specified by:
        getJSON in class RenderElement
        Returns:
        JSONObject with the tags for this element for the Cloud Office Print server.
      • getTemplateTags

        public java.util.Set<java.lang.String> getTemplateTags()
        Specified by:
        getTemplateTags in class RenderElement
        Returns:
        An immutable set containing all available template tags this element can replace.