FootnoteSeparatorType

Inheritance: java.lang.Object

public class FootnoteSeparatorType

Specifies the type of the footnote/endnote separator.

Examples:

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();
 

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);
 

Fields

FieldDescription
ENDNOTE_CONTINUATION_NOTICEPrinted below endnote text on a page when endnote text must be continued on a succeeding page.
ENDNOTE_CONTINUATION_SEPARATORPrinted above endnote text on a page when the text must be continued from a previous page.
ENDNOTE_SEPARATORSeparator between main text and endnote text.
FOOTNOTE_CONTINUATION_NOTICEPrinted below footnote text on a page when footnote text must be continued on a succeeding page.
FOOTNOTE_CONTINUATION_SEPARATORPrinted above footnote text on a page when the text must be continued from a previous page.
FOOTNOTE_SEPARATORSeparator between main text and footnote text.
length

Methods

MethodDescription
fromName(String footnoteSeparatorTypeName)
getName(int footnoteSeparatorType)
getValues()
toString(int footnoteSeparatorType)

ENDNOTE_CONTINUATION_NOTICE

public static int ENDNOTE_CONTINUATION_NOTICE

Printed below endnote text on a page when endnote text must be continued on a succeeding page.

ENDNOTE_CONTINUATION_SEPARATOR

public static int ENDNOTE_CONTINUATION_SEPARATOR

Printed above endnote text on a page when the text must be continued from a previous page.

ENDNOTE_SEPARATOR

public static int ENDNOTE_SEPARATOR

Separator between main text and endnote text.

FOOTNOTE_CONTINUATION_NOTICE

public static int FOOTNOTE_CONTINUATION_NOTICE

Printed below footnote text on a page when footnote text must be continued on a succeeding page.

FOOTNOTE_CONTINUATION_SEPARATOR

public static int FOOTNOTE_CONTINUATION_SEPARATOR

Printed above footnote text on a page when the text must be continued from a previous page.

FOOTNOTE_SEPARATOR

public static int FOOTNOTE_SEPARATOR

Separator between main text and footnote text.

length

public static int length

fromName(String footnoteSeparatorTypeName)

public static int fromName(String footnoteSeparatorTypeName)

Parameters:

ParameterTypeDescription
footnoteSeparatorTypeNamejava.lang.String

Returns: int

getName(int footnoteSeparatorType)

public static String getName(int footnoteSeparatorType)

Parameters:

ParameterTypeDescription
footnoteSeparatorTypeint

Returns: java.lang.String

getValues()

public static int[] getValues()

Returns: int[]

toString(int footnoteSeparatorType)

public static String toString(int footnoteSeparatorType)

Parameters:

ParameterTypeDescription
footnoteSeparatorTypeint

Returns: java.lang.String