Child pages
  • Ability to set custom page size of PDF document
Skip to end of metadata
Go to start of metadata

Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/82362d6da4761151#

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 @page { size: width height orientation; } which is complain to CSS2 specifications. You can set page size and orientation or one of them.

Related Tasks

INP-705 - Getting issue details... STATUS

1 Comment

  1. Thanks Alex,

    This is quite a useful feature for those who work with generating PDFs
    in In-Portal.

    DA.