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.
I'm using phpdocx to insert some HTML into a Word document. Most of the document is in portrait, but the page that I want to insert the HTML on is in landscape. When I insert the HTML, PHPDOCX changes the orientation of the page.
How can I prevent this behaviour occuring?
You can use modifyPageLayout method to change paper type and other options related to page layout.