Friday, July 29, 2011

Add Page Numbers to a PDF Export

To add page numbers to a PDF export, enter the following code in the PDF Stylesheet:

     #pageNum:before
     {
     content: counter(page);
     }




















Access the PDF Layout section.























Enter code similar to following in the PDF Space Export Header or PDF Space Export Footer section of the PDF Layout:

     <div style="text-align:right;"><span id="pageNum"/></div>























To edit the PDF Stylesheet page, open the space then go to Browse > Space Admin > PDF Stylesheet > Edit button.

To edit the PDF Layout page, open the space then go to Browse > Space Admin > PDF Layout > Edit button.

________________________________________________________________

See the Editing the PDF Stylesheet page for more information.

No comments:

Post a Comment