StyleIdentifier
Inheritance: java.lang.Object
public class StyleIdentifier
Locale independent style identifier.
Remarks:
The names of built-in styles in MS Word are localized for different languages. Using a style identifier you can find the correct style regardless of the document language.
All user defined styles are assigned the USER value.
Examples:
Shows how to change the style of existing text.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
// Below are two ways of referencing styles.
// 1 - Using the style name:
builder.getFont().setStyleName("Emphasis");
builder.writeln("Text originally in \"Emphasis\" style");
// 2 - Using a built-in style identifier:
builder.getFont().setStyleIdentifier(StyleIdentifier.INTENSE_EMPHASIS);
builder.writeln("Text originally in \"Intense Emphasis\" style");
// Convert all uses of one style to another,
// using the above methods to reference old and new styles.
for (Run run : (Iterable) doc.getChildNodes(NodeType.RUN, true)) {
if (run.getFont().getStyleName().equals("Emphasis"))
run.getFont().setStyleName("Strong");
if (((run.getFont().getStyleIdentifier()) == (StyleIdentifier.INTENSE_EMPHASIS)))
run.getFont().setStyleIdentifier(StyleIdentifier.STRONG);
}
doc.save(getArtifactsDir() + "Font.ChangeStyle.docx");
Fields
Methods
Method | Description |
---|---|
fromName(String styleIdentifierName) | |
getName(int styleIdentifier) | |
getValues() | |
toString(int styleIdentifier) |
BALLOON_TEXT
public static int BALLOON_TEXT
BIBLIOGRAPHY
public static int BIBLIOGRAPHY
BLOCK_TEXT
public static int BLOCK_TEXT
BODY_TEXT
public static int BODY_TEXT
The Body Text style.
BODY_TEXT_1_I
public static int BODY_TEXT_1_I
BODY_TEXT_1_I_2
public static int BODY_TEXT_1_I_2
BODY_TEXT_2
public static int BODY_TEXT_2
BODY_TEXT_3
public static int BODY_TEXT_3
BODY_TEXT_IND
public static int BODY_TEXT_IND
BODY_TEXT_IND_2
public static int BODY_TEXT_IND_2
BODY_TEXT_IND_3
public static int BODY_TEXT_IND_3
BOOK_TITLE
public static int BOOK_TITLE
CAPTION
public static int CAPTION
CLOSING
public static int CLOSING
COLORFUL_GRID
public static int COLORFUL_GRID
COLORFUL_GRID_ACCENT_1
public static int COLORFUL_GRID_ACCENT_1
COLORFUL_GRID_ACCENT_2
public static int COLORFUL_GRID_ACCENT_2
COLORFUL_GRID_ACCENT_3
public static int COLORFUL_GRID_ACCENT_3
COLORFUL_GRID_ACCENT_4
public static int COLORFUL_GRID_ACCENT_4
COLORFUL_GRID_ACCENT_5
public static int COLORFUL_GRID_ACCENT_5
COLORFUL_GRID_ACCENT_6
public static int COLORFUL_GRID_ACCENT_6
COLORFUL_LIST
public static int COLORFUL_LIST
COLORFUL_LIST_ACCENT_1
public static int COLORFUL_LIST_ACCENT_1
COLORFUL_LIST_ACCENT_2
public static int COLORFUL_LIST_ACCENT_2
COLORFUL_LIST_ACCENT_3
public static int COLORFUL_LIST_ACCENT_3
COLORFUL_LIST_ACCENT_4
public static int COLORFUL_LIST_ACCENT_4
COLORFUL_LIST_ACCENT_5
public static int COLORFUL_LIST_ACCENT_5
COLORFUL_LIST_ACCENT_6
public static int COLORFUL_LIST_ACCENT_6
COLORFUL_SHADING
public static int COLORFUL_SHADING
COLORFUL_SHADING_ACCENT_1
public static int COLORFUL_SHADING_ACCENT_1
COLORFUL_SHADING_ACCENT_2
public static int COLORFUL_SHADING_ACCENT_2
COLORFUL_SHADING_ACCENT_3
public static int COLORFUL_SHADING_ACCENT_3
COLORFUL_SHADING_ACCENT_4
public static int COLORFUL_SHADING_ACCENT_4
COLORFUL_SHADING_ACCENT_5
public static int COLORFUL_SHADING_ACCENT_5
COLORFUL_SHADING_ACCENT_6
public static int COLORFUL_SHADING_ACCENT_6
COMMENT_REFERENCE
public static int COMMENT_REFERENCE
The Annotation (Comment) Reference style.
COMMENT_SUBJECT
public static int COMMENT_SUBJECT
COMMENT_TEXT
public static int COMMENT_TEXT
The Annotation (Comment) Text style.
DARK_LIST
public static int DARK_LIST
DARK_LIST_ACCENT_1
public static int DARK_LIST_ACCENT_1
DARK_LIST_ACCENT_2
public static int DARK_LIST_ACCENT_2
DARK_LIST_ACCENT_3
public static int DARK_LIST_ACCENT_3
DARK_LIST_ACCENT_4
public static int DARK_LIST_ACCENT_4
DARK_LIST_ACCENT_5
public static int DARK_LIST_ACCENT_5
DARK_LIST_ACCENT_6
public static int DARK_LIST_ACCENT_6
DATE
public static int DATE
DEFAULT_PARAGRAPH_FONT
public static int DEFAULT_PARAGRAPH_FONT
The Default Paragraph Font style.
DOCUMENT_MAP
public static int DOCUMENT_MAP
EMAIL_SIGNATURE
public static int EMAIL_SIGNATURE
EMPHASIS
public static int EMPHASIS
ENDNOTE_REFERENCE
public static int ENDNOTE_REFERENCE
The Endnote Reference style.
ENDNOTE_TEXT
public static int ENDNOTE_TEXT
The Endnote Text style.
ENVELOPE_ADDRESS
public static int ENVELOPE_ADDRESS
The Envelope Address style.
ENVELOPE_RETURN
public static int ENVELOPE_RETURN
The Envelope Return style.
FOLLOWED_HYPERLINK
public static int FOLLOWED_HYPERLINK
FOOTER
public static int FOOTER
The Footer style.
FOOTNOTE_REFERENCE
public static int FOOTNOTE_REFERENCE
The Footnote Reference style.
FOOTNOTE_TEXT
public static int FOOTNOTE_TEXT
The Footnote Text style.
GRID_TABLE_1_LIGHT
public static int GRID_TABLE_1_LIGHT
Grid Table 1 Light
GRID_TABLE_1_LIGHT_ACCENT_1
public static int GRID_TABLE_1_LIGHT_ACCENT_1
Grid Table 1 Light - Accent 1
GRID_TABLE_1_LIGHT_ACCENT_2
public static int GRID_TABLE_1_LIGHT_ACCENT_2
Grid Table 1 Light - Accent 2
GRID_TABLE_1_LIGHT_ACCENT_3
public static int GRID_TABLE_1_LIGHT_ACCENT_3
Grid Table 1 Light - Accent 3
GRID_TABLE_1_LIGHT_ACCENT_4
public static int GRID_TABLE_1_LIGHT_ACCENT_4
Grid Table 1 Light - Accent 4
GRID_TABLE_1_LIGHT_ACCENT_5
public static int GRID_TABLE_1_LIGHT_ACCENT_5
Grid Table 1 Light - Accent 5
GRID_TABLE_1_LIGHT_ACCENT_6
public static int GRID_TABLE_1_LIGHT_ACCENT_6
Grid Table 1 Light - Accent 6
GRID_TABLE_2
public static int GRID_TABLE_2
Grid Table 2
GRID_TABLE_2_ACCENT_1
public static int GRID_TABLE_2_ACCENT_1
Grid Table 2 - Accent 1
GRID_TABLE_2_ACCENT_2
public static int GRID_TABLE_2_ACCENT_2
Grid Table 2 - Accent 2
GRID_TABLE_2_ACCENT_3
public static int GRID_TABLE_2_ACCENT_3
Grid Table 2 - Accent 3
GRID_TABLE_2_ACCENT_4
public static int GRID_TABLE_2_ACCENT_4
Grid Table 2 - Accent 4
GRID_TABLE_2_ACCENT_5
public static int GRID_TABLE_2_ACCENT_5
Grid Table 2 - Accent 5
GRID_TABLE_2_ACCENT_6
public static int GRID_TABLE_2_ACCENT_6
Grid Table 2 - Accent 6
GRID_TABLE_3
public static int GRID_TABLE_3
Grid Table 3
GRID_TABLE_3_ACCENT_1
public static int GRID_TABLE_3_ACCENT_1
Grid Table 3 - Accent 1
GRID_TABLE_3_ACCENT_2
public static int GRID_TABLE_3_ACCENT_2
Grid Table 3 - Accent 2
GRID_TABLE_3_ACCENT_3
public static int GRID_TABLE_3_ACCENT_3
Grid Table 3 - Accent 3
GRID_TABLE_3_ACCENT_4
public static int GRID_TABLE_3_ACCENT_4
Grid Table 3 - Accent 4
GRID_TABLE_3_ACCENT_5
public static int GRID_TABLE_3_ACCENT_5
Grid Table 3 - Accent 5
GRID_TABLE_3_ACCENT_6
public static int GRID_TABLE_3_ACCENT_6
Grid Table 3 - Accent 6
GRID_TABLE_4
public static int GRID_TABLE_4
Grid Table 4
GRID_TABLE_4_ACCENT_1
public static int GRID_TABLE_4_ACCENT_1
Grid Table 4 - Accent 1
GRID_TABLE_4_ACCENT_2
public static int GRID_TABLE_4_ACCENT_2
Grid Table 4 - Accent 2
GRID_TABLE_4_ACCENT_3
public static int GRID_TABLE_4_ACCENT_3
Grid Table 4 - Accent 3
GRID_TABLE_4_ACCENT_4
public static int GRID_TABLE_4_ACCENT_4
Grid Table 4 - Accent 4
GRID_TABLE_4_ACCENT_5
public static int GRID_TABLE_4_ACCENT_5
Grid Table 4 - Accent 5
GRID_TABLE_4_ACCENT_6
public static int GRID_TABLE_4_ACCENT_6
Grid Table 4 - Accent 6
GRID_TABLE_5_DARK
public static int GRID_TABLE_5_DARK
Grid Table 5 Dark
GRID_TABLE_5_DARK_ACCENT_1
public static int GRID_TABLE_5_DARK_ACCENT_1
Grid Table 5 Dark - Accent 1
GRID_TABLE_5_DARK_ACCENT_2
public static int GRID_TABLE_5_DARK_ACCENT_2
Grid Table 5 Dark - Accent 2
GRID_TABLE_5_DARK_ACCENT_3
public static int GRID_TABLE_5_DARK_ACCENT_3
Grid Table 5 Dark - Accent 3
GRID_TABLE_5_DARK_ACCENT_4
public static int GRID_TABLE_5_DARK_ACCENT_4
Grid Table 5 Dark - Accent 4
GRID_TABLE_5_DARK_ACCENT_5
public static int GRID_TABLE_5_DARK_ACCENT_5
Grid Table 5 Dark - Accent 5
GRID_TABLE_5_DARK_ACCENT_6
public static int GRID_TABLE_5_DARK_ACCENT_6
Grid Table 5 Dark - Accent 6
GRID_TABLE_6_COLORFUL
public static int GRID_TABLE_6_COLORFUL
Grid Table 6 Colorful
GRID_TABLE_6_COLORFUL_ACCENT_1
public static int GRID_TABLE_6_COLORFUL_ACCENT_1
Grid Table 6 Colorful - Accent 1
GRID_TABLE_6_COLORFUL_ACCENT_2
public static int GRID_TABLE_6_COLORFUL_ACCENT_2
Grid Table 6 Colorful - Accent 2
GRID_TABLE_6_COLORFUL_ACCENT_3
public static int GRID_TABLE_6_COLORFUL_ACCENT_3
Grid Table 6 Colorful - Accent 3
GRID_TABLE_6_COLORFUL_ACCENT_4
public static int GRID_TABLE_6_COLORFUL_ACCENT_4
Grid Table 6 Colorful - Accent 4
GRID_TABLE_6_COLORFUL_ACCENT_5
public static int GRID_TABLE_6_COLORFUL_ACCENT_5
Grid Table 6 Colorful - Accent 5
GRID_TABLE_6_COLORFUL_ACCENT_6
public static int GRID_TABLE_6_COLORFUL_ACCENT_6
Grid Table 6 Colorful - Accent 6
GRID_TABLE_7_COLORFUL
public static int GRID_TABLE_7_COLORFUL
Grid Table 7 Colorful
GRID_TABLE_7_COLORFUL_ACCENT_1
public static int GRID_TABLE_7_COLORFUL_ACCENT_1
Grid Table 7 Colorful - Accent 1
GRID_TABLE_7_COLORFUL_ACCENT_2
public static int GRID_TABLE_7_COLORFUL_ACCENT_2
Grid Table 7 Colorful - Accent 2
GRID_TABLE_7_COLORFUL_ACCENT_3
public static int GRID_TABLE_7_COLORFUL_ACCENT_3
Grid Table 7 Colorful - Accent 3
GRID_TABLE_7_COLORFUL_ACCENT_4
public static int GRID_TABLE_7_COLORFUL_ACCENT_4
Grid Table 7 Colorful - Accent 4
GRID_TABLE_7_COLORFUL_ACCENT_5
public static int GRID_TABLE_7_COLORFUL_ACCENT_5
Grid Table 7 Colorful - Accent 5
GRID_TABLE_7_COLORFUL_ACCENT_6
public static int GRID_TABLE_7_COLORFUL_ACCENT_6
Grid Table 7 Colorful - Accent 6
HASHTAG
public static int HASHTAG
The Hashtag style.
HEADER
public static int HEADER
The Header style.
HEADING_1
public static int HEADING_1
The Heading 1 style.
HEADING_2
public static int HEADING_2
The Heading 2 style.
HEADING_3
public static int HEADING_3
The Heading 3 style.
HEADING_4
public static int HEADING_4
The Heading 4 style.
HEADING_5
public static int HEADING_5
The Heading 5 style.
HEADING_6
public static int HEADING_6
The Heading 6 style.
HEADING_7
public static int HEADING_7
The Heading 7 style.
HEADING_8
public static int HEADING_8
The Heading 8 style.
HEADING_9
public static int HEADING_9
The Heading 9 style.
HTML_ACRONYM
public static int HTML_ACRONYM
HTML_ADDRESS
public static int HTML_ADDRESS
HTML_BOTTOM_OF_FORM
public static int HTML_BOTTOM_OF_FORM
HTML_CITE
public static int HTML_CITE
HTML_CODE
public static int HTML_CODE
HTML_DEFINITION
public static int HTML_DEFINITION
HTML_KEYBOARD
public static int HTML_KEYBOARD
HTML_PREFORMATTED
public static int HTML_PREFORMATTED
HTML_SAMPLE
public static int HTML_SAMPLE
HTML_TOP_OF_FORM
public static int HTML_TOP_OF_FORM
HTML_TYPEWRITER
public static int HTML_TYPEWRITER
HTML_VARIABLE
public static int HTML_VARIABLE
HYPERLINK
public static int HYPERLINK
The Hyperlink style.
INDEX_1
public static int INDEX_1
INDEX_2
public static int INDEX_2
INDEX_3
public static int INDEX_3
INDEX_4
public static int INDEX_4
INDEX_5
public static int INDEX_5
INDEX_6
public static int INDEX_6
INDEX_7
public static int INDEX_7
INDEX_8
public static int INDEX_8
INDEX_9
public static int INDEX_9
INDEX_HEADING
public static int INDEX_HEADING
The Index Heading style.
INTENSE_EMPHASIS
public static int INTENSE_EMPHASIS
INTENSE_QUOTE
public static int INTENSE_QUOTE
INTENSE_REFERENCE
public static int INTENSE_REFERENCE
LIGHT_GRID
public static int LIGHT_GRID
LIGHT_GRID_ACCENT_1
public static int LIGHT_GRID_ACCENT_1
LIGHT_GRID_ACCENT_2
public static int LIGHT_GRID_ACCENT_2
LIGHT_GRID_ACCENT_3
public static int LIGHT_GRID_ACCENT_3
LIGHT_GRID_ACCENT_4
public static int LIGHT_GRID_ACCENT_4
LIGHT_GRID_ACCENT_5
public static int LIGHT_GRID_ACCENT_5
LIGHT_GRID_ACCENT_6
public static int LIGHT_GRID_ACCENT_6
LIGHT_LIST
public static int LIGHT_LIST
LIGHT_LIST_ACCENT_1
public static int LIGHT_LIST_ACCENT_1
LIGHT_LIST_ACCENT_2
public static int LIGHT_LIST_ACCENT_2
LIGHT_LIST_ACCENT_3
public static int LIGHT_LIST_ACCENT_3
LIGHT_LIST_ACCENT_4
public static int LIGHT_LIST_ACCENT_4
LIGHT_LIST_ACCENT_5
public static int LIGHT_LIST_ACCENT_5
LIGHT_LIST_ACCENT_6
public static int LIGHT_LIST_ACCENT_6
LIGHT_SHADING
public static int LIGHT_SHADING
LIGHT_SHADING_ACCENT_1
public static int LIGHT_SHADING_ACCENT_1
LIGHT_SHADING_ACCENT_2
public static int LIGHT_SHADING_ACCENT_2
LIGHT_SHADING_ACCENT_3
public static int LIGHT_SHADING_ACCENT_3
LIGHT_SHADING_ACCENT_4
public static int LIGHT_SHADING_ACCENT_4
LIGHT_SHADING_ACCENT_5
public static int LIGHT_SHADING_ACCENT_5
LIGHT_SHADING_ACCENT_6
public static int LIGHT_SHADING_ACCENT_6
LINE_NUMBER
public static int LINE_NUMBER
The Line Number style.
LIST
public static int LIST
The List style.
LIST_2
public static int LIST_2
LIST_3
public static int LIST_3
LIST_4
public static int LIST_4
LIST_5
public static int LIST_5
LIST_BULLET
public static int LIST_BULLET
The List Bullet style.
LIST_BULLET_2
public static int LIST_BULLET_2
LIST_BULLET_3
public static int LIST_BULLET_3
LIST_BULLET_4
public static int LIST_BULLET_4
LIST_BULLET_5
public static int LIST_BULLET_5
LIST_CONTINUE
public static int LIST_CONTINUE
LIST_CONTINUE_2
public static int LIST_CONTINUE_2
LIST_CONTINUE_3
public static int LIST_CONTINUE_3
LIST_CONTINUE_4
public static int LIST_CONTINUE_4
LIST_CONTINUE_5
public static int LIST_CONTINUE_5
LIST_NUMBER
public static int LIST_NUMBER
The List Number style.
LIST_NUMBER_2
public static int LIST_NUMBER_2
LIST_NUMBER_3
public static int LIST_NUMBER_3
LIST_NUMBER_4
public static int LIST_NUMBER_4
LIST_NUMBER_5
public static int LIST_NUMBER_5
LIST_PARAGRAPH
public static int LIST_PARAGRAPH
LIST_TABLE_1_LIGHT
public static int LIST_TABLE_1_LIGHT
List Table 1 Light
LIST_TABLE_1_LIGHT_ACCENT_1
public static int LIST_TABLE_1_LIGHT_ACCENT_1
List Table 1 Light - Accent 1
LIST_TABLE_1_LIGHT_ACCENT_2
public static int LIST_TABLE_1_LIGHT_ACCENT_2
List Table 1 Light - Accent 2
LIST_TABLE_1_LIGHT_ACCENT_3
public static int LIST_TABLE_1_LIGHT_ACCENT_3
List Table 1 Light - Accent 3
LIST_TABLE_1_LIGHT_ACCENT_4
public static int LIST_TABLE_1_LIGHT_ACCENT_4
List Table 1 Light - Accent 4
LIST_TABLE_1_LIGHT_ACCENT_5
public static int LIST_TABLE_1_LIGHT_ACCENT_5
List Table 1 Light - Accent 5
LIST_TABLE_1_LIGHT_ACCENT_6
public static int LIST_TABLE_1_LIGHT_ACCENT_6
List Table 1 Light - Accent 6
LIST_TABLE_2
public static int LIST_TABLE_2
List Table 2
LIST_TABLE_2_ACCENT_1
public static int LIST_TABLE_2_ACCENT_1
List Table 2 - Accent 1
LIST_TABLE_2_ACCENT_2
public static int LIST_TABLE_2_ACCENT_2
List Table 2 - Accent 2
LIST_TABLE_2_ACCENT_3
public static int LIST_TABLE_2_ACCENT_3
List Table 2 - Accent 3
LIST_TABLE_2_ACCENT_4
public static int LIST_TABLE_2_ACCENT_4
List Table 2 - Accent 4
LIST_TABLE_2_ACCENT_5
public static int LIST_TABLE_2_ACCENT_5
List Table 2 - Accent 5
LIST_TABLE_2_ACCENT_6
public static int LIST_TABLE_2_ACCENT_6
List Table 2 - Accent 6
LIST_TABLE_3
public static int LIST_TABLE_3
List Table 3
LIST_TABLE_3_ACCENT_1
public static int LIST_TABLE_3_ACCENT_1
List Table 3 - Accent 1
LIST_TABLE_3_ACCENT_2
public static int LIST_TABLE_3_ACCENT_2
List Table 3 - Accent 2
LIST_TABLE_3_ACCENT_3
public static int LIST_TABLE_3_ACCENT_3
List Table 3 - Accent 3
LIST_TABLE_3_ACCENT_4
public static int LIST_TABLE_3_ACCENT_4
List Table 3 - Accent 4
LIST_TABLE_3_ACCENT_5
public static int LIST_TABLE_3_ACCENT_5
List Table 3 - Accent 5
LIST_TABLE_3_ACCENT_6
public static int LIST_TABLE_3_ACCENT_6
List Table 3 - Accent 6
LIST_TABLE_4
public static int LIST_TABLE_4
List Table 4
LIST_TABLE_4_ACCENT_1
public static int LIST_TABLE_4_ACCENT_1
List Table 4 - Accent 1
LIST_TABLE_4_ACCENT_2
public static int LIST_TABLE_4_ACCENT_2
List Table 4 - Accent 2
LIST_TABLE_4_ACCENT_3
public static int LIST_TABLE_4_ACCENT_3
List Table 4 - Accent 3
LIST_TABLE_4_ACCENT_4
public static int LIST_TABLE_4_ACCENT_4
List Table 4 - Accent 4
LIST_TABLE_4_ACCENT_5
public static int LIST_TABLE_4_ACCENT_5
List Table 4 - Accent 5
LIST_TABLE_4_ACCENT_6
public static int LIST_TABLE_4_ACCENT_6
List Table 4 - Accent 6
LIST_TABLE_5_DARK
public static int LIST_TABLE_5_DARK
List Table 5 Dark
LIST_TABLE_5_DARK_ACCENT_1
public static int LIST_TABLE_5_DARK_ACCENT_1
List Table 5 Dark - Accent 1
LIST_TABLE_5_DARK_ACCENT_2
public static int LIST_TABLE_5_DARK_ACCENT_2
List Table 5 Dark - Accent 2
LIST_TABLE_5_DARK_ACCENT_3
public static int LIST_TABLE_5_DARK_ACCENT_3
List Table 5 Dark - Accent 3
LIST_TABLE_5_DARK_ACCENT_4
public static int LIST_TABLE_5_DARK_ACCENT_4
List Table 5 Dark - Accent 4
LIST_TABLE_5_DARK_ACCENT_5
public static int LIST_TABLE_5_DARK_ACCENT_5
List Table 5 Dark - Accent 5
LIST_TABLE_5_DARK_ACCENT_6
public static int LIST_TABLE_5_DARK_ACCENT_6
List Table 5 Dark - Accent 6
LIST_TABLE_6_COLORFUL
public static int LIST_TABLE_6_COLORFUL
List Table 6 Colorful
LIST_TABLE_6_COLORFUL_ACCENT_1
public static int LIST_TABLE_6_COLORFUL_ACCENT_1
List Table 6 Colorful - Accent 1
LIST_TABLE_6_COLORFUL_ACCENT_2
public static int LIST_TABLE_6_COLORFUL_ACCENT_2
List Table 6 Colorful - Accent 2
LIST_TABLE_6_COLORFUL_ACCENT_3
public static int LIST_TABLE_6_COLORFUL_ACCENT_3
List Table 6 Colorful - Accent 3
LIST_TABLE_6_COLORFUL_ACCENT_4
public static int LIST_TABLE_6_COLORFUL_ACCENT_4
List Table 6 Colorful - Accent 4
LIST_TABLE_6_COLORFUL_ACCENT_5
public static int LIST_TABLE_6_COLORFUL_ACCENT_5
List Table 6 Colorful - Accent 5
LIST_TABLE_6_COLORFUL_ACCENT_6
public static int LIST_TABLE_6_COLORFUL_ACCENT_6
List Table 6 Colorful - Accent 6
LIST_TABLE_7_COLORFUL
public static int LIST_TABLE_7_COLORFUL
List Table 7 Colorful
LIST_TABLE_7_COLORFUL_ACCENT_1
public static int LIST_TABLE_7_COLORFUL_ACCENT_1
List Table 7 Colorful - Accent 1
LIST_TABLE_7_COLORFUL_ACCENT_2
public static int LIST_TABLE_7_COLORFUL_ACCENT_2
List Table 7 Colorful - Accent 2
LIST_TABLE_7_COLORFUL_ACCENT_3
public static int LIST_TABLE_7_COLORFUL_ACCENT_3
List Table 7 Colorful - Accent 3
LIST_TABLE_7_COLORFUL_ACCENT_4
public static int LIST_TABLE_7_COLORFUL_ACCENT_4
List Table 7 Colorful - Accent 4
LIST_TABLE_7_COLORFUL_ACCENT_5
public static int LIST_TABLE_7_COLORFUL_ACCENT_5
List Table 7 Colorful - Accent 5
LIST_TABLE_7_COLORFUL_ACCENT_6
public static int LIST_TABLE_7_COLORFUL_ACCENT_6
List Table 7 Colorful - Accent 6
MACRO
public static int MACRO
MEDIUM_GRID_1
public static int MEDIUM_GRID_1
MEDIUM_GRID_1_ACCENT_1
public static int MEDIUM_GRID_1_ACCENT_1
MEDIUM_GRID_1_ACCENT_2
public static int MEDIUM_GRID_1_ACCENT_2
MEDIUM_GRID_1_ACCENT_3
public static int MEDIUM_GRID_1_ACCENT_3
MEDIUM_GRID_1_ACCENT_4
public static int MEDIUM_GRID_1_ACCENT_4
MEDIUM_GRID_1_ACCENT_5
public static int MEDIUM_GRID_1_ACCENT_5
MEDIUM_GRID_1_ACCENT_6
public static int MEDIUM_GRID_1_ACCENT_6
MEDIUM_GRID_2
public static int MEDIUM_GRID_2
MEDIUM_GRID_2_ACCENT_1
public static int MEDIUM_GRID_2_ACCENT_1
MEDIUM_GRID_2_ACCENT_2
public static int MEDIUM_GRID_2_ACCENT_2
MEDIUM_GRID_2_ACCENT_3
public static int MEDIUM_GRID_2_ACCENT_3
MEDIUM_GRID_2_ACCENT_4
public static int MEDIUM_GRID_2_ACCENT_4
MEDIUM_GRID_2_ACCENT_5
public static int MEDIUM_GRID_2_ACCENT_5
MEDIUM_GRID_2_ACCENT_6
public static int MEDIUM_GRID_2_ACCENT_6
MEDIUM_GRID_3
public static int MEDIUM_GRID_3
MEDIUM_GRID_3_ACCENT_1
public static int MEDIUM_GRID_3_ACCENT_1
MEDIUM_GRID_3_ACCENT_2
public static int MEDIUM_GRID_3_ACCENT_2
MEDIUM_GRID_3_ACCENT_3
public static int MEDIUM_GRID_3_ACCENT_3
MEDIUM_GRID_3_ACCENT_4
public static int MEDIUM_GRID_3_ACCENT_4
MEDIUM_GRID_3_ACCENT_5
public static int MEDIUM_GRID_3_ACCENT_5
MEDIUM_GRID_3_ACCENT_6
public static int MEDIUM_GRID_3_ACCENT_6
MEDIUM_LIST_1
public static int MEDIUM_LIST_1
MEDIUM_LIST_1_ACCENT_1
public static int MEDIUM_LIST_1_ACCENT_1
MEDIUM_LIST_1_ACCENT_2
public static int MEDIUM_LIST_1_ACCENT_2
MEDIUM_LIST_1_ACCENT_3
public static int MEDIUM_LIST_1_ACCENT_3
MEDIUM_LIST_1_ACCENT_4
public static int MEDIUM_LIST_1_ACCENT_4
MEDIUM_LIST_1_ACCENT_5
public static int MEDIUM_LIST_1_ACCENT_5
MEDIUM_LIST_1_ACCENT_6
public static int MEDIUM_LIST_1_ACCENT_6
MEDIUM_LIST_2
public static int MEDIUM_LIST_2
MEDIUM_LIST_2_ACCENT_1
public static int MEDIUM_LIST_2_ACCENT_1
MEDIUM_LIST_2_ACCENT_2
public static int MEDIUM_LIST_2_ACCENT_2
MEDIUM_LIST_2_ACCENT_3
public static int MEDIUM_LIST_2_ACCENT_3
MEDIUM_LIST_2_ACCENT_4
public static int MEDIUM_LIST_2_ACCENT_4
MEDIUM_LIST_2_ACCENT_5
public static int MEDIUM_LIST_2_ACCENT_5
MEDIUM_LIST_2_ACCENT_6
public static int MEDIUM_LIST_2_ACCENT_6
MEDIUM_SHADING_1
public static int MEDIUM_SHADING_1
MEDIUM_SHADING_1_ACCENT_1
public static int MEDIUM_SHADING_1_ACCENT_1
MEDIUM_SHADING_1_ACCENT_2
public static int MEDIUM_SHADING_1_ACCENT_2
MEDIUM_SHADING_1_ACCENT_3
public static int MEDIUM_SHADING_1_ACCENT_3
MEDIUM_SHADING_1_ACCENT_4
public static int MEDIUM_SHADING_1_ACCENT_4
MEDIUM_SHADING_1_ACCENT_5
public static int MEDIUM_SHADING_1_ACCENT_5
MEDIUM_SHADING_1_ACCENT_6
public static int MEDIUM_SHADING_1_ACCENT_6
MEDIUM_SHADING_2
public static int MEDIUM_SHADING_2
MEDIUM_SHADING_2_ACCENT_1
public static int MEDIUM_SHADING_2_ACCENT_1
MEDIUM_SHADING_2_ACCENT_2
public static int MEDIUM_SHADING_2_ACCENT_2
MEDIUM_SHADING_2_ACCENT_3
public static int MEDIUM_SHADING_2_ACCENT_3
MEDIUM_SHADING_2_ACCENT_4
public static int MEDIUM_SHADING_2_ACCENT_4
MEDIUM_SHADING_2_ACCENT_5
public static int MEDIUM_SHADING_2_ACCENT_5
MEDIUM_SHADING_2_ACCENT_6
public static int MEDIUM_SHADING_2_ACCENT_6
MENTION
public static int MENTION
The Mention style.
MESSAGE_HEADER
public static int MESSAGE_HEADER
NIL
public static int NIL
Reserved for internal use.
NORMAL
public static int NORMAL
The Normal style.
NORMAL_INDENT
public static int NORMAL_INDENT
The Normal Indent style.
NORMAL_WEB
public static int NORMAL_WEB
NOTE_HEADING
public static int NOTE_HEADING
NO_LIST
public static int NO_LIST
NO_SPACING
public static int NO_SPACING
OUTLINE_LIST_1
public static int OUTLINE_LIST_1
The 1 / a / i style.
OUTLINE_LIST_2
public static int OUTLINE_LIST_2
The 1 / 1.1 / 1.1.1 style.
OUTLINE_LIST_3
public static int OUTLINE_LIST_3
The Article / Section style.
PAGE_NUMBER
public static int PAGE_NUMBER
The Page Number style.
PLACEHOLDER_TEXT
public static int PLACEHOLDER_TEXT
PLAIN_TABLE_1
public static int PLAIN_TABLE_1
Plain Table 1
PLAIN_TABLE_2
public static int PLAIN_TABLE_2
Plain Table 2
PLAIN_TABLE_3
public static int PLAIN_TABLE_3
Plain Table 3
PLAIN_TABLE_4
public static int PLAIN_TABLE_4
Plain Table 4
PLAIN_TABLE_5
public static int PLAIN_TABLE_5
Plain Table 5
PLAIN_TEXT
public static int PLAIN_TEXT
QUOTE
public static int QUOTE
REVISION
public static int REVISION
SALUTATION
public static int SALUTATION
SIGNATURE
public static int SIGNATURE
SMART_HYPERLINK
public static int SMART_HYPERLINK
The SmartHyperlink style.
SMART_LINK
public static int SMART_LINK
The Smart Link style.
STRONG
public static int STRONG
SUBTITLE
public static int SUBTITLE
SUBTLE_EMPHASIS
public static int SUBTLE_EMPHASIS
SUBTLE_REFERENCE
public static int SUBTLE_REFERENCE
TABLE_3_D_EFFECTS_1
public static int TABLE_3_D_EFFECTS_1
TABLE_3_D_EFFECTS_2
public static int TABLE_3_D_EFFECTS_2
TABLE_3_D_EFFECTS_3
public static int TABLE_3_D_EFFECTS_3
TABLE_CLASSIC_1
public static int TABLE_CLASSIC_1
TABLE_CLASSIC_2
public static int TABLE_CLASSIC_2
TABLE_CLASSIC_3
public static int TABLE_CLASSIC_3
TABLE_CLASSIC_4
public static int TABLE_CLASSIC_4
TABLE_COLORFUL_1
public static int TABLE_COLORFUL_1
TABLE_COLORFUL_2
public static int TABLE_COLORFUL_2
TABLE_COLORFUL_3
public static int TABLE_COLORFUL_3
TABLE_COLUMNS_1
public static int TABLE_COLUMNS_1
TABLE_COLUMNS_2
public static int TABLE_COLUMNS_2
TABLE_COLUMNS_3
public static int TABLE_COLUMNS_3
TABLE_COLUMNS_4
public static int TABLE_COLUMNS_4
TABLE_COLUMNS_5
public static int TABLE_COLUMNS_5
TABLE_CONTEMPORARY
public static int TABLE_CONTEMPORARY
TABLE_ELEGANT
public static int TABLE_ELEGANT
TABLE_GRID
public static int TABLE_GRID
TABLE_GRID_1
public static int TABLE_GRID_1
TABLE_GRID_2
public static int TABLE_GRID_2
TABLE_GRID_3
public static int TABLE_GRID_3
TABLE_GRID_4
public static int TABLE_GRID_4
TABLE_GRID_5
public static int TABLE_GRID_5
TABLE_GRID_6
public static int TABLE_GRID_6
TABLE_GRID_7
public static int TABLE_GRID_7
TABLE_GRID_8
public static int TABLE_GRID_8
TABLE_GRID_LIGHT
public static int TABLE_GRID_LIGHT
Table Grid Light
TABLE_LIST_1
public static int TABLE_LIST_1
TABLE_LIST_2
public static int TABLE_LIST_2
TABLE_LIST_3
public static int TABLE_LIST_3
TABLE_LIST_4
public static int TABLE_LIST_4
TABLE_LIST_5
public static int TABLE_LIST_5
TABLE_LIST_6
public static int TABLE_LIST_6
TABLE_LIST_7
public static int TABLE_LIST_7
TABLE_LIST_8
public static int TABLE_LIST_8
TABLE_NORMAL
public static int TABLE_NORMAL
TABLE_OF_AUTHORITIES
public static int TABLE_OF_AUTHORITIES
TABLE_OF_FIGURES
public static int TABLE_OF_FIGURES
The Table of Figures style.
TABLE_PROFESSIONAL
public static int TABLE_PROFESSIONAL
TABLE_SIMPLE_1
public static int TABLE_SIMPLE_1
TABLE_SIMPLE_2
public static int TABLE_SIMPLE_2
TABLE_SIMPLE_3
public static int TABLE_SIMPLE_3
TABLE_SUBTLE_1
public static int TABLE_SUBTLE_1
TABLE_SUBTLE_2
public static int TABLE_SUBTLE_2
TABLE_THEME
public static int TABLE_THEME
TABLE_WEB_1
public static int TABLE_WEB_1
TABLE_WEB_2
public static int TABLE_WEB_2
TABLE_WEB_3
public static int TABLE_WEB_3
TITLE
public static int TITLE
The Title style.
TOA_HEADING
public static int TOA_HEADING
TOC_1
public static int TOC_1
TOC_2
public static int TOC_2
TOC_3
public static int TOC_3
TOC_4
public static int TOC_4
TOC_5
public static int TOC_5
TOC_6
public static int TOC_6
TOC_7
public static int TOC_7
TOC_8
public static int TOC_8
TOC_9
public static int TOC_9
TOC_HEADING
public static int TOC_HEADING
UNRESOLVED_MENTION
public static int UNRESOLVED_MENTION
The UnresolvedMention style.
USER
public static int USER
A user defined style.
length
public static int length
fromName(String styleIdentifierName)
public static int fromName(String styleIdentifierName)
Parameters:
Parameter | Type | Description |
---|---|---|
styleIdentifierName | java.lang.String |
Returns: int
getName(int styleIdentifier)
public static String getName(int styleIdentifier)
Parameters:
Parameter | Type | Description |
---|---|---|
styleIdentifier | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int styleIdentifier)
public static String toString(int styleIdentifier)
Parameters:
Parameter | Type | Description |
---|---|---|
styleIdentifier | int |
Returns: java.lang.String