how to remove\hide the header or footer in the pdf

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

how to remove\hide the header or footer in the pdf

SyedAbubacker
hi,

Is it possible to remove\hide the header or footer from the pdf in Orbeon forms.

I'm using orbeon version 4.6.2.

I learned that, recently changes were made to show the title of the form on the header and footer of the pdf.

I just want to know is there any configuration to remove\hide the header or footer from the pdf.

In my contest, the header, title, footer are all showing the same content. I want to retain only header and
remove the title and footer from the pdf.

your help is appreciated.

Thanks,
Syed Abubacker S
Reply | Threaded
Open this post in threaded view
|

Re: how to remove\hide the header or footer in the pdf

Aaron Spike

I have found that the PDF output obeys custom css rules specified by the oxf.fr.css.custom.uri.*.* property (the rules need to be targetted to print media with @media print, of course).
https://github.com/orbeon/orbeon-forms/wiki/Form-Runner-~-Configuration-properties#adding-your-own-css-files-orbeon-forms-4

I'm sure you could remove both header and footer with "display: none;"

Aaron Spike



This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College.

--
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: how to remove\hide the header or footer in the pdf

SyedAbubacker
Thanks Aaron,

I added the following line in the property-local.XML under @media print

.orbeon .fr-footer-title{display: none;}

and it solved my problem.

Thanks,
Syed Abubacker S
Reply | Threaded
Open this post in threaded view
|

Re: how to remove\hide the header or footer in the pdf

SyedAbubacker
I facing an another problem now. how can I hide the title of the form from the PDF document?

i'm not able to find he exact name of the element or class to hide it from the pdf.

your help is appreciated

Thanks,
Syed Abubacker S
Reply | Threaded
Open this post in threaded view
|

Re: how to remove\hide the header or footer in the pdf

SyedAbubacker
In reply to this post by SyedAbubacker
I facing an another problem now. how can I hide the title of the form from the PDF document?

i'm not able to find he exact name of the element or class to hide it from the pdf.

your help is appreciated

Thanks,
Syed Abubacker S
Reply | Threaded
Open this post in threaded view
|

Re: how to remove\hide the header or footer in the pdf

Aaron Spike
In reply to this post by SyedAbubacker
You might try one or a combination of the following (depending on what you consider the title).

To remove the small title text in the page header:

.orbeon .fr-header-title {display: none;}

To remove the large title text and the logo:

.navbar {display: none;}

To remove just the large title text:

.orbeon .navbar .navbar-inner .container h1 {display: none;}


This electronic communication, including any attached documents, may contain confidential and/or legally privileged information that is intended only for use by the recipient(s) named above. If you have received this communication in error, please notify the sender immediately and delete the communication and any attachments. Views expressed by the author do not necessarily represent those of Martin Luther College.

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