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
| Value | Description |
|---|---|
PARAGRAPH | The style is a paragraph style. |
CHARACTER | The style is a character style. |
TABLE | The style is a table style. |
LIST | The style is a list style. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of StyleType values. |
Methods
| Signature | Description |
|---|---|
getName(styleType: int) → String | Returns JAVA_STYLE string representation of integer StyleType value. |
toString(styleType: int) → String | Returns DotNetStyle string representation of integer StyleType value. |
fromName(styleTypeName: String) → int | Returns integer representation by StyleType name. |
getValues() → int[] | Returns array of StyleType values. |