ChapterPageSeparator enumeration

ChapterPageSeparator enumeration

Defines the separator character that appears between the chapter and page number.


Name Description
HYPHEN A colon.
PERIOD A period.
COLON A colon.
EM_DASH An emphasized dash.
EN_DASH A standard dash.


Shows how to work with page chapters.

doc = aw.Document(MY_DIR + "Big document.docx")
page_setup = doc.first_section.page_setup
page_setup.page_number_style = aw.NumberStyle.UPPERCASE_ROMAN
page_setup.chapter_page_separator = aw.ChapterPageSeparator.COLON
page_setup.heading_level_for_chapter = 1

See Also