TabAlignment
Overview
TabAlignment is an enum in Aspose.Words FOSS for Java.
Specifies the alignment/type of a tab stop.
Edition status of its 12 listed members (a property and its accessor methods are listed separately, overloads once): 12 not yet exercised by a verified example.
This enum declares 4 methods for TabAlignment 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 |
|---|---|
LEFT | Left-aligns the text after the tab stop. |
CENTER | Centers the text around the tab stop. |
RIGHT | Right-aligns the text at the tab stop. |
DECIMAL | Aligns the text at the decimal dot. |
BAR | Draws a vertical bar at the tab stop position. |
LIST | The tab is a delimiter between the number/bullet and text in a list item. |
CLEAR | Clears any tab stop in this position. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of TabAlignment values. |
Methods
| Signature | Description |
|---|---|
getName(tabAlignment: int) → String | Returns JAVA_STYLE string representation of integer TabAlignment value. |
toString(tabAlignment: int) → String | Returns DotNetStyle string representation of integer TabAlignment value. |
fromName(tabAlignmentName: String) → int | Returns integer representation by TabAlignment name. |
getValues() → int[] | Returns array of TabAlignment values. |