Class CellStyleDocxPpt


  • public class CellStyleDocxPpt
    extends CellStyle
    Represent the style of Word and PowerPoint cells.
    • Constructor Summary

      Constructors 
      Constructor Description
      CellStyleDocxPpt​(java.lang.String backgroundColor, java.lang.String width)
      Represents the style of a Word/PowerPoint cell element.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getBackgroundColor()  
      com.google.gson.JsonObject getJSON()  
      java.lang.String getWidth()
      The width manipulation is available from Cloud Office Print 20.2.
      void setBackgroundColor​(java.lang.String backgroundColor)  
      void setWidth​(java.lang.String width)
      The width manipulation is available from Cloud Office Print 20.2.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CellStyleDocxPpt

        public CellStyleDocxPpt​(java.lang.String backgroundColor,
                                java.lang.String width)
        Represents the style of a Word/PowerPoint cell element. Use default value if you don't want to specify an optional argument.
        Parameters:
        backgroundColor - The background color of the cell (hex format). (Optional)
        width - The width of the cell + unit ( in, cm, px, pt, em and % (% is in respect to the initial width of the table)). Giving a width of 0 will remove the whole column.
    • Method Detail

      • getBackgroundColor

        public java.lang.String getBackgroundColor()
        Returns:
        The background color of the cell (hex format).
      • setBackgroundColor

        public void setBackgroundColor​(java.lang.String backgroundColor)
        Parameters:
        backgroundColor - The background color of the cell (hex format).
      • getWidth

        public java.lang.String getWidth()
        The width manipulation is available from Cloud Office Print 20.2. Giving a width of 0 will remove the whole column.
        Returns:
        width The width + unit ( in, cm, px, pt, em and % (% is in respect to the initial width of the table)).
      • setWidth

        public void setWidth​(java.lang.String width)
        The width manipulation is available from Cloud Office Print 20.2. Giving a width of 0 will remove the whole column.
        Parameters:
        width - The width +unit ( in, cm, px, pt, em and % (% is in respect to the initial width of the table)).
      • getJSON

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