Replies: 1   Views: 713
How to add a5 page size option
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 seb  · 29-10-2020 - 15:04


I'm currently using Premium 10.0, and I have a requirement to make documents in A5 page size. I see this is not an option currently, but it looks like I could easily modify the /Classes/Phpdocx/Create/CreateDocx.php script to add this as an option. I already have all the dimensions and margins worked out, I just need a way of extending the page size options list.

Can you recomend a way I can add the A5 page size without directly modifying your source code please?

Thank you,