Cant access classes in CSS
Iam having a hard time. I have to export a PDF with mixed formats( portrait, landscape).
In the regular confluence PDF export i can use the PDF Stylesheet to just acces the content i want to display in landscape as follows:
- div.landscape {
- page: landscape;
- width:295mm;
- }
- @page landscape {
- size: A4 landscape;
- margin-top: 0cm;
- margin-bottom:0cm;
- margin-left: 0cm;
- margin-right: 0cm;
- padding: 0em;
- }
- @page
- {
- size: 210mm 297mm; /* DinA4 */
- }
Works like a charm. Iam missing dynamic content here though which i have in Scroll PDF Export like $page.lastModificationDate or similar ones.
In scroll PDF however i am not able to acces a div class.
Am i missing something here ?
-
Hi David,
Thanks for reaching out.
Unfortunately you're running into an issue with our current meta model, where DIV and SPAN elements are not preserved. We have an open improvement for that in our JIRA system already: https://k15t.jira.com/browse/EXP-326Unfortunately with our current architecture it's not possible to change this behavior, however we already started evaluating new solutions here. With those new changes we also plan to support to set landscape format for specific pages (see https://k15t.jira.com/browse/EXP-374), however I can't give you an ETA for both issues, yet.
Please sign up at https://k15t.jira.com/secure/Signup!default.jspa to watch, comment on or vote for this issue. We'll then send a notification for every status update.Best,
Nils
Please sign in to leave a comment.
Comments
1 comment