You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gerry Kaplan <gk...@kaplansoftware.com> on 2005/09/19 22:04:09 UTC

Xforming into anything readable by MS Word

My application requires that the user be able to import into MS Word.
Currently, I am producing PDF by way of XSLFO. Is there a way to generate,
using the same XSLFO template, a MS Word document? PDF works good, but the
customer needs to be able to merge the generated report with a pre-existing
MS word document.

Any help is appreciated.
Gerry

Re: Xforming into anything readable by MS Word

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 19 sept. 05, à 22:21, Ross Gardler a écrit :
> ...Take a look at the JFor block - gives RTF which is supported by  
> word.
>
> http://cocoon.zones.apache.org/demos/release/samples/blocks/jfor/ 
> welcome

Note that newer versions of Word do a good job of importing HTML,  
depending on you app it might be easier to generate (tweaked) HTML for  
importing into Word.

There's also the WordML format, which is XML, but to me it looks more  
than a dump of the app's internal data structures than a properly  
designed XML format, it's not very easy to understand or generate.

I'd probably go for HTML today, tweaking it so that Word imports it  
well.

-Bertrand

Re: Xforming into anything readable by MS Word

Posted by Ross Gardler <rg...@apache.org>.
Gerry Kaplan wrote:
> My application requires that the user be able to import into MS Word.
> Currently, I am producing PDF by way of XSLFO. Is there a way to generate,
> using the same XSLFO template, a MS Word document? PDF works good, but the
> customer needs to be able to merge the generated report with a pre-existing
> MS word document.
> 
> Any help is appreciated.

Take a look at the JFor block - gives RTF which is supported by word.

http://cocoon.zones.apache.org/demos/release/samples/blocks/jfor/welcome

Ross

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org