Comments on: Converting Word documents to XSL-FO (and onwards to PDF) Friends of Oracle and Java Thu, 21 May 2015 20:49:51 +0000 hourly 1 By: jpee Tue, 30 Nov 2010 19:57:20 +0000 Hey nice post,
until now I didn’t noticed that word documents can be safed as xsl:fo. Thanks for that!

By: Rajesh Mon, 14 Sep 2009 10:53:55 +0000 Hey, really great blog. Seriously I made search for a week. Finally I got a way through xsl fo and apache fop apis. Over all is fine learning journey again ends with AMIS Technology blog. Thanks to you all.


By: Matt Sun, 18 May 2008 22:54:06 +0000 Hey all, interesting forum. Try googling ooo2xslfo, it’s the Open Office implementation of saving a doc as xsl:fo. I tested similar components in Word, AbiWord and Open Office and found that with Apache FOP the PDF turned out best with the Open Office solution, but it really depends on what you need to do. I think AbiWord comes with the feature built in.

By: Nicro Wed, 26 Sep 2007 08:23:01 +0000 Sorry, mistake. I mean i dont want virtualy printers neither terciary softwares.

By: Nicro Wed, 26 Sep 2007 08:21:04 +0000 I’m looking for some sample code to get PDF from Word, i want virtualy printers or terciary sotfwares. I was thinking about Word–>XSL:FO–>PDF

Do you know how get XSL:FO from Word by code and without open winword process???

No, do you know any other way to get that?

Thanks you.

By: Fan Timmermans Sat, 28 Apr 2007 01:59:53 +0000 I’m looking for a solution for following requirement.
We have RTF-documents loaded into Oracle 9i CLOB on HP-UX. The user wants to view these CLOB via a JEE-application using Acrobat Reader. The printing functionality within the reader will then be used. They also ask for the possibility of loading the PDF (as a result of the RTF conversion) as a BLOB in Oracle 9i.
The best way to do this would be using PL/SQL to convert the CLOB containing RFT to the BLOB containing the PDF.
If this isn’t possible the next solution would be doing the conversion somewhere in the Oracle iAS (JEE).
I didn’t understand Lucas article all the way. But maybe it contains an answer to my question. Could anyone comment on that?
Thanks in advance!

By: Aasif Kham's Thu, 30 Nov 2006 08:51:59 +0000 Hello.. I am not able to open any word file. i have got Windows XP and Office XP installed in my laptop. I have tried repairing, reinstalling and every possible stuff i could. I also have Acrobat Writer 7 installed in it. is their any solution to this? is Acrobat writer linked with the problem?? Kindly suggest some alternative or solution…

By: Meera Tue, 02 May 2006 13:31:07 +0000 How can we convert XSL-FO document to HTML and after some format changes can we convert the HTML doc back to XSL-FO without loosing the formatting info ?

Any suggestion/comment on this would be of great help

By: Joshua Smith Sat, 15 Apr 2006 14:11:36 +0000 Great article. Very informative.

Your page displays fine in Safari 1.3.2 on the Mac. You really ought to switch your browser compatability code to test for specific DOM and JavaScript functionality instead of detecting the browser name and version number. Your Javascript alert that says that my browser (which it identifies as Mozilla) might not be supported is annoying and excludes thousands of people that refuse to use MSIE.

Again, great article. Just clean up that browser support code! Thanks.

By: Jason Brice Wed, 12 Apr 2006 18:41:13 +0000 Leo,

The original problem Lucas described is not how to convert a Word Document (or Open Office document) to a PDF, we all agree that’s easy. The problem is how to programmatically create a PDF from a user-defined form. For example, say the legal department wants to come up with a template that the sales people in the field can fill out on the fly, and keep all the nicities like headers, footers, pagination, inline images, and so forth.

One might say to simply use Adobe Acrobat, but solution that has it’s own share of problems: most people are comfortable with a Word or Word-like interface which Acrobat does not have, Acrobat fields do not “grow and shrink” with the text (you have to pre-define the field size, and if the text is longer than what you anticipated, you get to choose either truncation or shrunken font size), variable length tables are difficult to deal with, Acrobat costs several hundred (US) dollars, etc.

This is actually a pretty tough problem. Thanks for the article, Lucas.

By: Leo Wed, 05 Apr 2006 18:49:52 +0000 Why not just open the Word Document in Open Office and click on the “PDF” button ?

By: Rick Stephens Tue, 04 Apr 2006 14:36:01 +0000 You didn’t delve into to this deep enough.

Using XML-FO to get from WordML to PDF works only sort-of. There are many things that fail, because FO doesn’t live in the same world as Word. Try some more complex documents (hint: one with a Table of contents, or one that uses Tabs, or bullets, or line numbers, or …).

If you are going to use this technique, you better research it more. There are a number of commercial companies trying to crack this, and with all of their work, still have problems with true fidelity.

By: Kishore Tue, 04 Apr 2006 06:05:53 +0000 I need to know is this converting word to xls to pdf thingi is free… if so can u give me this software.

If its not free.. then make this software freely available.

By: Nathaniel Tue, 04 Apr 2006 05:09:42 +0000 We use as well, since OOo 2 came out the support for a huge
amount of Word’s features is quite excellent and for the past year or so
quite stable.

In conjuciton with iText for further PDF work it becomes a very powerful of automating
Doc -> PDF workflow for not too much money and with users having to do anything XML.

By: Lucas Jellema Tue, 28 Mar 2006 07:45:36 +0000 As a matter of fact Tim, we had a Knowledge Center session on XML Publisher just yesterday. It does indeed cover a lot of the functionality we require. My colleague Marcos had prepared demonstrations and clarficiations and I was very impressed.

However, the current pricing & licensing strategy for XML Publisher is very prohibitive. At the current quotes rates of $40.000 – or $30.000 if you already have a Enterprise Edition of
the Oracle Application Server -, we will find few customers interested.

We very much hope prices will come down once the product has mattured somewhat. It seems that Oracle is not ready to do much work on Oracle Reports so XML Publishers
seems to be its logical successor. For that to really be a viable option however, the price simply must come down!