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

ValueDescription
NONEDefault value.
MAIN_TEXTContains the main text of the document, represented by Body.
FOOTNOTESContains footnote text, represented by Footnote.
ENDNOTESContains endnotes text, represented by Footnote.
COMMENTSContains document comments (annotations), represented by Comment.
TEXTBOXContains shape or textbox text, represented by Shape.
EVEN_PAGES_HEADERContains text of the even pages header, represented by HeaderFooter.
PRIMARY_HEADERContains text of the primary header.
EVEN_PAGES_FOOTERContains text of the even pages footer, represented by HeaderFooter.
PRIMARY_FOOTERContains text of the primary footer.
FIRST_PAGE_HEADERContains text of the first page header, represented by HeaderFooter.
FIRST_PAGE_FOOTERContains text of the first page footer, represented by HeaderFooter.
FOOTNOTE_SEPARATORContains the text of the footnote separator.
FOOTNOTE_CONTINUATION_SEPARATORContains the text of the footnote continuation separator.
FOOTNOTE_CONTINUATION_NOTICEContains the text of the footnote continuation notice separator.
ENDNOTE_SEPARATORContains the text of the endnote separator.
ENDNOTE_CONTINUATION_SEPARATORContains the text of the endnote continuation separator.
ENDNOTE_CONTINUATION_NOTICEContains the text of the endnote continuation notice separator.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of StoryType values.

Methods

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

See Also