print webhelp footer
Oxygen general issues.
-
- Posts: 86
- Joined: Sun May 03, 2015 7:34 pm
- Location: San Francisco
print webhelp footer
Post by urbanrobots »
Hello,
We use the webhelp.footer.file parameter to add a footer to each HTML topic. However, this footer does not print. We need copyright information on each printed page. Can you explain how to do this?
Thanks!
Take care,
- Nick
We use the webhelp.footer.file parameter to add a footer to each HTML topic. However, this footer does not print. We need copyright information on each printed page. Can you explain how to do this?
Thanks!
Take care,
- Nick
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: print webhelp footer
Post by bogdan_cercelaru »
Hello,
If you want the footer of your HTML file to be printed, you should use a custom CSS file (custom.css) with the following content:
After creating the "custom.css" file, edit your transformation scenario, go to "Parameters" tab, set the "args.copycss" parameter to "yes" and set the "args.css" parameter to point to your "custom.css" file.
Please let me know if you need any further assistance.
Regards,
Bogdan
If you want the footer of your HTML file to be printed, you should use a custom CSS file (custom.css) with the following content:
Code: Select all
@media print{
/**
* Display footer
*/
.footer{
display:block;
}
}
Please let me know if you need any further assistance.
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 86
- Joined: Sun May 03, 2015 7:34 pm
- Location: San Francisco
Re: print webhelp footer
Post by urbanrobots »
Thanks for the reply, Bogdan.
This works for printing the copyright footer in the ToC area, but does not work for the footer that appears under the content itself. Is JavaScript limiting the CSS functionality?
Thanks,
- Nick
This works for printing the copyright footer in the ToC area, but does not work for the footer that appears under the content itself. Is JavaScript limiting the CSS functionality?
Thanks,
- Nick
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: print webhelp footer
Post by bogdan_cercelaru »
Hello,
What browser you are using and how did you print the page?
I've tried Chrome, IE and Firefox, using the print button from WebHelp page (right side of the header) and all pages print the footer if the custom CSS is set.
Regards,
Bogdan
What browser you are using and how did you print the page?
I've tried Chrome, IE and Firefox, using the print button from WebHelp page (right side of the header) and all pages print the footer if the custom CSS is set.
Regards,
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 86
- Joined: Sun May 03, 2015 7:34 pm
- Location: San Francisco
Re: print webhelp footer
Post by urbanrobots »
Oops. I had a typo in the file. This CSS works perfectly. Thanks!
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service