java.lang.ObjectStyle
com.aspose.words.TableStyle
public class TableStyle
Property Getters/Setters Summary | ||
---|---|---|
java.lang.String[] | getAliases() | → inherited from Style |
Gets all aliases of this style. If style has no aliases then empty array of string is returned. | ||
java.lang.String | getBaseStyleName() | → inherited from Style |
void | setBaseStyleName(java.lang.String value) | |
Gets/sets the name of the style this style is based on. | ||
boolean | getBuiltIn() | → inherited from Style |
True if this style is one of the built-in styles in MS Word. | ||
DocumentBase | getDocument() | → inherited from Style |
Gets the owner document. | ||
Font | getFont() | → inherited from Style |
Gets the character formatting of the style. | ||
boolean | isHeading() | → inherited from Style |
True when the style is one of the built-in Heading styles. | ||
boolean | isQuickStyle() | → inherited from Style |
void | isQuickStyle(boolean value) | |
Specifies whether this style is shown in the Quick Style gallery inside MS Word UI. | ||
java.lang.String | getLinkedStyleName() | → inherited from Style |
Gets the name of the Style linked to this one. Returns Empty string if no styles are linked. | ||
Aspose.Words.Lists.List | getList() | → inherited from Style |
Gets the list that defines formatting of this list style. | ||
ListFormat | getListFormat() | → inherited from Style |
Provides access to the list formatting properties of a paragraph style. | ||
java.lang.String | getName() | → inherited from Style |
void | setName(java.lang.String value) | |
Gets or sets the name of the style. | ||
java.lang.String | getNextParagraphStyleName() | → inherited from Style |
void | setNextParagraphStyleName(java.lang.String value) | |
Gets/sets the name of the style to be applied automatically to a new paragraph inserted after a paragraph formatted with the specified style. | ||
ParagraphFormat | getParagraphFormat() | → inherited from Style |
Gets the paragraph formatting of the style. | ||
int | getStyleIdentifier() | → inherited from Style |
Gets the locale independent style identifier for a built-in style. The value of the property is StyleIdentifier integer constant. | ||
StyleCollection | getStyles() | → inherited from Style |
Gets the collection of styles this style belongs to. | ||
int | getType() | → inherited from Style |
Gets the style type (paragraph or character). The value of the property is StyleType integer constant. |
Method Summary | ||
---|---|---|
void | clearCellAttrs() | |
void | clearParaAttrs() | → inherited from Style |
Reserved for internal use. | ||
void | clearRowAttrs() | |
Reserved for internal use. | ||
void | clearRunAttrs() | → inherited from Style |
Reserved for internal use. | ||
java.lang.Object | fetchCellAttr(int key) | |
Reserved for internal use. | ||
java.lang.Object | fetchInheritedCellAttr(int key) | |
Reserved for internal use. | ||
java.lang.Object | fetchInheritedParaAttr(int key) | → inherited from Style |
Reserved for internal use. | ||
java.lang.Object | fetchInheritedRowAttr(int key) | |
Reserved for internal use. | ||
java.lang.Object | fetchInheritedRunAttr(int key) | → inherited from Style |
Reserved for internal use. | ||
java.lang.Object | fetchParaAttr(int key) | → inherited from Style |
Reserved for internal use. | ||
java.lang.Object | fetchRowAttr(int key) | |
Reserved for internal use. | ||
java.lang.Object | getDirectCellAttr(int key) | |
Reserved for internal use. | ||
java.lang.Object | getDirectParaAttr(int key) | → inherited from Style |
Reserved for internal use. | ||
int | getDirectParaAttrsCount() | → inherited from Style |
Reserved for internal use. | ||
int | getDirectParaKey(int index) | → inherited from Style |
Reserved for internal use. | ||
java.lang.Object | getDirectRowAttr(int key) | |
Reserved for internal use. | ||
java.lang.Object | getDirectRunAttr(int key) | → inherited from Style |
Reserved for internal use. | ||
int | getDirectRunAttrsCount() | → inherited from Style |
Reserved for internal use. | ||
void | remove() | → inherited from Style |
Removes the specified style from the document. | ||
void | removeParaAttr(int key) | → inherited from Style |
Reserved for internal use. | ||
void | removeRunAttr(int key) | → inherited from Style |
Reserved for internal use. | ||
void | resetToDefaultAttrs() | |
Reserved for internal use. | ||
void | setCellAttr(int key, java.lang.Object value) | |
Reserved for internal use. | ||
void | setParaAttr(int key, java.lang.Object value) | → inherited from Style |
Reserved for internal use. | ||
void | setRowAttr(int key, java.lang.Object value) | |
Reserved for internal use. | ||
void | setRunAttr(int key, java.lang.Object value) | → inherited from Style |
Reserved for internal use. |
Property Getters/Setters Detail |
---|
getAliases | → inherited from Style |
public java.lang.String[] getAliases() |
getBaseStyleName/setBaseStyleName | → inherited from Style |
public java.lang.String getBaseStyleName() / public void setBaseStyleName(java.lang.String value) |
getBuiltIn | → inherited from Style |
public boolean getBuiltIn() |
getDocument | → inherited from Style |
public DocumentBase getDocument() |
getFont | → inherited from Style |
public Font getFont() |
For list styles this property returns null.
isHeading | → inherited from Style |
public boolean isHeading() |
isQuickStyle/isQuickStyle | → inherited from Style |
public boolean isQuickStyle() / public void isQuickStyle(boolean value) |
getLinkedStyleName | → inherited from Style |
public java.lang.String getLinkedStyleName() |
getList | → inherited from Style |
public Aspose.Words.Lists.List getList() |
This property is only valid for list styles. For other style types this property returns null.
getListFormat | → inherited from Style |
public ListFormat getListFormat() |
This property is only valid for paragraph styles. For other style types this property returns null.
getName/setName | → inherited from Style |
public java.lang.String getName() / public void setName(java.lang.String value) |
Can not be empty string.
If there already is a style with such name in the collection, then this style will override it. All affected nodes will reference new style.
getNextParagraphStyleName/setNextParagraphStyleName | → inherited from Style |
public java.lang.String getNextParagraphStyleName() / public void setNextParagraphStyleName(java.lang.String value) |
getParagraphFormat | → inherited from Style |
public ParagraphFormat getParagraphFormat() |
For character and list styles this property returns null.
getStyleIdentifier | → inherited from Style |
public int getStyleIdentifier() |
For user defined (custom) styles, this property returns
getStyles | → inherited from Style |
public StyleCollection getStyles() |
getType | → inherited from Style |
public int getType() |
Method Detail |
---|
clearCellAttrs | |
public void clearCellAttrs() |
clearParaAttrs | → inherited from Style |
public void clearParaAttrs() |
clearRowAttrs | |
public void clearRowAttrs() |
clearRunAttrs | → inherited from Style |
public void clearRunAttrs() |
fetchCellAttr | |
public java.lang.Object fetchCellAttr(int key) |
fetchInheritedCellAttr | |
public java.lang.Object fetchInheritedCellAttr(int key) |
fetchInheritedParaAttr | → inherited from Style |
public java.lang.Object fetchInheritedParaAttr(int key) |
fetchInheritedRowAttr | |
public java.lang.Object fetchInheritedRowAttr(int key) |
fetchInheritedRunAttr | → inherited from Style |
public java.lang.Object fetchInheritedRunAttr(int key) |
fetchParaAttr | → inherited from Style |
public java.lang.Object fetchParaAttr(int key) |
fetchRowAttr | |
public java.lang.Object fetchRowAttr(int key) |
getDirectCellAttr | |
public java.lang.Object getDirectCellAttr(int key) |
getDirectParaAttr | → inherited from Style |
public java.lang.Object getDirectParaAttr(int key) |
getDirectParaAttrsCount | → inherited from Style |
public int getDirectParaAttrsCount() |
getDirectParaKey | → inherited from Style |
public int getDirectParaKey(int index) |
getDirectRowAttr | |
public java.lang.Object getDirectRowAttr(int key) |
getDirectRunAttr | → inherited from Style |
public java.lang.Object getDirectRunAttr(int key) |
getDirectRunAttrsCount | → inherited from Style |
public int getDirectRunAttrsCount() |
remove | → inherited from Style |
public void remove() |
removeParaAttr | → inherited from Style |
public void removeParaAttr(int key) |
removeRunAttr | → inherited from Style |
public void removeRunAttr(int key) |
resetToDefaultAttrs | |
public void resetToDefaultAttrs() |
setCellAttr | |
public void setCellAttr(int key, java.lang.Object value) |
setParaAttr | → inherited from Style |
public void setParaAttr(int key, java.lang.Object value) |
setRowAttr | |
public void setRowAttr(int key, java.lang.Object value) |
setRunAttr | → inherited from Style |
public void setRunAttr(int key, java.lang.Object value) |