PDF formatting - header and footer

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

PDF formatting - header and footer

r.gadkari
I need orbeon form containing PDF button to download the content on the form
as Pdf.
I added this property <property as="xs:string"
name="oxf.fr.detail.buttons.yforms.myform">pdf</property>
    <property as="xs:string" name="oxf.fr.css.custom.uri.yforms.myform"                      
value="/forms/style.css"/>


The PDF downloads as expected. However I need to change the branding of the
PDF to show company specific branding.

1. In the header it shows orbeon logo followed by the form name title
2. In the footer form name and then the page number  - 1/1

I need to change the orbeon logo in the header instead show custom logo and
in the footer need to add custom text in place of form name.

Is it possible to do this by adding css classes at the given path?
If yes, how to find out what css classes to add to get the desired affect

Thanks
Rohan

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: PDF formatting - header and footer

Alessandro  Vernet
Administrator
Hi Rohan,

1. Changing the logo can be done quite simply, by setting a property:
https://doc.orbeon.com/configuration/properties/form-runner#default-logo

2. You can customize how the automatic PDF looks using CSS. See the page
linked below for more information on this, and you'll let me know if this
works for you.
https://doc.orbeon.com/form-runner/styling/automatic-pdf

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: PDF formatting - header and footer

r.gadkari
Thanks Alex

1. The logo in the header is sorted.

2. Thanks for sending the link. I have shared this information "PDF-specific
CSS" with our Ux team and hopefully they should be able to figure out what
Css is used and to customize it

I will let you know how point 2. goes

Regards
Rohan

--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Reply | Threaded
Open this post in threaded view
|

Re: PDF formatting - header and footer

Alessandro  Vernet
Administrator
Perfect Rohan, thank you for the confirmation, and of course you'll just let
me know if you're having some trouble with the CSS.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet