Synopsis:
Sometimes you need to insert the current page number related to the last page of your document. How can you do this using XF Designer 2011?
Answer:
If you need the page number to be displayed on every page you need to insert it in header or footer regions. In order to view the page number related to the last page insert page count too. You can do these both using the Insert tab. First insert the Page Number then insert the Page Count.
Below you can see an example with page number and page count inserted in footer region:
Design View:
Print Layout:
|
You can do this from XML too by using fo:page-number and fo:page-number-citation:
<fo:static-content flow-name="xsl-region-after" font-size="12pt" font-family="Times">
<fo:block>
<fo:page-number format="1"/>/<fo:page-number-citation format="1" ref-id="xf#theEnd"/>
</fo:block>
</fo:static-content>