Landscape setting of Global PDF Stylesheet is not working!

Jerry Yoon
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 22, 2019

PDF stylesheet setting for landscape was working before but not working anymore.

Please fix this ASAP!!!

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 25, 2019

Hello Jerry,

Welcome to Atlassian Community. It's nice to have you.

I just want to confirm what it is that isn't working for you. I assume that you're using the CSS workaround from Customize Exports to PDF in order to force landscape for page exports to PDF:

To change the page orientation of your PDF document, simply reverse the order of the values declared in the @page rule's size property. The first and second values of this property represent the width and height of the page, respectively.

For example, to generate PDF space exports in A4-sized landscape orientation, your @page rule might look like this:

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

Can you confirm if this is the modification you made that is not working?

What are you trying to export? Individual pages, or an entire space export? 

Thank you for your help!

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events