Mit div- Makro festgelegte divs beim PDF-Export anpassen

Comments

4 comments

  • Avatar
    Stefan Kleineikenscheidt

    Hi Larissa,

    let me answer in English, so that everyone can understand and participate. (Feel free to open a support ticket, if you need an answer in German)

    A little bit of background The section/colum macros are rendered in Confluence beneath each other by all Scroll Exporters, as we saw a lot of awkward results with section/colum macros when developing the plugin (esp. when the section/columns would spread over multiple pages). Btw, Page Layouts are also rendered as one column.

    For the divs and the tables, can you provide an example so that I can understand better?

    Thanks,
    -Stefan

    0
    Comment actions Permalink
  • Avatar
    Larissa Deifel

    Hi Stefan,

    thank for your quick response. To specify my issue with the divs and tables, here some more details and screenshots:

    -I used the div macro to give the elements, which I want to dispose, a class name. This is shown on the first screenshot.

    - Then I created a new Scroll Wiki PDF Eporter template with the following css code: .
    verteiler{
    margin-top:10px;
    float:left;
    top:50px;
    left: 100px;
    height: 200px;
    width:400px;
      }

    .teilnehmer{
    margin-top:10px;
     top: 50px;
    float:left;
    left: 600px;
    height: 200px;
    width:400px;
     }

    => aim of this all is that the pdf export should look like the last screenshot.

     

    Thanks

    Larissa




    Editiermodus.png
    code.png
    Protokoll.doc
    0
    Comment actions Permalink
  • Avatar
    Stefan Kleineikenscheidt

    Hi Larissa,

    this is actually not possible - at the moment. Being focused on Single Source Publishing, all Scroll Exporters convert the content into a media neutral intermediary format. During this conversion, the parser discards all unknown HTML elements that are not content specific - such as divs that do not have a certain meaning.

    That said, we are currently working on Scroll PDF Exporter 2.4, which can perserve arbitrary content and still export. I hope to hava 2.4 final available soon, possibly next week (however, no promisses about that).

    In the mean time, how about using a normal table with two columns and write the "Teilnehmer" like this?:

    John Doe, HR
    Peter Müller, Service
    Peggy Sue, Marketing

    Cheers,
    -Stefan 

    0
    Comment actions Permalink
  • Avatar
    david kamina

    Is there a solution by now ?

    Iam having the same problem

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk