2009年6月26日星期五

Re: [fw-formats] Plans for Zend_PDF

Nico Edtinger schrieb:
>>> we are considering adding support for cells and tables by ourselves.
>
> What's your current status?

We did indeed implement the needed funtionality by ourselves, but the
way I see it, it's not ready for contribution as-is, as the code was
tailored more to satisfy the immediate needs than to provide a
comprehensive feature set. No modifications were made to Zend_PDF
itself, but some new classes were put on top of it instead.

Also, while it basically does the job, there are some edge-cases that
are still not being solved, IIRC particularly concerning page breaks
(tables spanning more than one page). I'm not too sure about the
details, because I was not the one who this got assigned to.

>> As I myself found it quite complicated to draw even simple text I
>> started a new proposal for some enhancements:
>> <http://framework.zend.com/wiki/x/UwDI>.
>
> This proposal is now ready for review.
>
> I'm asking, because if you're still considering contributing we should
> coordinate our efforts.

The code is publicly viewable:

http://phprojekt.svn.sourceforge.net/viewvc/phprojekt/trunk/phprojekt/library/Phprojekt/Pdf/

And a usage example would be:

http://phprojekt.svn.sourceforge.net/viewvc/phprojekt/trunk/phprojekt/application/Minutes/Helpers/Pdf.php?revision=2079&view=markup

I don't know how much this is similar to your approach. The code
currently is licensed under LGPL, but if you can use any of it, I'm
pretty optimistic that the powers-that-be could be made to agree on
re-releasing this particular library under a different license.

CU
Markus

没有评论: