Example of custom PDF generation

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

Example of custom PDF generation

Rolf
Using FormRunner I am looking at generating a PDF that captures the current screen in PDF.

http://wiki.orbeon.com/forms/how-to/other/generate-pdf contains an example ( including a zip ). I think this is exactly what I need however it does not work out of the box. Since this was published in 2011 there have been changes to the page-flow config file and I imagine that there have been more changes that break the PDF generation.

My question - is this approach still supposed to work and (assuming that this by now is outdated ) is there maybe an up-to-date version of the zip example ?

- Rolf
Reply | Threaded
Open this post in threaded view
|

Re: Example of custom PDF generation

Erik Bruchez
Administrator
Rolf,

That how-to is very old, and only useful if you don't use Form Runner. We should remove that page probably.

PDF generation is a built-in feature of Form Runner you have no code to write to use it. See:

    https://github.com/orbeon/orbeon-forms/wiki/Form-Builder-~-PDF-Production

For an example, use the PDF button on this page:

   http://demo.orbeon.com/orbeon/fr/orbeon/controls/new

-Erik