Martijn Korse wrote: > > That was my first approach (passing the $page object to my own class), so > i could then use $page->drawText(). The problem is that drawText() doesn't > allow for modification of the 'header'; i don't know the official PDF word > for that, but what i mean is the BT\n it adds to content just before > outputting the actual contents of the string. This would be fine if it > wasn't for my align=justify, which needs a different header. > That's why i decided to write my own Zend_Page class and overload the > drawText() method so i could give an extra argument to modify these > headers. But doing so gave the before mentioned problems with all those > private variables. > > Karol, can i ask how you solved this problem? >
I never implemented "justify", left/right was all I needed. So perhaps I never encountered this particular problem. Karol -- View this message in context: http://www.nabble.com/Zend_Pdf-..-problems-extending-the-class-tp18555196p18564640.html Sent from the Zend Framework mailing list archive at Nabble.com.
