Re: Create pdf of form

Posted by JohnBampton on
URL: https://discuss.orbeon.com/Create-pdf-of-form-tp44595p44598.html

Surely someone can show me some example code or a tutorial on how to do this.  The problem with all this xforms stuff is that there is so little documentation/tutorials.  All I want to do is run a XSL transformation on the click of a button/trigger that will output a pdf based on the instance in memory.

Any ideas?  Please help!


JohnBampton wrote
Actually on the click of a button I want to run and XSLT/XSL-FO template that trasforms the in memory model instance to create a pdf either opening in a new window or as a download.

I already know xslt/xsl-fo so this would be the easiest way for me.

How can I do this?

Regards,

John.



Alexander Žaťko wrote
This might help:

http://wiki.orbeon.com/forms/doc/user-guide/form-builder-user-guide#TOC-PDF-generation

...or you can use the PDF Template processor (just google oxf:pdf-
template) in conjunction with some server-based XPL business logic.

A.

On Aug 22, 2009, at 5:31 AM, JohnBampton wrote:

>
> Hi all,
>
> I was wondering how to create a pdf of the form when the submit  
> button is
> pressed.
>
> I also have to submit to a database/webservice at the same time.
>
> The pdf should be output to the browser.
>
> Do I have to use the XSL-FO converter?  If so how do i do this?
>
> I want to take all forms labels and fields into the pdf.
>
> Regards,
>
> John.
> --
> View this message in context: http://www.nabble.com/Create-pdf-of-form-tp25090313p25090313.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org  
> mailing list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws



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