Problem preserving alignment

Comments

5 comments

  • Avatar
    Nils Bier

    Hi Tomas,

    Thanks for reporting that, this is a known issue in Scroll PDF Exporter already tracked here: https://k15t.jira.com/browse/EXP-476
    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.

    We've also documented a workaround for this issue here: https://help.k15t.com/scroll-pdf-exporter/controlling-the-text-alignment-75367850.html

    Does that help?

    Best,Nils

  • Avatar
    Tomás Crespo

    Hi Nils,

    Thank you for the response.

    What about the support for different font sizes? As I've experienced font sizes aren't converted either. In the last days I've been also testing with setting custom styles in HTML macros that affect the appearance of elements on the page  and these aren't transformed as well.

    Any information about these?

     

  • Avatar
    Nils Bier

    Hi Tomás,

    The styling of your font (size, font type, etc), is handled via the CSS of your template. If you've defined different font sizes in the Confluence system itself, those sizes will not be taken over to the PDF.

    To control the font size, you'd need to change your CSS (however you can only change the size and appearance of the existing styles in Confluence).

    Does that help?

    Best,
    Nils

  • Avatar
    Tomás Crespo

    Hi Nils,

    Sorry, I don't fully understand your explanation. For further clarification as for me I attach a specific example of what I'm talking about. In the "code.png" image you can view the Confluence storage code of a page:

    First of all, this code contains an HTML macro where a <style> tag is defined applying a simple coloring to h1 elements. Later, an h1 is defined without specifying a font size and then an h1 is defined with a font size of 24pt.

    In the "confluence.png" image you can view the page apperance as previewed in Confluence, however this appearance is not preserved in the exported results ("pdf.png").




    code.png
    pdf.png
    confluence.png
  • Avatar
    Nils Bier

    Hi Tomás,

    The styling of the outputted PDF is completely independent from your HTML or CSS stylings within Confluence. Style tags from within Confluence are not taken into consideration. You need to control the look and feel of the exported elements in the PDF template itself, not within the Confluence page.

    Please have a look at the following page (and its child pages) for further details how to customize your template: https://help.k15t.com/scroll-pdf-exporter/creating-a-template-75367805.html

    Best,Nils

Please sign in to leave a comment.

Powered by Zendesk