File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes API for file conversion? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "API for file conversion?" Watch "API for file conversion?" New topic

API for file conversion?

Jason Bock

Joined: Dec 27, 2008
Posts: 19
I'm interested in converting TXTs into PDF, DOC, or maybe even PPT
Are there any APIs that make this possible?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
DOC and PPT are supported by the Apache POI library, while for PDF there's iText. These are sizeable APIs, though - the code would have to deal with pages (or slides), paragraphs etc. See the iTextExample and CreateWordDocument samples in for an idea of how those libraries work.
I agree. Here's the link:
subject: API for file conversion?
It's not a secret anymore!