Re: using FOP to convert RTF to FO
Hello, in fact, I would like to convert any RTF file (with embedded pictures for example) in FO file, then take them and merge them into one FO, then rework FO to add some text for example, and print it into PDF through FOP. Do you know any other free way to do this please ? I currently look at iText, but nothing until now... thanks for your help regards, Sareth -- View this message in context: http://apache-fop.1065347.n5.nabble.com/using-FOP-to-convert-RTF-to-FO-tp37464p37466.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: using FOP to convert RTF to FO
Hi Sareth, Are you sure you want to convert the RTF to DocBook, then to FO, then to PDF? To me, this would make sense only if you're planning to make changes to the combined file later on. If this is supposed to be a one-time conversion with no future edits of the docs, however, I'd suggest to open all the RTF in Libre Office (or any other office suite), make the necessary edits in Libre Office, and export the RTF to PDF with the built-in converter. Cheers, Stefan On 06.12.2012 16:51, sareth wrote: Hello, in fact, I would like to convert any RTF file (with embedded pictures for example) in FO file, then take them and merge them into one FO, then rework FO to add some text for example, and print it into PDF through FOP. Do you know any other free way to do this please ? I currently look at iText, but nothing until now... thanks for your help regards, Sareth -- View this message in context: http://apache-fop.1065347.n5.nabble.com/using-FOP-to-convert-RTF-to-FO-tp37464p37466.html Sent from the FOP - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org -- Cheers, Stefan Hinz stefan.h...@oracle.com, MySQL Documentation Manager Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc ORACLE Deutschland B.V. Co. KG Registered Office: Riesstr. 25, 80992 Muenchen, Germany Commercial Register: Local Court Of Munich, HRA 95603 Managing Director: Jürgen Kunz General Partner: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697 Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: using FOP to convert RTF to FO
Hi Sareth, I tell me why you must use RTF as format? Is it possible for you to use .doc or .docx format. With this format you can benefit with docx4j or Apache POI project. docx4j provides utilities to merge several docx and convert it to PDF with FOP. Apache POI provides doc 2 PDF converter with FOP. It exists too a docx 2 PDF converter based on iText and Apache POI. I think if you use docx format you will benefit with a lot of features (with docx4j or Apache POI). Regards Angelo 2012/12/7 Stefan Hinz stefan.h...@oracle.com Hi Sareth, Are you sure you want to convert the RTF to DocBook, then to FO, then to PDF? To me, this would make sense only if you're planning to make changes to the combined file later on. If this is supposed to be a one-time conversion with no future edits of the docs, however, I'd suggest to open all the RTF in Libre Office (or any other office suite), make the necessary edits in Libre Office, and export the RTF to PDF with the built-in converter. Cheers, Stefan On 06.12.2012 16:51, sareth wrote: Hello, in fact, I would like to convert any RTF file (with embedded pictures for example) in FO file, then take them and merge them into one FO, then rework FO to add some text for example, and print it into PDF through FOP. Do you know any other free way to do this please ? I currently look at iText, but nothing until now... thanks for your help regards, Sareth -- View this message in context: http://apache-fop.1065347.n5.** nabble.com/using-FOP-to-**convert-RTF-to-FO-**tp37464p37466.htmlhttp://apache-fop.1065347.n5.nabble.com/using-FOP-to-convert-RTF-to-FO-tp37464p37466.html Sent from the FOP - Users mailing list archive at Nabble.com. --**--**- To unsubscribe, e-mail: fop-users-unsubscribe@**xmlgraphics.apache.orgfop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-help@xmlgraphics.**apache.orgfop-users-h...@xmlgraphics.apache.org -- Cheers, Stefan Hinz stefan.h...@oracle.com, MySQL Documentation Manager Phone: +49-30-82702940, Fax: +49-30-82702941, http://dev.mysql.com/doc ORACLE Deutschland B.V. Co. KG Registered Office: Riesstr. 25, 80992 Muenchen, Germany Commercial Register: Local Court Of Munich, HRA 95603 Managing Director: Jürgen Kunz General Partner: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Register Of Chamber Of Commerce: Midden-Niederlande, No. 30143697 Managing Directors: Alexander van der Ven, Astrid Kepper, Val Maher --**--**- To unsubscribe, e-mail: fop-users-unsubscribe@**xmlgraphics.apache.orgfop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-help@xmlgraphics.**apache.orgfop-users-h...@xmlgraphics.apache.org
Re: using FOP to convert RTF to FO
Hi Sareth, OpenOffice can also be automated to convert RTF unattended to PDF which can then be embedded into a FO document using FOP external graphics. If you need to make changes to the RTF you could also convert RTF to doc using OpenOffice and process the doc files. As was pointed out in a reply there are solutions using doc as a basis. There is also a download from Microsoft to convert WordprocessingML to XSL:FO. Using OpenOffice you could also convert to HTML and convert that to XSL:FO e.g. by using HTML2FO … Kind regards Maruan Sahyoun
Changing 1.0 - 1.1 : Is there a cache file
I presume this is to be expected, but I'd appreciate it if someone would confirm it is correct. I've been using fop 1.0 for a while and I've just tried running 1.1. I find that the first time I run 1.1 I get a lot of font related diagnostic (INFO) messages. Subsequent runs don't do this, just giving a few messages. Then when I go back to 1.0 I get the same effect. Ie the first time I get lots of messages and subsequent ones don't. Is there a cache of some sort being created on the first run that would explain this ? Uncertainly Richard. [Blue line] Richard Kerry BNCS Engineer T: +44 (0)20 82259063 M: +44 (0)7812 325518 Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ richard.ke...@atos.nethttps://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177URL=mailto%3arichard.kerry%40atos.net uk.atos.nethttps://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177URL=http%3a%2f%2fuk.atos.net%2fen-uk%2f [Atos logo] This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. attachment.ashx Description: attachment.ashx attachment.ashx Description: attachment.ashx - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
Re: Changing 1.0 - 1.1 : Is there a cache file
Correct. There is a font cache at ~/.fop/fop-fonts.cache. When changing versions, the serialized cache format can change (as it did between fop 1.0 and 1.1), which causes the cache to be rebuilt. On Fri, Dec 7, 2012 at 9:34 AM, Kerry, Richard richard.ke...@atos.netwrote: I presume this is to be expected, but I'd appreciate it if someone would confirm it is correct. I've been using fop 1.0 for a while and I've just tried running 1.1. I find that the first time I run 1.1 I get a lot of font related diagnostic (INFO) messages. Subsequent runs don't do this, just giving a few messages. Then when I go back to 1.0 I get the same effect. Ie the first time I get lots of messages and subsequent ones don't. Is there a cache of some sort being created on the first run that would explain this ? Uncertainly Richard. *Richard Kerry* BNCS Engineer T: +44 (0)20 82259063 M: +44 (0)7812 325518 Room EBX 301, BBC Television Centre, Wood Lane, London, W12 7RJ richard.ke...@atos.nethttps://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177URL=mailto%3arichard.kerry%40atos.net uk.atos.nethttps://webmail.siemens-it-solutions.com/owa/redir.aspx?C=9fb20d019e3e4cb99344d708709a3177URL=http%3a%2f%2fuk.atos.net%2fen-uk%2f This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavours to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. - To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org