OutlineLevel
Overview
OutlineLevel is an enum in Aspose.Words FOSS for Java.
Specifies the outline level of a paragraph in the document.
Edition status of its 15 listed members (a property and its accessor methods are listed separately, overloads once): 15 not yet exercised by a verified example.
This enum declares 4 methods for OutlineLevel 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 |
|---|---|
LEVEL_1 | The paragraph is at the outline level 1 (topmost level). |
LEVEL_2 | The paragraph is at the outline level 2. |
LEVEL_3 | The paragraph is at the outline level 3. |
LEVEL_4 | The paragraph is at the outline level 4. |
LEVEL_5 | The paragraph is at the outline level 5. |
LEVEL_6 | The paragraph is at the outline level 6. |
LEVEL_7 | The paragraph is at the outline level 7. |
LEVEL_8 | The paragraph is at the outline level 8. |
LEVEL_9 | The paragraph is at the outline level 9. |
BODY_TEXT | The paragraph is at the level of the main text. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of OutlineLevel values. |
Methods
| Signature | Description |
|---|---|
getName(outlineLevel: int) → String | Returns JAVA_STYLE string representation of integer OutlineLevel value. |
toString(outlineLevel: int) → String | Returns DotNetStyle string representation of integer OutlineLevel value. |
fromName(outlineLevelName: String) → int | Returns integer representation by OutlineLevel name. |
getValues() → int[] | Returns array of OutlineLevel values. |