Unfortunately there is no information about how many pages a document has by PHPRtfLite. It will be calculated by the text viewer you use to open the rtf document.
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello sigmaz, is there a way to get the total number of pages of the entire document?
Regards
Unfortunately there is no information about how many pages a document has by PHPRtfLite. It will be calculated by the text viewer you use to open the rtf document.
Regards
Hi, in Element.php add this line in public static function convertTagsToRtf
Now, I can get The total number of pages and I can print "Page 1 of 56"
Last edit: Alex Mora 2013-07-03
Alex Mora: can you give sample how to use your additional script?