Forum


Replies: 6   Views: 3704
Adddocx() function and external document settings
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  · 22-04-2012 - 22:01

Hi,

Is there an option to keep the settings of the external document imported ?

For instance, I have a Word document in a landscape mode. If I use the addDOCX() function, all settings of my external document are lost (orient, top, left, etc.) and the formatting is bad in my current document.

Thanks

Posted by admin  · 11-04-2013 - 12:13

Hello,

Sorry, but the working version of phpdocx doesn't keep styles and settings from a embeded document. We are working on it.

Regards.

Posted by _pierrick_  · 11-04-2013 - 12:13

Is it fix in version 3.0 ?

Posted by admin  · 11-04-2013 - 12:13

Hello,

Yes, you must use mergeDOCX method.

Regards.

Posted by charles  · 27-12-2013 - 05:30

Hi,



How do i merge more than two docx?



Thanks


Posted by jorgelj  · 27-12-2013 - 10:04

Hello,



There's a multimerge in progress but meanwhile you can merge two documents, and merge the result with a new document.



Regards.