FootnoteSeparatorType
Contents
[
Hide
]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
Field | Description |
---|---|
ENDNOTE_CONTINUATION_NOTICE | Printed below endnote text on a page when endnote text must be continued on a succeeding page. |
ENDNOTE_CONTINUATION_SEPARATOR | Printed above endnote text on a page when the text must be continued from a previous page. |
ENDNOTE_SEPARATOR | Separator between main text and endnote text. |
FOOTNOTE_CONTINUATION_NOTICE | Printed below footnote text on a page when footnote text must be continued on a succeeding page. |
FOOTNOTE_CONTINUATION_SEPARATOR | Printed above footnote text on a page when the text must be continued from a previous page. |
FOOTNOTE_SEPARATOR | Separator between main text and footnote text. |
length |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
footnoteSeparatorTypeName | java.lang.String |
Returns: int
getName(int footnoteSeparatorType)
public static String getName(int footnoteSeparatorType)
Parameters:
Parameter | Type | Description |
---|---|---|
footnoteSeparatorType | int |
Returns: java.lang.String
getValues()
public static int[] getValues()
Returns: int[]
toString(int footnoteSeparatorType)
public static String toString(int footnoteSeparatorType)
Parameters:
Parameter | Type | Description |
---|---|---|
footnoteSeparatorType | int |
Returns: java.lang.String