Forum


Replies: 1   Views: 4694
Possible to know if the current page is odd or even?
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 seb  · 20-08-2015 - 09:46

Hi, Is it possible for PHPDOCX to tell me if the current page is odd or even? When I've written some content to the buffer, I would like to know if I'm now on an even or odd page. Or maybe even what page number I'm on? Thank you, Seb

Posted by admin  · 20-08-2015 - 09:52

Hello, Due to how Word works it's not possible. The Word content is 'painted'/showed dinamically, so you don't know how many pages a document has until it's opened. Regards.