Aspose::Words::Notes::FootnoteSeparatorType enum

FootnoteSeparatorType enum

Specifies the type of the footnote/endnote separator.

enum class FootnoteSeparatorType

Values

NameValueDescription
FootnoteSeparator0Separator between main text and footnote text.
FootnoteContinuationSeparator1Printed above footnote text on a page when the text must be continued from a previous page.
FootnoteContinuationNotice2Printed below footnote text on a page when footnote text must be continued on a succeeding page.
EndnoteSeparator3Separator between main text and endnote text.
EndnoteContinuationSeparator4Printed above endnote text on a page when the text must be continued from a previous page.
EndnoteContinuationNotice5Printed below endnote text on a page when endnote text must be continued on a succeeding page.

Examples

Shows how to remove endnote separator.

auto doc = System::MakeObject<Aspose::Words::Document>(get_MyDir() + u"Footnotes and endnotes.docx");

System::SharedPtr<Aspose::Words::Notes::FootnoteSeparator> endnoteSeparator = doc->get_FootnoteSeparators()->idx_get(Aspose::Words::Notes::FootnoteSeparatorType::EndnoteSeparator);
// Remove endnote separator.
endnoteSeparator->get_FirstParagraph()->get_FirstChild()->Remove();

Shows how to manage footnote separator format.

auto doc = System::MakeObject<Aspose::Words::Document>(get_MyDir() + u"Footnotes and endnotes.docx");

System::SharedPtr<Aspose::Words::Notes::FootnoteSeparator> footnoteSeparator = doc->get_FootnoteSeparators()->idx_get(Aspose::Words::Notes::FootnoteSeparatorType::FootnoteSeparator);
// Align footnote separator.
footnoteSeparator->get_FirstParagraph()->get_ParagraphFormat()->set_Alignment(Aspose::Words::ParagraphAlignment::Center);

See Also