Replies: 3   Views: 3607
Fontsize pagenumbering doesn't work
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 jasonva  · 25-02-2014 - 11:48


Im trying to change the fontsize of the pagenumbering but it doesn't work. The workaround from the documentation doesn't work. Does anyone knows how to fix this problem?



Posted by jasonva  · 25-02-2014 - 12:07


The space behind the pagenumbering has the correct fontsize from the pagenumbering options, but the pagenumbering itself has the default fontsize.

Posted by jorgelj  · 26-02-2014 - 09:24


The easiest approach is to import an existing footer using the importHeadersAndFooters method, but the 'sz' parameter of addPageNumber should works too.

Please check included examples.