[PHPDOC] cvs: phpdoc /de/functions/ pdf.sgml /en/functions/ pdf.xml From: Uwe Steinmann (Uwe.Steinmann <email protected>)
Date: 05/18/00

steinm Thu May 18 07:30:52 2000 EDT

  Modified files:
    /phpdoc/de/functions pdf.sgml
    /phpdoc/en/functions pdf.xml
  Log:
  - fixed bug #4076
  - documented pdf_show_boxed in german translation
  
  
Index: phpdoc/de/functions/pdf.sgml
diff -u phpdoc/de/functions/pdf.sgml:1.4 phpdoc/de/functions/pdf.sgml:1.5
--- phpdoc/de/functions/pdf.sgml:1.4 Thu Dec 9 18:41:01 1999
+++ phpdoc/de/functions/pdf.sgml Thu May 18 07:30:51 2000
@@ -694,6 +694,47 @@
    </refsect1>
   </refentry>
 
+ <refentry id="function.pdf-show-boxed">
+ <refnamediv>
+ <refname>PDF_show_boxed</refname>
+ <refpurpose>Schreibt eine Text in eine Box</refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Beschreibung</title>
+ <funcsynopsis>
+ <funcdef>int <function>pdf_show_boxed</function></funcdef>
+ <paramdef>int <parameter>pdf document</parameter></paramdef>
+ <paramdef>string <parameter>Text</parameter></paramdef>
+ <paramdef>double <parameter>x-koor</parameter></paramdef>
+ <paramdef>double <parameter>y-koor</parameter></paramdef>
+ <paramdef>double <parameter>Breite</parameter></paramdef>
+ <paramdef>double <parameter>Höhe</parameter></paramdef>
+ <paramdef>string <parameter>Modus</parameter></paramdef>
+ </funcsynopsis>
+ <para>
+ Die Funktion <function>PDF_show_boxed</function> schreibt den Text
+ <parameter>Text</parameter> in eien Box, deren unter linke Ecke sich
+ an der Position
+ (<parameter>x-koor</parameter>, <parameter>y-koor</parameter>) befindet.
+ Die Ausmaße der Box sind <parameter>Höhe</parameter> mal
+ <parameter>Breite</parameter>. Der Parameter <parameter>Modus</parameter>
+ bestimmt, wie der Text gesetzt wird. Wenn die <parameter>Breite</parameter>
+ und <parameter>Höhe</parameter> Null sind, kann der
+ <parameter>Modus</parameter> "left", "right" oder "center" sein.
+ Wenn die <parameter>Breite</parameter> oder <parameter>Höhe</parameter>
+ ungleich Null sind, sind zudem die Werte "justify" und "fulljustify"
+ möglich.</para>
+
+ <para>Liefert die Anzahl der Zeichen, die nicht gesetzt wurden, weil sie
+ nicht mehr in die Box passten.
+
+ <para>
+ Siehe auch <function>PDF_show</function>,
+ <function>PDF_show_xy</function>.</para>
+
+ </refsect1>
+ </refentry>
+
   <refentry id="function.pdf-show-xy">
    <refnamediv>
     <refname>PDF_show_xy</refname>
Index: phpdoc/en/functions/pdf.xml
diff -u phpdoc/en/functions/pdf.xml:1.13 phpdoc/en/functions/pdf.xml:1.14
--- phpdoc/en/functions/pdf.xml:1.13 Thu May 18 06:33:48 2000
+++ phpdoc/en/functions/pdf.xml Thu May 18 07:30:52 2000
@@ -693,7 +693,7 @@
    <refsect1>
     <title>Description</title>
     <funcsynopsis>
- <funcdef>void <function>pdf_show_boxed</function></funcdef>
+ <funcdef>int <function>pdf_show_boxed</function></funcdef>
      <paramdef>int <parameter>pdf document</parameter></paramdef>
      <paramdef>string <parameter>text</parameter></paramdef>
      <paramdef>double <parameter>x-coor</parameter></paramdef>
@@ -708,11 +708,14 @@
      at (<parameter>x-coor</parameter>, <parameter>y-coor</parameter>).
      The boxes dimension is <parameter>height</parameter> by
      <parameter>width</parameter>. The parameter <parameter>mode</parameter>
- determines how the text is type seet. If <parameter>width</parameter>
+ determines how the text is type set. If <parameter>width</parameter>
      and <parameter>height</parameter> are zero, the
      <parameter>mode</parameter> can be "left", "right" or "center".
      If <parameter>width</parameter> or <parameter>height</parameter> is
- unequal zero it can also be "justify" or "fulljustify".</para>
+ unequal zero it can also be "justify" and "fulljustify".</para>
+
+ <para>Returns the number of characters that could not be processed because
+ they did not fit into the box.
 
     <para>
      See also <function>PDF_show</function>,