downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

PDF_fill> <PDF_fill_stroke
Last updated: Fri, 12 Mar 2010

view this page in

PDF_fill_textblock

(PECL pdflib >= 2.0.0)

PDF_fill_textblockRemplit un bloc de texte avec des données variables

Description

int PDF_fill_textblock ( resource $pdfdoc , int $page , string $blockname , string $text , string $optlist )

Remplit un bloc de texte avec des données variables suivant ses propriétés.

Cette fonction est uniquement disponible avec "PDFlib Personalization Server" (PPS).



add a note add a note User Contributed Notes
PDF_fill_textblock
Anonymous
02-Jul-2009 08:54
This function's purpose is to fill in an AcroForm field.  The concept of "Block" comes from the PDFlib Personalization Server (PPS) terminology.
stephen at pacificscreening dot com
29-Apr-2009 09:24
You should be aware that the PDF Lib documentation says that this method should return a textflow handle that can then be used on subsequent calls (i.e. to have an arbitrary number of boxes and have the text continue to spill over). It does not, at least not in my version of PHP (4.3.8). I had to dig around and find a message in the official message boards saying it does NOT work this way. The only way to do textflow is to use pdf_fit_textflow() and grab the locations of the target box each time.

PDF_fill> <PDF_fill_stroke
Last updated: Fri, 12 Mar 2010
 
 
show source | credits | sitemap | contact | advertising | mirror sites