Re: PEAR inclusion request: php_jh_pdf
| From: | Bertrand Mansion | Date: | Tue, 02 Apr 2002 08:13:39 +0000 |
| Subject: | Re: PEAR inclusion request: php_jh_pdf | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5157@lists.php.net to get a copy of this message | ||
le 30/03/02 21:06, Johann Hanne à jonny@xiroi.de a écrit :
> Well, sounds like it's almost the same. But I haven't seen it before, so I
> don't know exactly. Will have a closer look at it the next days. Hope it
> wasn't unnecessary double work... :-(
>
> Cheers, Jonny <jonny@1409.org>
>
> On Sat, 30 Mar 2002, Björn Schotte wrote:
>>
>> Is it similar to http://pc4p.sourceforge.net/ ?
I have looked at PC4P but it does not handle PDI (PDF Import) functions of
PDFLib which is an absolute need for a PDF wrapper class. PC4P seems also a
bit closed in terms of architecture, it handles the PDF from its creation
(even before the pdf_open call). It is quite difficult to plug your own
methods in PC4P. This is why I would prefer your approach which is closer to
what I would need and also seems more open.
You might want to change the name of your class for a better and simplier
one, have a deeper look at PC4P, include PDI functionalities, have a look at
HTML_Table for table handling ;) You might also want to create an PDF_Common
class which would handle attributes for tables, cells, rows, colors, fonts,
size, alignment ... the way you want. This could be based on HTML
specifications ?
Good luck,
Bertrand Mansion
Mamasam