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

NameTypeAccessDescription
startAtintRead/WriteReturns or sets the starting number for this list level.
numberStyleintRead/WriteReturns or sets the number style for this list level.
customNumberStyleFormatStringRead/WriteGets or sets the custom number style format for this list level.
numberFormatStringRead/WriteReturns or sets the number format for the list level.
alignmentintRead/WriteGets or sets the justification of the actual number of the list item.
legalbooleanRead/WriteTrue if the level turns all inherited numbers to Arabic, false if it preserves their number style.
restartAfterLevelintRead/WriteSets or returns the list level that must appear before the specified list level restarts numbering.
trailingCharacterintRead/WriteReturns or sets the character inserted after the number for the list level.
fontFontReadSpecifies character formatting used for the list label.
tabPositiondoubleRead/WriteReturns or sets the tab position (in points) for the list level.
numberPositiondoubleRead/WriteReturns or sets the position (in points) of the number or bullet for the list level.
textPositiondoubleRead/WriteReturns or sets the position (in points) for the second line of wrapping text for the list level.
linkedStyleStyleRead/WriteGets or sets the paragraph style that is linked to this list level.
imageDataImageDataReadReturns image data of the picture bullet shape for the current list level.

Methods

SignatureDescription
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) → StringReports the string representation of the ListLevel object for the specified index of the list item.
equals(level: ListLevel) → booleanCompares with the specified ListLevel.
hashCode() → intCalculates hash code for this object.
getStartAt() → intReturns or sets the starting number for this list level.
setStartAt(value: int)Sets the start at value.
getNumberStyle() → intReturns or sets the number style for this list level.
setNumberStyle(value: int)Sets the number style value.
getCustomNumberStyleFormat() → StringGets or sets the custom number style format for this list level.
setCustomNumberStyleFormat(value: String)Sets the custom number style format value.
getNumberFormat() → StringReturns or sets the number format for the list level.
setNumberFormat(value: String)Sets the number format value.
getAlignment() → intGets or sets the justification of the actual number of the list item.
setAlignment(value: int)Sets the alignment value.
isLegal() → booleanTrue 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() → intSets 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() → intReturns or sets the character inserted after the number for the list level.
setTrailingCharacter(value: int)Sets the trailing character value.
getFont() → FontSpecifies character formatting used for the list label.
getTabPosition() → doubleReturns or sets the tab position (in points) for the list level.
setTabPosition(value: double)Sets the tab position value.
getNumberPosition() → doubleReturns or sets the position (in points) of the number or bullet for the list level.
setNumberPosition(value: double)Sets the number position value.
getTextPosition() → doubleReturns 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() → StyleGets or sets the paragraph style that is linked to this list level.
setLinkedStyle(value: Style)Sets the linked style value.
getImageData() → ImageDataReturns image data of the picture bullet shape for the current list level.

See Also