MarkupLevel
Overview
MarkupLevel is an enum in Aspose.Words FOSS for Java.
Specifies the level in the document tree where a particular StructuredDocumentTag can occur.
Edition status of its 10 listed members (a property and its accessor methods are listed separately, overloads once): 10 not yet exercised by a verified example.
This enum declares 4 methods for MarkupLevel 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 |
|---|---|
UNKNOWN | Specifies the unknown or invalid value. |
INLINE | The element occurs at the inline level (e.g. among as runs of text). |
BLOCK | The element occurs at the block level (e.g. among tables and paragraphs). |
ROW | The element occurs among rows in a table. |
CELL | The element occurs among cells in a row. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of MarkupLevel values. |
Methods
| Signature | Description |
|---|---|
getName(markupLevel: int) → String | Returns JAVA_STYLE string representation of integer MarkupLevel value. |
toString(markupLevel: int) → String | Returns DotNetStyle string representation of integer MarkupLevel value. |
fromName(markupLevelName: String) → int | Returns integer representation by MarkupLevel name. |
getValues() → int[] | Returns array of MarkupLevel values. |