Is it possible to get the number of pages in word document or number of slides in a ppt.
I have done a lot of research on it and i am desperately looking for solution. I saw that it is very difficult to get it done in PHP on linux server.
I would be ok with Java also, but is it possible. I checked the apache POI library, but would it work for both PPT, PPTX, doc and docx.
I am rigorously searching for some solution but i am unable to get one. Any help would be really really appreciated.
To get meta data properties of doc,docx,ppt and pptx like number of pages, number of slides **USING PHP**
i followed the following process and it worked liked charm and iam so happy, below is the process i followed , hope it helps someone
**Download and configure Apache Tika.**
once its done you could try executing the following commadn it will give all the meta data about your file
java -jar tika-app-1.5.jar -m test.docx
java -jar tika-app-1.5.jar -m test.doc
java -jar tika-app-1.5.jar -m test.pptx
java -jar tika-app-1.5.jar -m test.ppt
once tested you can execute this comman in PHP script. Thanks.