Forum


Replies: 6   Views: 3517
Style import
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 admin  · 11-04-2013 - 12:13

have you checked the example provided: http://www.phpdocx.com/showCode.php?dir=easy&file=importWordStyles.php

I think the problem comes from the fact that you have to introduce the id and not the name in the importStyles method (check the code that is given with parseStyles)....we have used the name and not the id from the impotation because is the one shown in the Word interface.....although we recognise that the process is a little convoluted :-)

If you continue to have an error importing the styles...could you please send the corresponding Word file and script to contact?