Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-705

Allow setting custom page size of generated PDF document

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed
    • Priority: Minor
    • Resolution: no change required
    • Affects Version/s: 5.1.0
    • Fix Version/s: 5.2.1-B2
    • Component/s: Data Management
    • Labels:
      None

      Description

      In-Portal has nice kPDFHelper class, that allows to generate PDF document based on given template name. It only has limitation, that it always uses A4 as page size for created document. And there is no ability to change that format from inside of HTML.

      Here is patch, that allows to change page size using [b]@page

      { size: width height orientation; }

      [/b] which is complaint to CSS2 specifications. You can set page size and orientation or one of them.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                !COMMUNITY !COMMUNITY
                Reporter:
                alex Alex
                Developer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: