ListTemplate

Overview

ListTemplate is an enum in Aspose.Words FOSS for Java.

Specifies one of the predefined list formats available in Microsoft Word.

Edition status of its 27 listed members (a property and its accessor methods are listed separately, overloads once): 27 not yet exercised by a verified example.

This enum declares 4 methods for ListTemplate objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
BULLET_DEFAULTDefault bulleted list with 9 levels.
BULLET_DISKSame as BULLET_DEFAULT.
BULLET_CIRCLEThe bullet of the first level is a circle.
BULLET_SQUAREThe bullet of the first level is a square.
BULLET_DIAMONDSThe bullet of the first level is a 4-diamond Wingding character.
BULLET_ARROW_HEADThe bullet of the first level is an arrow head Wingding character.
BULLET_TICKThe bullet of the first level is a tick Wingding character.
NUMBER_DEFAULTDefault numbered list with 9 levels.
NUMBER_ARABIC_DOTSame as NUMBER_DEFAULT.
NUMBER_ARABIC_PARENTHESISThe number of the first level is “1)”.
NUMBER_UPPERCASE_ROMAN_DOTThe number of the first level is “I.”.
NUMBER_UPPERCASE_LETTER_DOTThe number of the first level is “A.”.
NUMBER_LOWERCASE_LETTER_PARENTHESISThe number of the first level is “a)”.
NUMBER_LOWERCASE_LETTER_DOTThe number of the first level is “a.”.
NUMBER_LOWERCASE_ROMAN_DOTThe number of the first level is “i.”.
OUTLINE_NUMBERSAn outline list with levels numbered “1), a), i), (1), (a), (i), 1., a., i.”.
OUTLINE_LEGALAn outline list with levels are numbered “1., 1.1., 1.1.1, …”.
OUTLINE_BULLETSAn outline lists with various bullets for different levels.
OUTLINE_HEADINGS_ARTICLE_SECTIONAn outline list with levels linked to Heading styles.
OUTLINE_HEADINGS_LEGALAn outline list with levels linked to Heading styles.
OUTLINE_HEADINGS_NUMBERSAn outline list with levels linked to Heading styles.
OUTLINE_HEADINGS_CHAPTERAn outline list with levels linked to Heading styles.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of ListTemplate values.

Methods

SignatureDescription
getName(listTemplate: int) → StringReturns JAVA_STYLE string representation of integer ListTemplate value.
toString(listTemplate: int) → StringReturns DotNetStyle string representation of integer ListTemplate value.
fromName(listTemplateName: String) → intReturns integer representation by ListTemplate name.
getValues() → int[]Returns array of ListTemplate values.

See Also