Heading format is not respected when page is generated to pdf

Comments

2 comments

  • Avatar
    Thomas Rough (K15t)

    Hi Laurent,

    Thanks for your post.

    Was the heading level 3 on your page the first heading level on the page that you're exporting?

    If so, the issue you describe relates to how the headings are handled by Scroll PDF Exporter which is expected behaviour. This is because Confluence does not enforce proper ordering of headings (heading 3 can come before heading 1, etc.), therefore our Exporters use an algorithm to create a sensible hierarchy in every case. 

    To do this, Scroll PDF Exporter will set the highest level of heading on a page when it detects the first heading. Therefore, your heading level 3 will be elevated to a heading level 1. You can find more information regarding the way in which heading are handled here: https://help.k15t.com/scroll-pdf-exporter/latest/server/how-headings-are-handled-165944478.html

    To prevent the unexpected formatting of your heading level, you would either need to add the prior heading levels (e.g. level 1,2,) before your level 3 heading on the page, or alternatively, you would need to apply the necessary red styling that you have for Heading level 3, to your Heading level 1's in your custom export template.  

    Let me know if this information helps.

    Cheers, Thomas (K15t)

    0
    Comment actions Permalink
  • Avatar
    laurent dumont

    Hi,

     

    Fine, it works. Many thanks

     

    laurent

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk