Word to PDF api

Posted on 2007-04-04
Medium Priority
Last Modified: 2008-02-26
I need a java api that I can use to convert Word Documents to PDF on the fly.  I don't want to use POI or IText because I need it to support complex tables.  

Question by:rfulcher
LVL 10

Accepted Solution

ADSLMark earned 1000 total points
ID: 18854379
Do you need an API? You can also invoke a standalone program with Runtime.getRuntime.exec(...). If you know a Word to PDF converter which supports your complex tables.. then I would go for that, surely that program has a command line interface for batch-files for example.


Author Comment

ID: 18855277
Yes i need an api, I really will be streaming this to a web application and want everything contained in my app.
LVL 30

Expert Comment

by:Mayank S
ID: 18860812
If there are Word to PDF converters which can do it directly, then Java doesn't come into the picture in between them. You need a Java API if you want something to come between them, interpret the Word (say using Openoffice or POI) and then convert it to PDF (using say iText).
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.


Author Comment

ID: 18861489

Java does come into play because the application is a java based web application running on tomcat.
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 1000 total points
ID: 19011165
Yes, but the Java application can directly call the converter to do the conversion.

Expert Comment

ID: 20143930
Forced accept.

EE Admin

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This video teaches viewers about errors in exception handling.

587 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question