Forum


Replies: 8   Views: 4144
Add a pager in the footer
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by nicolas  · 05-09-2011 - 12:10

Hi,

I need a more advanced pager in the footer.

Indeed, we can only have the number of the current page, not [b]the total pages of a document[/b].

Moreover, the "pagerAlignment" argument can not be customized. I need to [b]write the number of the current page in a defined place[/b] on the page. The position should be set on the abscissa and ordinate.
I have the same need to write the number of total pages of a document.

So, four args should be addeed:
currentX: position (px)
currentY: position (px)
totalX: position (px)
totalY: position (px)

I am not the only one having this needs, see the comments of the addFooter method: http://www.phpdocx.com/documentation/add_footer_word_document

Best regards,