Replies: 2   Views: 3849
Calculating number of pages in a document
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 webdzinez  · 02-12-2013 - 15:55

HI, wasnt sure where to post this question. In my implementation we are storing the path to PHPDOCX generated documents in a DB and need to store numbe of pages as well. Also if number of pages generated in a document is more than 3, then user creating document should receive a warning (before the document gets generated).

Is there any way to count the number of pages generated in a word document?