orientation attribute using landscape not working in cfdocument pdf

Description

I have been unable to get cfdocument to recognize the orientation attribute when set to landscape. This worked correctly under Adobe CF MX, 9, and 2016. When we moved to Lucee, the function stopped working, and now only displays in portrait.

Using the following does not display in landscape
<cfdocument format="PDF" orientation="landscape">

<cfdocumentsection name="Cover">
Cover Sheet. This is displayed incorrectly in portrait.
</cfdocumentsection>

<cfdocumentsection name="Data">
Data sheets section. This is displayed incorrectly in portrait.
<br /><br />
<cfoutput>server version: #server.lucee.version#</cfoutput>
</cfdocumentsection>

</cfdocument>

Environment

OS Linux (3.10.0-514.2.2.el7.x86_64) 64bit
Servlet Container Apache Tomcat/8.5.6
Java 1.8.0_112 (Oracle Corporation) 64bit
Architecture 64bit
PDF Extension 1.0.0.57

Attachments

1

Activity

Pothys - MitrahSoft 
16 March 2017 at 07:06

I've analysed this ticket a lot and confirmed that issue happened in latest version of lucee. In cfdocument I've set orientation='landscape' for PDF, but the generated PDF is in portrait orientation. In ACF it working as expected.

Fixed

Details

Assignee

Reporter

Priority

Labels

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 2 March 2017 at 19:18
Updated 13 August 2019 at 15:19
Resolved 19 April 2017 at 10:31