I would still personally use something like Jakarta POI to read in the Word doc and then extract what I need into xml (I use EXML) and then use XSL:FO (Fop) to create the PDF. jaseb
----- Original Message ----- From: "Juan de Castro Paredes" <[EMAIL PROTECTED]> To: "JDJList" <[EMAIL PROTECTED]> Sent: Friday, February 07, 2003 9:59 AM Subject: [jdjlist] Re: Word to PDF | Hi all, | | thanks in advance for your recommendations. | | Let me explain the concrete purpose of the application. What I have to do | is a java program that will be accessed through a web application, where | users may upload a word file and the application would convert it to pdf and | show a link in the web in order to be "downloadable" (the pdf). | | Hope this explains the original requirement. | | Thanks again, | | Juan | | | -----Mensaje original----- | De: James Huang [mailto:[EMAIL PROTECTED]] | Enviado el: viernes, 07 de febrero de 2003 1:47 | Para: JDJList | Asunto: [jdjlist] Re: Word to PDF | | | | >From: David Rosenstrauch <[EMAIL PROTECTED]> | >Reply-To: "JDJList" <[EMAIL PROTECTED]> | >To: "JDJList" <[EMAIL PROTECTED]> | >Subject: [jdjlist] Re: Word to PDF | >Date: Thu, 6 Feb 2003 16:24:55 -0500 | > | >On Thursday 06 February 2003 03:23 pm, you wrote: | > > With an RTF grammar, parsing is easy with JavaCC as long as one knows | > > JavaCC. But you don't expect everyone to understand RTF and produce | > > meaningful XML document, do you? Are you talking about a one-time task | >or a | > > product idea? | > | > | >I wasn't expecting anything. He asked a question; I answered with a few | >workable technical solutions, JavaCC being one of them. Depending on how | >technical the guy is, and what he needs to do, this may or may not be a | >workable solution for him. It's up to him to decide. | > | | Even if you are highly technical, getting to the details of the input RTF | format and the expected output XML format, that's a lot! If somebody want to | do a RTF->PDF conversion, a PDF printer driver may be the shortcut, but I am | not exactly sure of the original requirement. | | > | >DR | > | > | >____________________________________________________ | >To change your JDJList options, please visit: | >http://www.sys-con.com/java/list.cfm | > | >Be respectful! Clean up your posts before replying | >____________________________________________________ | | | _________________________________________________________________ | Add photos to your e-mail with MSN 8. Get 2 months FREE*. | http://join.msn.com/?page=features/featuredemail | | | ____________________________________________________ | To change your JDJList options, please visit: | http://www.sys-con.com/java/list.cfm | | Be respectful! Clean up your posts before replying | ____________________________________________________ | | | ____________________________________________________ | To change your JDJList options, please visit: | http://www.sys-con.com/java/list.cfm | | Be respectful! Clean up your posts before replying | ____________________________________________________ ____________________________________________________ To change your JDJList options, please visit: http://www.sys-con.com/java/list.cfm Be respectful! Clean up your posts before replying ____________________________________________________
