Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
Differences between RTF and PDF using CSSToXSLFO
Agustina Biscayart
Hi,
I’m investigating how to use the library CSSToXSLFO and I’ve found some differences between RTF and PDF using the Prism version deployed in Client.
Specifically, the header and the footer of the page is not working in **RTF** with this version (in PDF works perfect and also works fine for both with the version deployed in nibar.) Have you had any similar problem? Here is my code to create the header and the footer just in case you want to see it..
< !-- footer of the body -->
< div class="bottom-body">
< span>Thomson Reuters 2011 - Page < /span>
< span class="page" />
< /div>
< !-- header of the body -->
< div class="top-body">
< span>Checkpoint - Thomson Reuters< /span>
< /div>
And the CSS is:
div.bottom-body {
page: body;
region: bottom;
}
div.top-body {
page: body;
region: top;
}
Thanks!
Find more posts tagged with
refinitiv-internal
Accepted answers
All comments
mark.maruska
I hypothesize that it's not an issue with CSSToXSLFO but rather a limitation of the xsl-fo processor that is being used...
The way I understand it, CSSToXSLFO will give you xsl-fo and then you need to run that through a xsl-fo processor. Is there a way for you to look at the xsl-fo output to ensure that it contains the desired header/footer markup? Assuming it does produce the correct xsl-fo (since the PDF has headers/footers), then I think the issue must reside with the xsl-fo processor (which you haven't mentioned).
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act