Forum


Replies: 2   Views: 3821
Wrong footer position in pdf
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 csesagl  · 07-04-2014 - 11:28

Hello,



we have a problem with the footer position during in the pdf file.



We have these lines for page layout:

$docx->modifyPageLayout('A4', array("marginTop" => 2520,

                                            "marginLeft" => 1120, 

                                            "marginRight" => 840,

                                            "marginFooter" => 0, 

                                            "marginBottom" => 0));



In the docx file the footer is perfect, but in the pdf is always too high. 

We tried to set "marginFooter" => 1, "marginBottom" => 1 but nothing changes.



We use Debian squeeze with OpenOffice 4 (tried also with 3.4).