FootnoteSeparatorCollection class

FootnoteSeparatorCollection class

Provides typed access to FootnoteSeparator nodes of a document.

Constructors

NameDescription
FootnoteSeparatorCollection()The default constructor.

Methods

NameDescription
get_by_footnote_separator_type(separator_type)Retrieves a FootnoteSeparator of the specified type.

Examples

Shows how to manage footnote separator format.

doc = aw.Document(file_name=MY_DIR + 'Footnotes and endnotes.docx')
footnote_separator = doc.footnote_separators.get_by_footnote_separator_type(aw.notes.FootnoteSeparatorType.FOOTNOTE_SEPARATOR)
# Align footnote separator.
footnote_separator.first_paragraph.paragraph_format.alignment = aw.ParagraphAlignment.CENTER

See Also