Class ListStyle
java.lang.Object
com.independentsoft.office.odf.styles.Style
com.independentsoft.office.odf.styles.ListStyle
Represents a set of style elements for each list level, which are called list level styles.
-
Field Summary
Fields inherited from class com.independentsoft.office.odf.styles.Style
displayName, name -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Contains a collection of IListStyleContent objects.voidsetUseConsecutiveNumbering(boolean useConsecutiveNumbering)Specifies whether the style uses consecutive numbering for all list levels or whether each list level restarts the numbering.toString()Converts the value of the current ListStyle object to its equivalent string representation.booleanSpecifies whether the style uses consecutive numbering for all list levels or whether each list level restarts the numbering.Methods inherited from class com.independentsoft.office.odf.styles.Style
getDisplayName, getName, setDisplayName, setName
-
Constructor Details
-
ListStyle
public ListStyle()Initializes a new instance of the ListStyle class. -
ListStyle
Initializes a new instance of the ListStyle class.- Parameters:
name- the name
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current ListStyle object to its equivalent string representation. -
getStyles
Contains a collection of IListStyleContent objects.- Returns:
- the styles
-
useConsecutiveNumbering
public boolean useConsecutiveNumbering()Specifies whether the style uses consecutive numbering for all list levels or whether each list level restarts the numbering.- Returns:
- true, if successful
-
setUseConsecutiveNumbering
public void setUseConsecutiveNumbering(boolean useConsecutiveNumbering)Specifies whether the style uses consecutive numbering for all list levels or whether each list level restarts the numbering.- Parameters:
useConsecutiveNumbering- the new use consecutive numbering
-