Class BulletLevelStyle
java.lang.Object
com.independentsoft.office.odf.styles.BulletLevelStyle
- All Implemented Interfaces:
IListStyleContent
Represents a list style where list items are preceded by bullets.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the BulletLevelStyle class.BulletLevelStyle(String name)Initializes a new instance of the BulletLevelStyle class. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the unicode character to use as the bullet in a bullet level style.intgetLevel()Gets the level of an outline or number list style.Specifies formatting properties for list level.getName()Gets the style name.Specifies what to display before a number.Specifies what to display before and after the number.Specifies formatting properties for text.voidsetBulletCharacter(String bulletCharacter)Sets the unicode character to use as the bullet in a bullet level style.voidsetLevel(int level)Sets the level of an outline or number list style.voidSets the style name.voidsetPrefixCharacter(String prefixCharacter)Specifies what to display before a number.voidsetSuffixCharacter(String suffixCharacter)Specifies what to display before and after the number.toString()Converts the value of the current BulletLevelStyle object to its equivalent string representation.
-
Constructor Details
-
BulletLevelStyle
public BulletLevelStyle()Initializes a new instance of the BulletLevelStyle class. -
BulletLevelStyle
Initializes a new instance of the BulletLevelStyle class.- Parameters:
name- the name
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance.- Specified by:
clonein interfaceIListStyleContent- Overrides:
clonein classObject- Returns:
- A new object that is a copy of this instance.
-
toString
Converts the value of the current BulletLevelStyle object to its equivalent string representation. -
getTextProperties
Specifies formatting properties for text.- Returns:
- the text properties
-
getListLevelProperties
Specifies formatting properties for list level.- Returns:
- the list level properties
-
getName
Gets the style name.- Returns:
- the name
-
setName
Sets the style name.- Parameters:
name- the new name
-
getPrefixCharacter
Specifies what to display before a number.- Returns:
- the prefix character
-
setPrefixCharacter
Specifies what to display before a number.- Parameters:
prefixCharacter- the new prefix character
-
getSuffixCharacter
Specifies what to display before and after the number.- Returns:
- the suffix character
-
setSuffixCharacter
Specifies what to display before and after the number.- Parameters:
suffixCharacter- the new suffix character
-
getBulletCharacter
Gets the unicode character to use as the bullet in a bullet level style.- Returns:
- the bullet character
-
setBulletCharacter
Sets the unicode character to use as the bullet in a bullet level style.- Parameters:
bulletCharacter- the new bullet character
-
getLevel
public int getLevel()Gets the level of an outline or number list style.- Returns:
- the level
-
setLevel
public void setLevel(int level)Sets the level of an outline or number list style.- Parameters:
level- the new level
-