Uploaded image for project: 'Lucee Development'
  1. LDEV-1219

orientation attribute using landscape not working in cfdocument pdf

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.34
    • Fix Version/s: PDF 1.0.0.59, 5.1.4.13
    • Labels:
    • 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

    • Sprint:
      April 2017 Sprint

      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>

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              davescarbrough David Scarbrough
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: