BaseExtensions can be used to change the format of page numbering in a document, adding/removing chapter number and changing between the available Number Formats. The parameters of these features correspond directly to the native Word "Page Number Format" options.
The remainder of the options in this dialog can be accessed using our set and reset page number (W) feature.
Page Number Style
Allows us to define the numbering style that should be applied in either the current section of the document, the current section plus all subsequent sections or the entire document.
Required. Defines the format of the page numbering. Accepts any values from this list.
currentselection applies the command ONLY to the section the cursor is in.
selectiontoEnd applies the command to the section the cursor is in plus all subsequent sections.
document applies the command to the entire document.
Sets the chapter number on the currently selected section of a document. Chapter numbers add the number from the previous instance of a heading style in the document before the standard page number. More on this can be found here.
Defined as an integer between 1-9, corresponding to the desired heading level the chapter number should use.
Defined as any WdSeparatorType found here. Represents the character used to separate the chapter number from the page number.
Defined as any WdPageNumberStyle found here. Represents the type of number style that should be used on the page number as described in the linked article.
Optional. Allows chapter numbering to be turned off
false or on