Page 1 of 1

Print .doc files inline with PDF

Posted: Mon Oct 08, 2007 9:45 pm
by colin
is there any way to print the contents of a Word .doc file in a PDF using FOP?

for one particular report we are printing information about attachments. they asked if we could print the attachments with the reports.

any info would be great.
thanks

Posted: Thu Oct 11, 2007 10:43 am
by sorin_ristache
Hello,

You can open the .doc file in a recent version of MS Word, save it in the WordML format and use the stylesheets from [oXygen-install-folder]/frameworks/docbook/xsl/wordml to convert it to DocBook. After that apply the predefined transformation scenario Docbook PDF to it to generate a PDF output.


Regards,
Sorin