phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] PDF-support without additional php module


From: Sigurd Nes
Subject: Re: [Phpgroupware-developers] PDF-support without additional php modules
Date: Thu, 19 Jun 2003 09:39:37 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030525 Thunderbird/0.1a

Ralf Becker wrote:



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

It is added to the wiki

Sigurd


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 of
invoices from templates and could use any advice on how to achieve that

Not only the generation of the invoices, but handling page breaks with headers and
footers (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 works
fine.
Any suggestion?
Any $phpgw_info['flags'] to enable/disable (in addition to noheader,
nonavbar)?

Alessandro






Try 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









reply via email to

[Prev in Thread] Current Thread [Next in Thread]