Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Default confluence pdf export html content

liteyear October 26, 2020

This question asks for and is provided the default css stylesheet of PDF exports.

 

The css is very useful, but without knowing the content of the corresponding HTML it is very hard to know what elements to add the style to. In particular, the title page must have a top level element that sits within the page's margins. If I add a background image, it is not visible within these margins, as if there is an opaque element in front of it.

 

To understand the structure of the HTML that is passed to the PDF generator, I'd like to see the simplest complete HTML that is generated. For example, what is the HTML that is sent for PDF export if you have the title page content set to "title", the header content set to "header", the footer content set to "footer" and the Confluence pages consisting of a top level page with content "parent" and two children with content "child 1" and "child 2"?

 

I know in other versions of Confluence you can retrieve this intermediate HTML content from the temp directory, but this does not seem to be available in Cloud. Can someone share the content of this file produced by a very basic export?

1 answer

0 votes
Stephen Garber
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.
October 27, 2020

The customizations will need to be in HTML or CSS, but atlassian does provide some guidance on how to adjust the customizations:

https://support.atlassian.com/confluence-cloud/docs/advanced-pdf-export-customizations/ 

liteyear October 27, 2020

I think my question could have been worded better. I'm aware of the customisation process. Alas, none of the available documentation gives enough insight into the structure of the intermediate HTML content to properly guide customisations. Thus, I'm now looking for the intermediate HTML content. I know it's available in versions of Confluence other than Cloud, so was hoping someone could provide some examples.

Like Luke Stringer likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events