On Tue, 1 Jun 2010, Mr Zappee wrote:
This code does not throw any exception, but it is not working very well, because getPageCount() always return to 1. I tried it to lots of *.doc files, but the value of getPageCount was always 1.

I suspect that if you look in office, it'll show a pagecount of 1 too. HPSF only shows you the information that the application saved there as a cache, so you'll need to get office to update the properties before they'll hold something useful for your documents

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to