Class BaseStyle
java.lang.Object
com.independentsoft.office.odf.styles.Style
com.independentsoft.office.odf.styles.BaseStyle
- Direct Known Subclasses:
CellStyle,ChartStyle,ColumnStyle,DrawingPageStyle,GraphicStyle,ParagraphStyle,RowStyle,RubyStyle,SectionStyle,TableStyle,TextStyle
The Class BaseStyle.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected booleanprotected StyleFamilyprotected Stringprotected Stringprotected Stringprotected Stringprotected booleanprotected intprotected Stringprotected List<StyleMapping>Fields inherited from class com.independentsoft.office.odf.styles.Style
displayName, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract BaseStyleclone()Gets the class name.Gets the data style.Gets the family.Gets the list style.Gets the master page name.Gets the next style.intGets the outline numbering level.Gets the parent style.Gets the style mappings.booleanChecks if is enable auto update.voidsetClassName(String className)Sets the class name.voidsetDataStyle(String dataStyle)Sets the data style.voidsetEnableAutoUpdate(boolean enableAutoUpdate)Sets the enable auto update.voidsetListStyle(String listStyle)Sets the list style.voidsetMasterPageName(String masterPageName)Sets the master page name.voidsetNextStyle(String nextStyle)Sets the next style.voidsetOutlineNumberingLevel(int outlineNumberingLevel)Sets the outline numbering level.voidsetParentStyle(String parentStyle)Sets the parent style.toString()Converts the value of the current BaseStyle object to its equivalent string representation.protected StringMethods inherited from class com.independentsoft.office.odf.styles.Style
getDisplayName, getName, setDisplayName, setName
-
Field Details
-
styleMappings
-
family
-
parentStyle
-
nextStyle
-
listStyle
-
masterPageName
-
enableAutoUpdate
protected boolean enableAutoUpdate -
dataStyle
-
className
-
outlineNumberingLevel
protected int outlineNumberingLevel -
linkedStyleName
-
outlineLevelEmpty
protected boolean outlineLevelEmpty
-
-
Constructor Details
-
BaseStyle
public BaseStyle()
-
-
Method Details
-
clone
-
toString
Converts the value of the current BaseStyle object to its equivalent string representation. -
toString
-
getStyleMappings
Gets the style mappings.- Returns:
- the style mappings
-
getFamily
Gets the family.- Returns:
- the family
-
getParentStyle
Gets the parent style.- Returns:
- the parent style
-
setParentStyle
Sets the parent style.- Parameters:
parentStyle- the new parent style
-
getNextStyle
Gets the next style.- Returns:
- the next style
-
setNextStyle
Sets the next style.- Parameters:
nextStyle- the new next style
-
getListStyle
Gets the list style.- Returns:
- the list style
-
setListStyle
Sets the list style.- Parameters:
listStyle- the new list style
-
getMasterPageName
Gets the master page name.- Returns:
- the master page name
-
setMasterPageName
Sets the master page name.- Parameters:
masterPageName- the new master page name
-
isEnableAutoUpdate
public boolean isEnableAutoUpdate()Checks if is enable auto update.- Returns:
- true, if is enable auto update
-
setEnableAutoUpdate
public void setEnableAutoUpdate(boolean enableAutoUpdate)Sets the enable auto update.- Parameters:
enableAutoUpdate- the new enable auto update
-
getDataStyle
Gets the data style.- Returns:
- the data style
-
setDataStyle
Sets the data style.- Parameters:
dataStyle- the new data style
-
getClassName
Gets the class name.- Returns:
- the class name
-
setClassName
Sets the class name.- Parameters:
className- the new class name
-
getOutlineNumberingLevel
public int getOutlineNumberingLevel()Gets the outline numbering level.- Returns:
- the outline numbering level
-
setOutlineNumberingLevel
public void setOutlineNumberingLevel(int outlineNumberingLevel)Sets the outline numbering level.- Parameters:
outlineNumberingLevel- the new outline numbering level
-