page-number-format
The format string that should be used for page numbers. Page numbers can be placed on area-header or area-footer depending on their content setting. Use ‘%p’ as placeholder for page numbers. The actual placeholder content depend on the page-number-style. Use ‘%%’ to generate a single % character.
Availability
Available in: Document Settings
Type
Default value
%p
Inherited
Yes.
Example
// Show "- 1 -", "- 2 -" in the footer area of a page.
document-settings {
page-number-format: "- %p -"
page-number-style: decimal
}
area-footer {
content: page-number
text-alignment: center
}