com.aspose.words
Class FootnoteSeparatorType

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

public class FootnoteSeparatorType 
extends java.lang.Object

Utility class containing constants. Specifies the type of the footnote/endnote separator.

Example:

Shows how to remove endnote separator.
Document doc = new Document(getMyDir() + "Footnotes and endnotes.docx");

FootnoteSeparator endnoteSeparator = doc.getFootnoteSeparators().getByFootnoteSeparatorType(FootnoteSeparatorType.ENDNOTE_SEPARATOR);
// Remove endnote separator.
endnoteSeparator.getFirstParagraph().getFirstChild().remove();

Example:

Shows how to manage footnote separator format.
Document doc = new Document(getMyDir() + "Footnotes and endnotes.docx");

FootnoteSeparator footnoteSeparator = doc.getFootnoteSeparators().getByFootnoteSeparatorType(FootnoteSeparatorType.FOOTNOTE_SEPARATOR);
// Align footnote separator.
footnoteSeparator.getFirstParagraph().getParagraphFormat().setAlignment(ParagraphAlignment.CENTER);

Field Summary
static final intFOOTNOTE_SEPARATOR = 0
           Separator between main text and footnote text.
static final intFOOTNOTE_CONTINUATION_SEPARATOR = 1
           Printed above footnote text on a page when the text must be continued from a previous page.
static final intFOOTNOTE_CONTINUATION_NOTICE = 2
           Printed below footnote text on a page when footnote text must be continued on a succeeding page.
static final intENDNOTE_SEPARATOR = 3
           Separator between main text and endnote text.
static final intENDNOTE_CONTINUATION_SEPARATOR = 4
           Printed above endnote text on a page when the text must be continued from a previous page.
static final intENDNOTE_CONTINUATION_NOTICE = 5
           Printed below endnote text on a page when endnote text must be continued on a succeeding page.
 

Field Detail

FOOTNOTE_SEPARATOR = 0

public static final int FOOTNOTE_SEPARATOR
Separator between main text and footnote text.

FOOTNOTE_CONTINUATION_SEPARATOR = 1

public static final int FOOTNOTE_CONTINUATION_SEPARATOR
Printed above footnote text on a page when the text must be continued from a previous page.

FOOTNOTE_CONTINUATION_NOTICE = 2

public static final int FOOTNOTE_CONTINUATION_NOTICE
Printed below footnote text on a page when footnote text must be continued on a succeeding page.

ENDNOTE_SEPARATOR = 3

public static final int ENDNOTE_SEPARATOR
Separator between main text and endnote text.

ENDNOTE_CONTINUATION_SEPARATOR = 4

public static final int ENDNOTE_CONTINUATION_SEPARATOR
Printed above endnote text on a page when the text must be continued from a previous page.

ENDNOTE_CONTINUATION_NOTICE = 5

public static final int ENDNOTE_CONTINUATION_NOTICE
Printed below endnote text on a page when endnote text must be continued on a succeeding page.

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