Problems exporting Confluence pages to PDF for pages with macros and images

Sandy Johnson
Contributor
April 25, 2018

I am using Confluence 5.8.13 and whether I try to export using the ... menu option to export an individual page or go to Browse -> Space Operations -> PDF Export with multiple pages, I get the same results.


Pages with macros and/or images attached do not display correctly when exported to PDF or to Word.

Has anyone else run into this issue?

Thanks

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 26, 2018

Hi Sandy,

I'm aware of a few issues with exporting pages with images to PDF and Word. Could you show us what you mean when you say it doesn't display correctly? Is the problem with every image on every page, or only certain images?

Lastly, be aware that you're on Confluence 5.8.13 which has been End of Life for some time now. The latest supported version is 5.10 through June. I'm just letting you know about this because it's highly possible you're running into an old bug that has since been resolved. I will be happy to help determine if that's the case.

Regards,

Shannon

Sandy Johnson
Contributor
April 30, 2018

Shannon

Thanks for getting back to me. Below are screen shots of the page and the exported page in PDF format. As you can imagine, the first screen shot is the page in Confluence and the second is the same page exported to PDF.

It is not every page. However, the ones that export cleanly are only straight text.

Thanks

 

Job Roles - theSource.JPGJob Roles - PDF.JPG

Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 1, 2018

Sandy,

Thank you! Can you tell me what macros are on that first screenshot? I see the one at the top mentioning dashboard owner, and it's not familiar to me.

Can you confirm if you have any PDF customizations in Confluence as well? If you were to make a page in Confluence that only uses the built-in macros with no PDF customization, does the problem persist?

Shannon

Sandy Johnson
Contributor
May 2, 2018

The 2 add ons we use are Comala Workflows and Creately diagrams. The owner is driven by a label used by the Comala add on. The only other macro is the Excerpt macro which you can see in the second screen shot. As I'm sure you also noticed, the links are not displaying correctly either.

I'm not sure what you mean by PDF customizations, but in the space admin I saw nothing in the PDF layout option and from PDF Export Stylesheet, I have pasted our Stylesheet below.

Thanks again for your help

Sandy

 

  1.             h1, h2 {  
  2. page-break-before: always;  
  3. }  
  4.   
  5. div.pagebreak {   
  6.   page-break-before:always   
  7. }  
  8.      
  9.  @page {    
  10.  size: 210mm 297mm;    
  11.      
  12.  @top-center{  
  13.  font-size: 9px;    
  14.  font-family: Helvetica,Verdana,sans-serif;  
  15. content: "PSEG IT Operating Model Content";  
  16.  }   
  17.      
  18.  @bottom-right {    
  19.  font-size: 9px;    
  20.  content:"Page "counter(page)" of "counter(pages);    
  21.  font-family:Helvetica,Verdana,sans-serif;  
  22.  }    
  23.      
  24.  }    
  25.                               
  26.           

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events