incubator-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Dcument automation with ODF (was Re: Request: Can "proposed committers" introduce themselves?)
Date Wed, 08 Jun 2011 16:51:09 GMT
dsh <> wrote on 06/08/2011 12:15:52 PM:

> Of course we had been using ODFDOM but the issue is how do you get ODF
> transformed accordingly to other formats such as RTF, AFP or PDF and
> make those formats look consistent with what you would get if doing
> the transformation natively during design time in OO or Symphony.

I think your observation is correct.  The ODF Toolkit does not currently 
have a good way of generating print or print equivalent output from an ODF 
document.  The Toolkit had no layout or rendering support.

But I wonder if this is something that Apache FOP could help solve?

The styling vocabulary of ODF is loosely borrowed from XSL Formatting 
Objects (XSL:FO).   It may be possible to generate XSL:FO from ODF much 
more easily than converting from ODF to PDF or Postscript directly.  But 
once we have the XSL:FO intermediary, then the pipeline could continue 
with Apache FOP to target formats ranging from PDF to raster images.

Does that sound plausible?  Someone needs to do the layout and rendering. 
But I hate to see that code written more than once.  The ODF->XSL:FO 
conversion would be a great toolkit enhancement.  Has POI done this with 
the Microsoft formats?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message