Class CellSpan


  • public class CellSpan
    extends RenderElement
    Only available for Excel and HTML templates. This element allows you to specify the columns and rows to span for this cell. The tag in the cell of the template will be replaced by the value.
    • Constructor Detail

      • CellSpan

        public CellSpan​(java.lang.String name,
                        java.lang.String value,
                        int columns,
                        int rows)
        Parameters:
        name - Name of this property.
        value - Value of this property.
        columns - Number of columns to span.
        rows - Number of rows to span.
    • Method Detail

      • getColumns

        public int getColumns()
        Returns:
        Columns to span by cell.
      • setColumns

        public void setColumns​(int columns)
        Parameters:
        columns - Columns to span by cell.
      • getRows

        public int getRows()
        Returns:
        Rows to span by cell.
      • setRows

        public void setRows​(int rows)
        Parameters:
        rows - Rows to span by cell.
      • getJSON

        public com.google.gson.JsonObject getJSON()
        Specified by:
        getJSON in class RenderElement
        Returns:
        JSONObject with the tags for this property 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.