PDF generation

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

PDF generation

Alexandru Ionita
Hello guys,


I'm trying to convert our HTML output view (from XForm) to PDF. I saw that Orbeon supports two types of conversion:
1. based on template
2. browser view as it is

Unfortunately I couldn't find documentation for this. All I got is this link

I'm interested in conversion type 2 but only partial screen. For example I have a buttons section that I don't want to be printed in PDF. Is this possible?
Can you please also point me to a more detailed documentation?


regards,
Alexandru


--
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
Reply | Threaded
Open this post in threaded view
|

Re: PDF generation

Alessandro  Vernet
Administrator
Alexandru,

On Fri, Nov 6, 2009 at 6:17 AM, Alexandru Ionita
<[hidden email]> wrote:
> I'm trying to convert our HTML output view (from XForm) to PDF. I saw that
> Orbeon supports two types of conversion:
> 1. based on template
> 2. browser view as it is
> Unfortunately I couldn't find documentation for this. All I got is this link
> http://wiki.orbeon.com/forms/doc/user-guide/form-builder-user-guide#TOC-PDF-generation
> I'm interested in conversion type 2 but only partial screen. For example I
> have a buttons section that I don't want to be printed in PDF. Is this
> possible?

There isn't much to say about #2: right now, you there isn't an Orbeon
Forms configuration that would allow you to say that you want to
ignore certain parts of your form when printing. I can see two ways of
dealing with this:

1) Someone implements such a configuration in Orbeon Forms.
2) You may be able to use CSS for this, saying that in print mode,
certain sections are not displayed. E.g. using: @media print {
#gaga-section-group { display: none; } }, if your section ID is
"gaga".

Alex
--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet