com.aspose.words
Class StoryType

java.lang.Object
    extended by com.aspose.words.StoryType

public class StoryType 
extends java.lang.Object

Utility class containing constants. Text of a Word document is stored in stories. StoryType identifies a story.

Field Summary
static final intMAIN_TEXT
           Contains the main text of the document, represented by Body.
static final intFOOTNOTES
           Contains footnote text, represented by Footnote.
static final intENDNOTES
           Contains endnotes text, represented by Footnote.
static final intCOMMENTS
           Contains document comments (annotations), represented by Comment.
static final intTEXTBOX
           Contains shape or textbox text, represented by Shape.
static final intEVEN_PAGES_HEADER
           Contains text of the even pages header, represented by HeaderFooter.
static final intPRIMARY_HEADER
           Contains text of the primary header. When header is different for odd and even pages, contains text of the odd pages header. Represented by HeaderFooter.
static final intEVEN_PAGES_FOOTER
           Contains text of the even pages footer, represented by HeaderFooter.
static final intPRIMARY_FOOTER
           Contains text of the primary footer. When footer is different for odd and even pages, contains text of the odd pages footer. Represented by HeaderFooter.
static final intFIRST_PAGE_HEADER
           Contains text of the first page header, represented by HeaderFooter.
static final intFIRST_PAGE_FOOTER
           Contains text of the first page footer, represented by HeaderFooter.
 

Field Detail

MAIN_TEXT

public static final int MAIN_TEXT
Contains the main text of the document, represented by Body.

FOOTNOTES

public static final int FOOTNOTES
Contains footnote text, represented by Footnote.

ENDNOTES

public static final int ENDNOTES
Contains endnotes text, represented by Footnote.

COMMENTS

public static final int COMMENTS
Contains document comments (annotations), represented by Comment.

TEXTBOX

public static final int TEXTBOX
Contains shape or textbox text, represented by Shape.

EVEN_PAGES_HEADER

public static final int EVEN_PAGES_HEADER
Contains text of the even pages header, represented by HeaderFooter.

PRIMARY_HEADER

public static final int PRIMARY_HEADER
Contains text of the primary header. When header is different for odd and even pages, contains text of the odd pages header. Represented by HeaderFooter.

EVEN_PAGES_FOOTER

public static final int EVEN_PAGES_FOOTER
Contains text of the even pages footer, represented by HeaderFooter.

PRIMARY_FOOTER

public static final int PRIMARY_FOOTER
Contains text of the primary footer. When footer is different for odd and even pages, contains text of the odd pages footer. Represented by HeaderFooter.

FIRST_PAGE_HEADER

public static final int FIRST_PAGE_HEADER
Contains text of the first page header, represented by HeaderFooter.

FIRST_PAGE_FOOTER

public static final int FIRST_PAGE_FOOTER
Contains text of the first page footer, represented by HeaderFooter.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.