In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000875 [In-Portal CMS] Data Management feature request N/A 2010-09-28 10:10 2010-12-06 11:59
Reporter alex View Status public Project Name In-Portal CMS
Assigned To !COMMUNITY Developer
Priority normal Resolution open Fixed in Version
Status reviewed and tested Product Version 5.1.0 Target Version Icebox
Time EstimateNo estimate
Summary 0000875: Ability to set custom page size of PDF document
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 @page { size: width height orientation; } which is complaint to CSS2 specifications. You can set page size and orientation or one of them.
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-dev/browse_thread/thread/82362d6da4761151
Change Log Message Added ability to specify size and orientation for generated PDFs
Estimate Points 0
Attached Files patch file icon custom_page_size_support_for_pdfhelper.patch [^] (7,229 bytes) 2010-09-28 10:10 [Show Content]
patch file icon custom_page_size_support_for_pdfhelper_v2.patch [^] (8,371 bytes) 2010-10-06 03:42 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to 0000864reviewed and tested (Icebox)!COMMUNITY Styles from HEAD tag are ignored by kPDFHelper 

-  Notes
User avatar (0002877)
alex (manager)
2010-10-06 03:44

Patch "custom_page_size_support_for_pdfhelper_v2.patch" fixes:
* problem, when tag BODY size wasn't affected by specified page size
* TCPDF default margins was preventing images that should fill all page from rendering correctly (they were shifted right and appeared on next page)
User avatar (0002887)
Dmitry (manager)
2010-10-17 11:56

Tested okay on 5.1.1 Beta1
User avatar (0003114)
alex (manager)
2010-12-06 11:59

Moving to future, since we plan to use mPDF instead of whole kPDFHelper class.

- Issue History
Date Modified Username Field Change
2010-12-06 11:59 alex Note Added: 0003114
2010-12-06 11:59 alex Target Version 5.1.2 => Icebox
2010-10-17 11:56 Dmitry Note Added: 0002887
2010-10-17 11:56 Dmitry Status needs testing => reviewed and tested
2010-10-06 03:44 alex Note Added: 0002877
2010-10-06 03:42 alex File Added: custom_page_size_support_for_pdfhelper_v2.patch
2010-09-29 01:48 alex Target Version Icebox => 5.1.2
2010-09-28 10:38 Dmitry Developer Dmitry => alex
2010-09-28 10:38 Dmitry Assigned To => !COMMUNITY
2010-09-28 10:38 Dmitry Developer => Dmitry
2010-09-28 10:38 Dmitry Status active => needs testing
2010-09-28 10:38 Dmitry Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/82362d6da4761151
2010-09-28 10:38 Dmitry Change Log Message => Added ability to specify size and orientation for generated PDFs
2010-09-28 10:11 alex Relationship added related to 0000864
2010-09-28 10:10 alex New Issue
2010-09-28 10:10 alex File Added: custom_page_size_support_for_pdfhelper.patch



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker