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
| Value | Description |
|---|---|
BULLET_DEFAULT | Default bulleted list with 9 levels. |
BULLET_DISK | Same as BULLET_DEFAULT. |
BULLET_CIRCLE | The bullet of the first level is a circle. |
BULLET_SQUARE | The bullet of the first level is a square. |
BULLET_DIAMONDS | The bullet of the first level is a 4-diamond Wingding character. |
BULLET_ARROW_HEAD | The bullet of the first level is an arrow head Wingding character. |
BULLET_TICK | The bullet of the first level is a tick Wingding character. |
NUMBER_DEFAULT | Default numbered list with 9 levels. |
NUMBER_ARABIC_DOT | Same as NUMBER_DEFAULT. |
NUMBER_ARABIC_PARENTHESIS | The number of the first level is “1)”. |
NUMBER_UPPERCASE_ROMAN_DOT | The number of the first level is “I.”. |
NUMBER_UPPERCASE_LETTER_DOT | The number of the first level is “A.”. |
NUMBER_LOWERCASE_LETTER_PARENTHESIS | The number of the first level is “a)”. |
NUMBER_LOWERCASE_LETTER_DOT | The number of the first level is “a.”. |
NUMBER_LOWERCASE_ROMAN_DOT | The number of the first level is “i.”. |
OUTLINE_NUMBERS | An outline list with levels numbered “1), a), i), (1), (a), (i), 1., a., i.”. |
OUTLINE_LEGAL | An outline list with levels are numbered “1., 1.1., 1.1.1, …”. |
OUTLINE_BULLETS | An outline lists with various bullets for different levels. |
OUTLINE_HEADINGS_ARTICLE_SECTION | An outline list with levels linked to Heading styles. |
OUTLINE_HEADINGS_LEGAL | An outline list with levels linked to Heading styles. |
OUTLINE_HEADINGS_NUMBERS | An outline list with levels linked to Heading styles. |
OUTLINE_HEADINGS_CHAPTER | An outline list with levels linked to Heading styles. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of ListTemplate values. |
Methods
| Signature | Description |
|---|---|
getName(listTemplate: int) → String | Returns JAVA_STYLE string representation of integer ListTemplate value. |
toString(listTemplate: int) → String | Returns DotNetStyle string representation of integer ListTemplate value. |
fromName(listTemplateName: String) → int | Returns integer representation by ListTemplate name. |
getValues() → int[] | Returns array of ListTemplate values. |