Replies: 1 comment 6 replies
-
Hello @Kraizand Approach of inserting variables into header/footer was implemented without differentiating even/odd pages. So, if you wish to use these variables differently depending if it's even or odd page - this is not possible without adopting implementation. If you wish to insert some predefined values in a footer though then it's possible without any code modification. For this to achieve you should comment following lines in standard CSS (to comment
Then you can add your code:
And this will work, just checked. Is this solving your problem? Best regards, |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear all,
First of all, thanks for this amazing extension. It realy enhances Polarion export, which has a lot of problems.
Trying to optimize some document export now with the extension, I've faced a situation I don't know if it is feasible or not, before opening a bug, I'd like to ask.
From the extension, I am using the "Header / Footer" , adding some information from the page number, document ID and so on. Pretty standard configured, just for testing.
When I've tried to alternate that information using the @page:right / left , I am unable to make it work.
Testing with only text, It works pretty straight forward, basic example;
@page :left{ @bottom-right { content: "Test 2"; text-align: right; display: none; } @bottom-left { content: "Test 1"; text-align: left; display: none; } } @page :right { @bottom-right { content: "Test 1"; text-align: left; display: none; } @bottom-left { content: "Test 2"; text-align: right; display: none; } }
However, even if I delete the display .footer and the running from the @media: print, the footer keeps appearing.
I am wondering if;
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions