PHP Doku:: Füllt Text-Block mit variablen Daten - function.pdf-fill-textblock.html

Verlauf / Chronik / History: (1) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzNon-Text MIME-AusgabenPDFPDF FunktionenPDF_fill_textblock

Ein Service von Reinhard Neidl - Webprogrammierung.

PDF Funktionen

<<PDF_fill_stroke

PDF_fill>>

PDF_fill_textblock

(PECL pdflib >= 2.0.0)

PDF_fill_textblockFüllt Text-Block mit variablen Daten

Beschreibung

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

Füllt einen Block des Typs Text mit variablen Daten unter Berücksichtigung verschiedener Optionen.

Diese Funktion ist nur im PDFlib Personalization Server (PPS) verfügbar.


2 BenutzerBeiträge:
- Beiträge aktualisieren...
Anonymous
2.07.2009 22: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.04.2009 23: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.



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)