Forums

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

Struggling to share a page as PDF / HTML / MS Word

Brian Catanzaro May 15, 2018

When I export a page to PDF, HTML, or MS Word, there is always something missing.

For PDF / MS Word, it crops the right hand side and my colors are missing (e.g. background for tables).  Changing to landscape helps, but it is still not wide enough.  I need to use a custom page size?

With HTML docs, using my browser to save the page results in text with no graphics at all!

What is the best way to capture a Confluence page with all the proper formatting?

2 answers

1 vote
Scott Theus
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.
May 16, 2018

Hi Brian,

When I need a PDF I usually print it to PDF right from the browser. This lets the print driver render the page rather than relying on Confluence to get right. If you are having trouble getting it to Word or HTML you can try printing to PDF then converting from that file. It's an extra step but should take care of the missing pieces for you.

BTW...when you print to PDF you can also select the page size and orientation. I use this for pages with drawings that I want to fit on one page or send to a plotter.

Hope workaround this helps,

-Scott

0 votes
Deleted user May 16, 2018

Hi @Brian Catanzaro,

I would check the Confluence export documentation, specifically the notes section, and check that the advanced PDF export customisation options have not be configured improperly. 

If you are still having issues my suggestion would be to contact Atlassian support.

Hope this helps

Brian Catanzaro May 16, 2018

I've checked that already.  Nothing on that page appeared to address my issue.  Thanks...

-B

Deleted user May 16, 2018

Hi @Brian Catanzaro,

Check the HTML source, found an article which seems to align with the issues you have. 

Thanks

Brian Catanzaro May 16, 2018

Can you be a bit more specific? 

  • I did not set up any styles for my pages.  I'm using Confluence right out of the box
  • I merely put pictures into tables as a way to keep the captions with the tables. 
  • Tables without pictures, with just text, default to a colored background for headers.  This does not appear in any exporting I've created
  • I'm using English, so foreign language support does not apply.
  • I see how one can define a very large page for the exported document.  But, how am I supposed to set the size?  Trial and error?  Every browser expands to the full size of your monitor.  Am I supposed to guess the largest monitor and keep my Page within this size and then establish a page size by trial and error that fits this size?
Deleted user May 16, 2018

Hi @Brian Catanzaro, I have escalated this to the Community Champions.

Thomas Schlegel
Community Champion
May 16, 2018

@Brian Catanzaro

have you tried changing the width using a pdf stylesheet like this:

@page
{
/*A4-sized pages in landscape orientation are 297 mm wide by 210 mm long*/
size: 297mm 210mm;
}

Try to increase the value 297 to something else unless the table fits into your page.

Here you can find more information on changing the pdf stylesheet:

https://confluence.atlassian.com/doc/customize-exports-to-pdf-190480945.html

mdaugherty April 18, 2025

The only problem I'm experiencing now that I've got a CSS that converts to landscape PDF output, is that tables do not expand past the screen presentation...and sometimes this squeezes columns.  I have a ton of real estate in Landscape mode that goes unused and it makes the tables look weird.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events