StyleType

Overview

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

Represents type of the style.

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

This enum declares 4 methods for StyleType 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
PARAGRAPHThe style is a paragraph style.
CHARACTERThe style is a character style.
TABLEThe style is a table style.
LISTThe style is a list style.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of StyleType values.

Methods

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

See Also