customize cover page input bottom
Having trouble installing Oxygen PDF Chemistry? Got a bug to report? Post it all here.
-
- Posts: 6
- Joined: Tue Jun 12, 2018 3:32 pm
customize cover page input bottom
Hi,
I am using the Oxygen PDF chemistry to create PDF from a Dita map. I want to add content (company slogan) to the bottom left area of the page. So I just add to the CSS @bottom-left {content:"Hello world"}, however the issue is that I need to use different colors for each word. If I add formatting properties to the css, it applies for the whole string. I guess an alternative could be to add two pseudo elements (front-page-title:after) that are displayed inline but I don't know how to bring the text in the bottom area. Thank you for help.
I am using the Oxygen PDF chemistry to create PDF from a Dita map. I want to add content (company slogan) to the bottom left area of the page. So I just add to the CSS @bottom-left {content:"Hello world"}, however the issue is that I need to use different colors for each word. If I add formatting properties to the css, it applies for the whole string. I guess an alternative could be to add two pseudo elements (front-page-title:after) that are displayed inline but I don't know how to bring the text in the bottom area. Thank you for help.
-
- Posts: 501
- Joined: Mon Feb 03, 2003 10:56 am
Re: customize cover page input bottom
In this case I would make an SVG image with the formatted slogan text and colors. Then I would use:
You will need to specify a content, even if empty, otherwise the page margin box is ignored.
The advantage with the SVG is that the text from it is searchable and can be selected in the PDF, plus it will look good.
Another technique is to create a SVG as big as the page, and set it as background for the entire page.
Code: Select all
@bottom-left {
content: " ";
background-image:url('slogan.svg');
background-position:50% 50%;
background-repeat: no-repeat;
}
The advantage with the SVG is that the text from it is searchable and can be selected in the PDF, plus it will look good.
Another technique is to create a SVG as big as the page, and set it as background for the entire page.
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