Class ListLevelProperties
java.lang.Object
com.independentsoft.office.odf.styles.ListLevelProperties
Represents formatting properties for a list level.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the ListLevelProperties class. -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a new object that is a deep copy of the current instance.Gets the font of choice.Gets the image height.Gets the image width.Gets the alignment of list labels.Gets the position and spacing of a list label and its list item.Specifies how the position and spacing of the list labels (numbers or bullets) is defined.Gets the minimum distance between a number and a list item.Gets the minimum width of a number.Gets the space to include before a number for all paragraphs at a particular level.voidsetFontName(String fontName)Sets the font of choice.voidsetImageHeight(Size imageHeight)Sets the image height.voidsetImageWidth(Size imageWidth)Sets the image width.voidsetLabelAlignment(TextAlignment labelAlignment)Sets the alignment of list labels.voidsetListLevelLabelAlignment(ListLevelLabelAlignment listLevelLabelAlignment)Sets the position and spacing of a list label and its list item.voidsetListLevelPositionAndSpaceMode(ListLevelPositionAndSpaceMode listLevelPositionAndSpaceMode)Specifies how the position and spacing of the list labels (numbers or bullets) is defined.voidsetMinimumLabelDistance(Size minimumLabelDistance)Sets the minimum distance between a number and a list item.voidsetMinimumLabelWidth(Size minimumLabelWidth)Sets the minimum width of a number.voidsetStartIndent(Size startIndent)Sets the space to include before a number for all paragraphs at a particular level.toString()Converts the value of the current ListLevelProperties object to its equivalent string representation.
-
Constructor Details
-
ListLevelProperties
public ListLevelProperties()Initializes a new instance of the ListLevelProperties class.
-
-
Method Details
-
clone
Creates a new object that is a deep copy of the current instance. -
toString
Converts the value of the current ListLevelProperties object to its equivalent string representation. -
getLabelAlignment
Gets the alignment of list labels.- Returns:
- the label alignment
-
setLabelAlignment
Sets the alignment of list labels.- Parameters:
labelAlignment- the new label alignment
-
getListLevelPositionAndSpaceMode
Specifies how the position and spacing of the list labels (numbers or bullets) is defined.- Returns:
- the list level position and space mode
-
setListLevelPositionAndSpaceMode
public void setListLevelPositionAndSpaceMode(ListLevelPositionAndSpaceMode listLevelPositionAndSpaceMode)Specifies how the position and spacing of the list labels (numbers or bullets) is defined.- Parameters:
listLevelPositionAndSpaceMode- the new list level position and space mode
-
getStartIndent
Gets the space to include before a number for all paragraphs at a particular level.- Returns:
- the start indent
-
setStartIndent
Sets the space to include before a number for all paragraphs at a particular level.- Parameters:
startIndent- the new start indent
-
getMinimumLabelWidth
Gets the minimum width of a number.- Returns:
- the minimum label width
-
setMinimumLabelWidth
Sets the minimum width of a number.- Parameters:
minimumLabelWidth- the new minimum label width
-
getMinimumLabelDistance
Gets the minimum distance between a number and a list item.- Returns:
- the minimum label distance
-
setMinimumLabelDistance
Sets the minimum distance between a number and a list item.- Parameters:
minimumLabelDistance- the new minimum label distance
-
getFontName
Gets the font of choice.- Returns:
- the font name
-
setFontName
Sets the font of choice.- Parameters:
fontName- the new font name
-
getImageWidth
Gets the image width.- Returns:
- the image width
-
setImageWidth
Sets the image width.- Parameters:
imageWidth- the new image width
-
getImageHeight
Gets the image height.- Returns:
- the image height
-
setImageHeight
Sets the image height.- Parameters:
imageHeight- the new image height
-
getListLevelLabelAlignment
Gets the position and spacing of a list label and its list item.- Returns:
- the list level label alignment
-
setListLevelLabelAlignment
Sets the position and spacing of a list label and its list item.- Parameters:
listLevelLabelAlignment- the new list level label alignment
-