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

ValueDescription
UNKNOWNSpecifies the unknown or invalid value.
INLINEThe element occurs at the inline level (e.g. among as runs of text).
BLOCKThe element occurs at the block level (e.g. among tables and paragraphs).
ROWThe element occurs among rows in a table.
CELLThe element occurs among cells in a row.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of MarkupLevel values.

Methods

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

See Also