XSL-FO PNG output

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

XSL-FO PNG output

Jurģis Lukss-2
Hi,

Is it possible to get Orbeon's XSL-FO processor to output in PNG format?
By default it outputs PDF. Apache FOP supports PNG output, but I could
not find any documentation on how to configure it from XSL-FO processor.


Thanks,

Jurģis




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: XSL-FO PNG output

Alessandro Vernet
Administrator
Jurģis,

On 9/26/07, Jurģis Lukss <[hidden email]> wrote:
> Is it possible to get Orbeon's XSL-FO processor to output in PNG format?
> By default it outputs PDF. Apache FOP supports PNG output, but I could
> not find any documentation on how to configure it from XSL-FO processor.

The XSL-FO processor can only generate PDF right now. But it wouldn't
be hard to modify the code to generate PNG in addition to PDF.

Since there is already a config input, you could add to that config
the type of file to be generated (PDF, PNG, ...) and pass that option
to FOP. The Java code is not that complex (see the class
XSLFOSerializer), so if you might be interested in giving that a shot.
If you do and are stuck on anything, just let us know.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
http://www.orbeon.com/


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws