I want to find out the page count in any file (doc,ppt,pdf,image,etc...). Is there any universal API to deal with any file irrespective of the file extension.Its bit urgent. Please let me know your inputs on this. I had gone through iText API for converting the files into PDF. But I dont think so it converts any file into PDF.