Class CellStyleDocxPpt
- java.lang.Object
-
- com.cloudofficeprint.RenderElements.Cells.CellStyle
-
- com.cloudofficeprint.RenderElements.Cells.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.
-
-
-
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)).
-
-