if you install LibreOffice, it has a Java-based API you can use to control it and tell it to open files and to export them into any supported format including PDF. That should probably do what you need, but it will involve having either LibreOffice installed, so this cannot, for example, be bundled into an applet or downloadable application.
if you install LibreOffice, it has a Java-based API you can use to control it and tell it to open files and to export them into any supported format including PDF. That should probably do what you need, but it will involve having either LibreOffice installed, so this cannot, for example, be bundled into an applet or downloadable application.