Class ImageLevelStyle
java.lang.Object
com.independentsoft.office.odf.styles.ImageLevelStyle
- All Implemented Interfaces:
IListStyleContent
Represents a list style where list items are preceded by images.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the ImageLevelStyle class.ImageLevelStyle(String name)Initializes a new instance of the ImageLevelStyle class. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.intgetLevel()Gets the level of an outline or number list style.Specifies formatting properties for list level.getName()Gets the style name.Specifies formatting properties for text.voidsetLevel(int level)Sets the level of an outline or number list style.voidSets the style name.toString()Converts the value of the current ImageLevelStyle object to its equivalent string representation.
-
Constructor Details
-
ImageLevelStyle
public ImageLevelStyle()Initializes a new instance of the ImageLevelStyle class. -
ImageLevelStyle
Initializes a new instance of the ImageLevelStyle 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 ImageLevelStyle 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
-
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
-