Insert automatic page numbers in headers and footers. Dynamic page numbering that updates as document changes, with total page count support.Documentation Index
Fetch the complete documentation index at: https://superdoc-nick-sd-2070-add-content-controls-namespace-to-doc.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
OOXML Structure
Use case
- Professional documents - Standard page numbering
- Reports - Page X of Y format
- Legal documents - Required pagination
- Print layouts - Automatic page tracking
- Dynamic updates - Numbers adjust as content changes
Options
Configure the extension behavior:HTML attributes for page number elements
Commands
addAutoPageNumber
Insert an automatic page number
Only works in header/footer contexts
Function Command function
addTotalPageCount
Insert total page count
Only works in header/footer contexts
Function Command function
Keyboard shortcuts
| Command | Shortcut | Description |
|---|---|---|
| addAutoPageNumber() | ⌘/Ctrl-Shift-Alt-p | Insert page number |
| addTotalPageCount() | ⌘/Ctrl-Shift-Alt-c | Insert total page count |

