开发者

Easiest way to create a table with Zend_Pdf

开发者 https://www.devze.com 2023-01-08 08:53 出处:网络
What\'s the easyiest way to create a开发者_StackOverflow社区 table with Zend_Pdf? Until now, i realized tables with horizontal and vertical lines. Is there no other solution for tables?

What's the easyiest way to create a开发者_StackOverflow社区 table with Zend_Pdf?

Until now, i realized tables with horizontal and vertical lines. Is there no other solution for tables?

Thank you.


There's this project in SF: http://zendpdftable.sourceforge.net/

However it's still not very practical, compared to other libraries.


I've also found a Zend_Pdf_Helper gitHub project that maybe can help someone.


From what i have read there is no easy way to do this. The closest you will get is by using the shape drawing primitives in the Zend_Pdf API or (probably better) by switching to another PDF library entirely.


XSL:FO combined with FOP handles tables very nicely. The downside is that it is an external too, seems to be slightly dated, and documentation for it is not the greatest. This posting of mine might help: http://grover.open2space.com/content/creating-pdf-code-fop

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号