|
From: | Ralf Becker |
Subject: | Re: [Phpgroupware-developers] PDF-support without additional php modules |
Date: | Wed, 18 Jun 2003 20:37:23 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3) Gecko/20030313 |
Sigurd Nes wrote:
the ROS pdf class ( http://ros.co.nz/pdf/ ) is ported to phpgw as a part of the app property (in HEAD)- Would be nice if it could be part of the API
I personlay think it's a good idea to have a pdf-class in the API.As we all agreed, there should be a proposal in the wiki for each new api-class. So Please take a view minutes and put some info together and the pdf-class can be in the api within 2 weeks.
Ralf
There is very good documentation availlable at http://ros.co.nz/pdf/The app property will probably be broken for a few days - I am i the middle of a major reengineering - but an example of use of the class can be found in /property/inc/class.uiwo_hour.inc.php (HEAD)look for the function tender - which produces tender for bidding.pay attention to 'selectFont' - which in my case point to fonts relative to 'property'Sigurd Brian Johnson wrote:I would love to add a function to timetrack to provide pdf or html generation ofinvoices from templates and could use any advice on how to achieve thatNot only the generation of the invoices, but handling page breaks with headers andfooters (likely different than the first page) would be a requirement Sigurd Nes (address@hidden) wrote:Alessandro Farina wrote:Hi, I'm trying to implement the ROS pdf class too. I think It will be very useful to implement this class at API level. At the moment I'm trying to implement at app level, but I'm having some troubles. I build the pdf through a page called from an eTemplate, so with POST method, and I get a blank page. If I simply reload the page it goes all ok.The page is correctly built, 'cause if I call it outside phpGW it worksfine. Any suggestion? Any $phpgw_info['flags'] to enable/disable (in addition to noheader, nonavbar)? AlessandroTry this: 1) $GLOBALS['phpgw_info']['flags']['noframework'] = True; 2) Another browser than IE (Mozilla Firebird is nice) Sigurd _______________________________________________ Phpgroupware-developers mailing list address@hidden http://mail.gnu.org/mailman/listinfo/phpgroupware-developers_______________________________________________ Phpgroupware-developers mailing list address@hidden http://mail.gnu.org/mailman/listinfo/phpgroupware-developers
-- ---------------------------------------------------------------------- Ralf Becker digital ROCK, Becker & Macht GbR Telefon +49 (631) 31657-51 Leibnizstraße 17 Telefax +49 (631) 31657-52 D-67663 Kaiserslautern EMail address@hidden
[Prev in Thread] | Current Thread | [Next in Thread] |