|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.formatting.FormatBase
com.spire.doc.formatting.AttrCollection
com.spire.doc.formatting.WordAttrCollection
com.spire.doc.formatting.CellFormat
public class CellFormat
Cell Format Class
Constructor Summary | |
---|---|
CellFormat()
Initializes a new instance of the |
Method Summary | |
---|---|
void |
clearBackground()
Clears cell background. |
java.awt.Color |
getBackColor()
Gets or sets background color. |
Borders |
getBorders()
Gets borders. |
boolean |
getFitText()
Gets or sets fit text option. |
CellMerge |
getHorizontalMerge()
Returns or setsthe way of horizontal merging of the cell. |
Paddings |
getPaddings()
Gets paddings. |
boolean |
getSamePaddingsAsTable()
Defines whether to use same paddings as table has. |
TextDirection |
getTextDirection()
Gets or sets cell text direction. |
boolean |
getTextWrap()
Gets or sets a value indicating whether [text wrap]. |
VerticalAlignment |
getVerticalAlignment()
Gets or sets vertical alignment. |
CellMerge |
getVerticalMerge()
Returns or setsthe way of vertical merging of the cell. |
void |
setBackColor(java.awt.Color value)
Gets or sets background color. |
void |
setFitText(boolean value)
Gets or sets fit text option. |
void |
setHorizontalMerge(CellMerge value)
Returns or setsthe way of horizontal merging of the cell. |
void |
setSamePaddingsAsTable(boolean value)
Defines whether to use same paddings as table has. |
void |
setTextDirection(TextDirection value)
Gets or sets cell text direction. |
void |
setTextWrap(boolean value)
Gets or sets a value indicating whether [text wrap]. |
void |
setVerticalAlignment(VerticalAlignment value)
Gets or sets vertical alignment. |
void |
setVerticalMerge(CellMerge value)
Returns or setsthe way of vertical merging of the cell. |
Methods inherited from class com.spire.doc.formatting.FormatBase |
---|
clearFormatting, hasKey, isDefault |
Methods inherited from class com.spire.doc.OwnerHolder |
---|
getDocument |
Constructor Detail |
---|
public CellFormat()
Method Detail |
---|
public Borders getBorders()
public Paddings getPaddings()
public VerticalAlignment getVerticalAlignment()
public void setVerticalAlignment(VerticalAlignment value)
public java.awt.Color getBackColor()
public void setBackColor(java.awt.Color value)
public CellMerge getVerticalMerge()
public void setVerticalMerge(CellMerge value)
public CellMerge getHorizontalMerge()
public void setHorizontalMerge(CellMerge value)
public boolean getTextWrap()
public void setTextWrap(boolean value)
public boolean getFitText()
public void setFitText(boolean value)
public TextDirection getTextDirection()
public void setTextDirection(TextDirection value)
public boolean getSamePaddingsAsTable()
public void setSamePaddingsAsTable(boolean value)
public void clearBackground()
clearBackground
in class FormatBase
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |