« Return to Thread: Zend_Pdf text wrapping

Re: Zend_Pdf text wrapping

by lightflowmark :: Rate this Message:

Reply to Author | View in Thread

Other options include trying the DOMPdf lib, which converts HTML pages into Pdfs, or the spin-off from the Zend_Pdf proposal, REFW (see http://www.nabble.com/Plans-for-Zend_PDF-td23425152.html#a23469553)

I wrote a view helper for DomPdf (ConvertToDomPdf2.php), and you'll have to re-do their autoloader function as per http://www.nabble.com/Calling-external-autoload-function-%E2%80%93-how-to--to22987919.html#a22987919, but it's a 2-minute job.

Don't know if any of that is helpful!

M



Uli Wolf wrote:
Hi,

i’ve seen a tutorial for this a while ago:
http://blog.alfbox.net/index.php/2008/06/04/wrapping-text-for-zend-pdf/

You could rewrite that for using an area instead of a width.

Hope this helps ;)

Uli


Jaime Garcia wrote:
>
> Hello,
>
> Has somebody experience with text (drawText function) wrapping in pdf
> documents created from Zend_Pdf? What I want is wrap text in a defined
> area in the document. I will appreciate so much your help.
>
> Jaime.
>

 « Return to Thread: Zend_Pdf text wrapping