jsgoupil                Mon Feb 20 01:59:10 2006 UTC

  Modified files:              
    /phpdoc/en/reference/pdf    reference.xml 
  Log:
  fix WS
  
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/pdf/reference.xml?r1=1.21&r2=1.22&diff_format=u
Index: phpdoc/en/reference/pdf/reference.xml
diff -u phpdoc/en/reference/pdf/reference.xml:1.21 
phpdoc/en/reference/pdf/reference.xml:1.22
--- phpdoc/en/reference/pdf/reference.xml:1.21  Sat Feb 18 21:43:04 2006
+++ phpdoc/en/reference/pdf/reference.xml       Mon Feb 20 01:59:10 2006
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.21 $ -->
+<!-- $Revision: 1.22 $ -->
 <!-- Purpose: utilspec.nontext -->
 <!-- Membership: pecl, external -->
 
@@ -18,8 +18,8 @@
      The documentation in this section is only meant to be an overview
      of the available functions in the PDFlib library and should not be
      considered an exhaustive reference. For the full and detailed 
-        explanation of each function, consult the PDFlib Reference Manual
-        which is included in all PDFlib packages distributed by PDFlib GmbH.
+     explanation of each function, consult the PDFlib Reference Manual
+     which is included in all PDFlib packages distributed by PDFlib GmbH.
      It provides a very good overview of what PDFlib is capable of doing
      and contains the most up-to-date documentation of all functions.
     </para>
@@ -31,13 +31,13 @@
      PostScript points. There are generally 72 PostScript points to an
      inch, but this depends on the output resolution. Please see the
      PDFlib Reference Manual included in the PDFlib distribution for a more
-        thorough explanation of the coordinate system used.
+     thorough explanation of the coordinate system used.
     </para>
-       <para>
+    <para>
      With version 6, PDFlib offers an object oriented API for PHP 5 in 
      addition to the function oriented API for PHP 4. The main difference is
      the following:
-       </para>   
+    </para>   
     <para>
      In PHP 4, first a PDF resource has to be retrieved 
      with a function call like 
@@ -56,21 +56,21 @@
      In PHP 5 however, a PDFlib object is created with
     </para>   
     <para>
-        $p = new PDFlib().
+     $p = new PDFlib().
     </para>   
     <para>
      This object offers all PDFlib API functions as methods, e.g. as with
-       </para>   
+    </para>   
     <para>
      $p->begin_document("", "").
     </para>   
     <para>
      In addition, exceptions have been introduced in PHP 5 which are
      supported by PDFlib 6 and later as well.
-       </para>   
+    </para>   
     <para> 
      Please see the <link linkend="pdf.examples">examples</link> below for
-        more information.
+     more information.
     </para>
     <note>
      <para>
@@ -122,12 +122,12 @@
     functions described in the PDFlib Reference Manual (PDFlib V3.0 or higher) 
are
     supported by PHP 4 with exactly the same meaning and the same
     parameters. However, with PDFlib V5.0.4 or higher all parameters
-       have to be specified. For compatibility reasons,
+    have to be specified. For compatibility reasons,
     this binding for PDFlib still supports most of the deprecated functions, 
but they
     should be replaced by their new versions. PDFlib GmbH will not
     support any problems arising from the use of these deprecated
     functions. The documentation in this section indicates old functions as
-       "Deprecated" and gives the replacement function to be used instead. 
+    "Deprecated" and gives the replacement function to be used instead. 
    </para>
    </section>
 
@@ -138,8 +138,8 @@
      is probably creating your first PDF document. The following
      example should help to get you started. It is developed for PHP 4 and 
      creates the file <filename>hello.pdf</filename> with one page.
-        It defines some document info field contents, loads the Helvetica-Bold
-        font and outputs the text "Hello world! (says PHP)".
+     It defines some document info field contents, loads the Helvetica-Bold
+     font and outputs the text "Hello world! (says PHP)".
     </para>
     <para>
      <example>
@@ -184,13 +184,13 @@
       </programlisting>
      </example>
     </para>
-          
+    
     <para>
      The following example comes with the PDFlib distribution for PHP 5.
-        It uses the new exception handling and object encapsulation features
-        available in PHP 5. It creates the file <filename>hello.pdf</filename> 
with one page.
-        It defines some document info field contents, loads the Helvetica-Bold
-        font and outputs the text "Hello world! (says PHP)".
+     It uses the new exception handling and object encapsulation features
+     available in PHP 5. It creates the file <filename>hello.pdf</filename> 
with one page.
+     It defines some document info field contents, loads the Helvetica-Bold
+     font and outputs the text "Hello world! (says PHP)".
     </para>
     <para>
      <example>
@@ -233,8 +233,8 @@
 }
 catch (PDFlibException $e) {
     die("PDFlib exception occurred in hello sample:\n" .
-       "[" . $e->get_errnum() . "] " . $e->get_apiname() . ": " .
-       $e->get_errmsg() . "\n");
+ "[" . $e->get_errnum() . "] " . $e->get_apiname() . ": " .
+ $e->get_errmsg() . "\n");
 }
 catch (Exception $e) {
     die($e);
@@ -271,4 +271,3 @@
 vim: et tw=78 syn=sgml
 vi: ts=1 sw=1
 -->
-

Reply via email to