开发者

Any Java API available for office/pdf documents [closed]

开发者 https://www.devze.com 2023-03-26 02:17 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit d开发者_如
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit d开发者_如何学编程ebate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I'm manipulating following files in my application (android).

  1. Microsoft office files ( doc, docx, xls, xlsx, ppt and pptx)

  2. PDF files and

  3. XPS documents

I need the page numbers of these types of files. I could find jexcel API for MS-Excel files and iText for PDF.

Could you please suggest Java APIs for aforementioned file formats?

Thanks in advance!


  • Microsoft Office - http://poi.apache.org/
  • PDF - http://pdfbox.apache.org/
  • XPS - http://code.google.com/p/java-axp/


You may try Aspose.Total for Java to work with these files on Android. This package includes Aspose.Words for Java (for doc/docx), Aspose.Cells for Java (for xls/xlsx), Aspose.Slides for Java (for ppt/pptx), and Aspose.Pdf for Java, and Aspose.Pdf.Kit for Java (for PDF files). You may have a look into the features of these components in the related documentation.

Disclosure: I work as developer evangelist at Aspose.

0

精彩评论

暂无评论...
验证码 换一张
取 消