kleinsor at smallish.org
Fri Apr 11 10:24:30 UTC 2008
Stefan Schmiedl wrote:
> since there's been some ideas on generating SVG from within a Seaside
> application, I start wondering about creating another XML-based
> document format: Open Document Format, nee ODF, which is what
> OpenOffice.org is using as its native file format.
> Has anybody done anything in this direction?
not personally, but where I work we've tried various approaches for
creating printable documents.
HTML -> TeX -> PDF
+ high-quality TeX output
- HTML -> TeX is not loss-free, so it's hard to control the appearance
of the output
Report -> FOP -> PDF
+ it actually generates PDF
- haven't found a FOP processor that handles tables correctly
(e.g. text within cells crosses the cell boundaries).
Maby this has changed in the meantime.
- generally, not loss-free
- Apache FOP requires JRE. Other FOP processors in C are way behind
Apache FOP in terms of quality.
Report -> PDF
+ can control every bit of the generated PDF
- need to control every bit of the generated PDF.
- converting HTML -> PDF is as easy as writing a HTML renderer *cough*
Graph -> SXD
+ graph can be translated into a document more or less loss-free.
- user needs OpenOffice. might be ok in a intranet environment,
difficult in environments where people cannot or don't want to install
OpenOffice or an ODF converter/plugin for their favorite tool.
More information about the seaside