BaseExtensions can be used to find the page number at active page and then set a "start numbering at". Here, the user will be prompted with a box where it can be defined which number the active page should start at. Furthermore, we are able to reset the manual override, and thus resetting the page number to continue from previous count.
Module is located here:
...\ModuleLibrary\BaseExtensions\01_nocontext_Tools\72_W_setResetPageNumber.xml
CMD
<Cmd case="BaseExtensions:pagenumber-startat-continue"/>
Parameter
continue
If the command should enable the user to set a "start numbering at", define this parameter to be false
. This will insert a section break and then prompt a box, where the user must specify which number to restart page number at. If the command should work as a reset button, define this parameter to be true
. This will reset the page number to continue from previous count.
continue-on-next
Define this to be true
if command should set page numbering for the following page to continue current count. This is especially well-used in conjunction with insertion of landscape pages and other commands that will insert section breaks.
save-to-doc-prop
Optional. Defining this to be true
will write three different custom properties to the document which can be used for calculating alternative page numbering. These custom properties are RestartAt, TotalPages and RestartAtActivePageNumber.
doc-prop-name
Optional. This is the document property name that will be created or updated during the logic run. If not defined "RestartAt" will be spawned as default.
Comments
0 comments
Article is closed for comments.