>>> 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:
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
没有评论:
发表评论