This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
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: 42955
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.
subject: API for file conversion?