-
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
-
External issue URL:
-
Change Log Message:Added ability to specify size and orientation for generated PDFs
-
External issue ID:875
-
Copy Issue Key:
-
Patch Instructions:
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.