RE: Re: RE: Re: RE: Re: Can a PDF of what is displayed in thebrowserbe generated via the XFORM used to generate the HTML by the Orbeon engine?

Posted by mar on
URL: https://discuss.orbeon.com/Can-a-PDF-of-what-is-displayed-in-the-browser-be-generated-via-the-XFORM-used-to-generate-the-HTML-b-tp1471489p1559307.html

Eric,

At this point I think I'm too far into the project to try to convert my
forms to use Form Runner. Is there a simple example of how one would go
about implementing PDF printing like the Form Runner does it or what
files do I need to look at to figure it out. Any hints to speed up the
process are greatly appreciated.


Martin

-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]]
Sent: Wednesday, February 17, 2010 11:29 AM
To: [hidden email]
Subject: [ops-users] Re: RE: Re: RE: Re: Can a PDF of what is displayed
in thebrowserbe generated via the XFORM used to generate the HTML by the
Orbeon engine?

Martin,

In that case you are not using Form Runner, you are just working on top
of the raw XForms engine.

Form Runner is small but convenient (we hope) layer above that:

http://www.orbeon.com/forms/orbeon-form-runner
http://wiki.orbeon.com/forms/doc/developer-guide/form-runner-programmer-
guide

The reason we developed Form Runner was exactly so you wouldn't have to
rewrite things like PDF output yourself. Is there any chance Form Runner
can work for you?

-Erik

On Wed, Feb 17, 2010 at 9:23 AM, Schwartzman, Martin
<[hidden email]> wrote:
> Erik,
>
> I thought I was using Form Runner to run my (example) view.xhtml. I
> run the view.xhtml file from within the
> orbeon.war\WEB-INF\resources\apps\xforms-hello directory of my jboss
> container so I guess I don't understand what you mean when you say "If

> you don't want to use Form Runner"..
>
> I've looked at the fr/print directory that you mention below and
> attempted to use a xforms:submission to run the print-form.xpl but
> nothing happens. I must be missing pieces of the puzzle. I've attached

> my xforms-hello directory that I've pieced together so far. Can you
> tell me what else I'm missing or point me to some additional
> documentation or examples.
>
> Thanks in advance.
>
> Martin
>
> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On Behalf Of Erik

> Bruchez
> Sent: Monday, February 08, 2010 2:51 PM
> To: [hidden email]
> Subject: [ops-users] Re: RE: Re: Can a PDF of what is displayed in the

> browserbe generated via the XFORM used to generate the HTML by the
> Orbeon engine?
>
> Martin,
>
> If you are not working on the source from git, this is stored in
> orbeon-form-runner.jar.
>
> -Erik
>
> On Mon, Feb 8, 2010 at 12:01 PM, Schwartzman, Martin
> <[hidden email]> wrote:
>>
>> Erik,
>>
>> I'm not finding the orbeon/WEB-INF/resources/apps/fr/print directory?
>>
>> Am I not looking in the right place or was a directory name changed?
>>
>> Thanks.
>>
>> Martin
>> -----Original Message-----
>> From: [hidden email] [mailto:[hidden email]] On Behalf Of
>> Erik
>
>> Bruchez
>> Sent: Monday, February 08, 2010 12:19 PM
>> To: [hidden email]
>> Subject: [ops-users] Re: Can a PDF of what is displayed in the
>> browser
>
>> be generated via the XFORM used to generate the HTML by the Orbeon
>> engine?
>>
>> Martin,
>>
>> Yes, that's what Form Runner does. If you don't want to use Form
>> Runner, you will have to look at how Form Runner does it and
>> implement
>
>> something similar (with the oxf:xforms-to-xhtml processor). That's
>> under the RESOURCES/apps/fr/print directory.
>>
>> -Erik
>>
>> On Sat, Feb 6, 2010 at 11:05 AM, Schwartzman, Martin
>> <[hidden email]> wrote:
>>>
>>> I found Orbeon documentation that says "Orbeon Forms supports
>>> producing PDF either automatically by following the layout of the
>>> HTML
>>
>>> output, or by using PDF templates." I think I want the automatic
way.

>>> Can a PDF of what is displayed in the browser be generated via the
>>> XFORM that generated the browser output (submission XPL)? If so can
>>> someone point me to an example.
>>>
>>> Thanks in advance.
>>>
>>>
>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>> --
>> 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
>>
>>
>
>
> --
> 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
>
>


--
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