StoryType
Overview
StoryType is an enum in Aspose.Words FOSS for Java.
Text of a Word document is stored in stories.
Edition status of its 23 listed members (a property and its accessor methods are listed separately, overloads once): 23 not yet exercised by a verified example.
This enum declares 4 methods for StoryType 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 |
|---|---|
NONE | Default value. |
MAIN_TEXT | Contains the main text of the document, represented by Body. |
FOOTNOTES | Contains footnote text, represented by Footnote. |
ENDNOTES | Contains endnotes text, represented by Footnote. |
COMMENTS | Contains document comments (annotations), represented by Comment. |
TEXTBOX | Contains shape or textbox text, represented by Shape. |
EVEN_PAGES_HEADER | Contains text of the even pages header, represented by HeaderFooter. |
PRIMARY_HEADER | Contains text of the primary header. |
EVEN_PAGES_FOOTER | Contains text of the even pages footer, represented by HeaderFooter. |
PRIMARY_FOOTER | Contains text of the primary footer. |
FIRST_PAGE_HEADER | Contains text of the first page header, represented by HeaderFooter. |
FIRST_PAGE_FOOTER | Contains text of the first page footer, represented by HeaderFooter. |
FOOTNOTE_SEPARATOR | Contains the text of the footnote separator. |
FOOTNOTE_CONTINUATION_SEPARATOR | Contains the text of the footnote continuation separator. |
FOOTNOTE_CONTINUATION_NOTICE | Contains the text of the footnote continuation notice separator. |
ENDNOTE_SEPARATOR | Contains the text of the endnote separator. |
ENDNOTE_CONTINUATION_SEPARATOR | Contains the text of the endnote continuation separator. |
ENDNOTE_CONTINUATION_NOTICE | Contains the text of the endnote continuation notice separator. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of StoryType values. |
Methods
| Signature | Description |
|---|---|
getName(storyType: int) → String | Returns JAVA_STYLE string representation of integer StoryType value. |
toString(storyType: int) → String | Returns DotNetStyle string representation of integer StoryType value. |
fromName(storyTypeName: String) → int | Returns integer representation by StoryType name. |
getValues() → int[] | Returns array of StoryType values. |