| : | Javascript | : | PHP Index | : | MySQL | : |
| : | Source | : | : | Explanation | : | : | Example | : | : | Todo | : | : | Feedback | : |
This class solves the problem with the current version of Zend_Pdf that it doesn't have any functionality for outputting a large string into multiple lines. (wrapping of text)
Apart from that it also implements custom alignment (left, right, center & justify)
In total there are 3 classes: Excudo_Pdf_Textblock, Excudo_Pdf & Excudo_Pdf_Page. The last two are extended versions of Zend_Pdf and Zend_Pdf_Page; they are needed so your new pages will be able to handle the textblock correctly
Please note that the current version (2.0) will only work with ZF >= 1.7. There is an older version of the Excudo_Pdf_Textblock class (1.0) which also works with older versions of ZF, but this requires manually adding code to the ZF code. So unless you're unable to upgrade i recommend using the current version