ListLevel
Overview
ListLevel is a class in Aspose.Words FOSS for Java.
Inherits from: IRunAttrSource, Cloneable.
Defines formatting for a list level.
Edition status of its 44 listed members (a property and its accessor methods are listed separately, overloads once): 44 not yet exercised by a verified example.
This class declares 31 methods for ListLevel objects in Java programs.
Available methods include: createPictureBullet, deletePictureBullet, equals, getAlignment, getCustomNumberStyleFormat, getEffectiveValue, getFont, getImageData, getLinkedStyle, getNumberFormat, getNumberPosition, getNumberStyle, and 18 additional methods.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package.
Properties: alignment, customNumberStyleFormat, font, imageData, legal, linkedStyle, and 8 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
startAt | int | Read/Write | Returns or sets the starting number for this list level. |
numberStyle | int | Read/Write | Returns or sets the number style for this list level. |
customNumberStyleFormat | String | Read/Write | Gets or sets the custom number style format for this list level. |
numberFormat | String | Read/Write | Returns or sets the number format for the list level. |
alignment | int | Read/Write | Gets or sets the justification of the actual number of the list item. |
legal | boolean | Read/Write | True if the level turns all inherited numbers to Arabic, false if it preserves their number style. |
restartAfterLevel | int | Read/Write | Sets or returns the list level that must appear before the specified list level restarts numbering. |
trailingCharacter | int | Read/Write | Returns or sets the character inserted after the number for the list level. |
font | Font | Read | Specifies character formatting used for the list label. |
tabPosition | double | Read/Write | Returns or sets the tab position (in points) for the list level. |
numberPosition | double | Read/Write | Returns or sets the position (in points) of the number or bullet for the list level. |
textPosition | double | Read/Write | Returns or sets the position (in points) for the second line of wrapping text for the list level. |
linkedStyle | Style | Read/Write | Gets or sets the paragraph style that is linked to this list level. |
imageData | ImageData | Read | Returns image data of the picture bullet shape for the current list level. |
Methods
| Signature | Description |
|---|---|
createPictureBullet() | Creates picture bullet shape for the current list level. |
deletePictureBullet() | Deletes picture bullet for the current list level. |
getEffectiveValue(index: int, numberStyle: int, customNumberStyleFormat: String) → String | Reports the string representation of the ListLevel object for the specified index of the list item. |
equals(level: ListLevel) → boolean | Compares with the specified ListLevel. |
hashCode() → int | Calculates hash code for this object. |
getStartAt() → int | Returns or sets the starting number for this list level. |
setStartAt(value: int) | Sets the start at value. |
getNumberStyle() → int | Returns or sets the number style for this list level. |
setNumberStyle(value: int) | Sets the number style value. |
getCustomNumberStyleFormat() → String | Gets or sets the custom number style format for this list level. |
setCustomNumberStyleFormat(value: String) | Sets the custom number style format value. |
getNumberFormat() → String | Returns or sets the number format for the list level. |
setNumberFormat(value: String) | Sets the number format value. |
getAlignment() → int | Gets or sets the justification of the actual number of the list item. |
setAlignment(value: int) | Sets the alignment value. |
isLegal() → boolean | True if the level turns all inherited numbers to Arabic, false if it preserves their number style. |
isLegal(value: boolean) | Calls isLegal(value) on this ListLevel instance. |
getRestartAfterLevel() → int | Sets or returns the list level that must appear before the specified list level restarts numbering. |
setRestartAfterLevel(value: int) | Sets the restart after level value. |
getTrailingCharacter() → int | Returns or sets the character inserted after the number for the list level. |
setTrailingCharacter(value: int) | Sets the trailing character value. |
getFont() → Font | Specifies character formatting used for the list label. |
getTabPosition() → double | Returns or sets the tab position (in points) for the list level. |
setTabPosition(value: double) | Sets the tab position value. |
getNumberPosition() → double | Returns or sets the position (in points) of the number or bullet for the list level. |
setNumberPosition(value: double) | Sets the number position value. |
getTextPosition() → double | Returns or sets the position (in points) for the second line of wrapping text for the list level. |
setTextPosition(value: double) | Sets the text position value. |
getLinkedStyle() → Style | Gets or sets the paragraph style that is linked to this list level. |
setLinkedStyle(value: Style) | Sets the linked style value. |
getImageData() → ImageData | Returns image data of the picture bullet shape for the current list level. |