Forum


Replies: 3   Views: 3755
Issues with wordfragment
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 Rapid4matting  · 18-09-2015 - 19:52

I am trying to add page numbers to the footer. But keep getting this error: Class 'WordFragment' not found whilst using this code: $numbering = new WordFragment($docx, 'defaultHeader'); Any ideas why?

Posted by admin  · 19-09-2015 - 07:11

Hello, The WordFragment class is only available in phpdocx 4. As you're using phpdocx 3.7 we recommend you to upgrade to the latest version. Regards.

Posted by Rapid4matting  · 20-09-2015 - 10:26

OK thanks, Is there anyway of adding page numbers in 3.7? Also is there any place which only shows tutorials for 3.7

Posted by admin  · 21-09-2015 - 07:01

Hello, You may find the phpdocx 3.7 documentation on: http://old.phpdocx.com Regards.