Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Logan Buesching's Blog:
Zend_Pdf_Cell
Dec 05, 2007 @ 18:58:00

Logan Buesching has submitted a post about an extension he's created for the Zend_Pdf component of the Zend Framework to add one key feature - positioning.

Needless to say, I was quite disappointed when I came to find out that Zend_Pdf doesn't currently have any type of text layout support except for the exact position to place it. I created a small extension to Zend_Pdf, and building off of an idea from FPDF, I created Zend_Pdf_Cell.

His code is not officially included into the Framework, but has been posted for anyone to use if they might need it. It includes features like: the ability to create a cell and put text inside, position a cell, specify the height/width and format it with different fonts.

He also includes installation instructions (copy the file over, basically) and usage examples to get you started.

tagged: zendpdf zendframework positioning formatting zendpdfcell zendpdf zendframework positioning formatting zendpdfcell

Link:


Trending Topics: