Why does the formatting of my generated document change when I use PDF Export's header or footer?

Italo Ebel August 1, 2024

This is the PDF generated without changing the stylesheet:

image.png

 

If you add a header ("my header"), the formatting of the PDF will change.

Stylesheet with header added:

image.png

 

PDF generated after this change:

image.png

 

Why have some elements such as image size, caption, margins been changed?

*Perhaps Confluence is using different versions of the Export function for each document generated

1 answer

1 vote
Marc - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 1, 2024

Hi @Italo Ebel 

Did you apply the header as html or css or just plain text?

Plain text won't work and will impact your export, I believe.

Check the following KB docs:

 

Italo Ebel August 2, 2024

Hello @Marc - Devoteam

Thank you for reply.

I've seen this documentation before. In the example given I used plain text, but even when using only html and css in the header and stylesheet some structures are damaged in the PDF.

For some reason the image captions aren't appearing after the changes to the Look and feel.

There is probably some custom Confluence command responsible for modifying the captions, but I can't find it.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events