mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- some corrections found when translating into german
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16960 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9518e04a60
commit
a9171a6d94
1 changed files with 9 additions and 9 deletions
|
@ -148,7 +148,7 @@ fclose($fp);
|
|||
Doing the same with pdflib 2.x looks like the following:
|
||||
|
||||
<example>
|
||||
<title>Creating a PDF document with pdflib 2.0</title>
|
||||
<title>Creating a PDF document with pdflib 2.x</title>
|
||||
<programlisting>
|
||||
<?php
|
||||
$fp = fopen("test.pdf", "w");
|
||||
|
@ -178,12 +178,12 @@ echo "<A HREF=getpdf.php3>finished</A>";
|
|||
|
||||
The pdflib distribution contains a more complex example which
|
||||
creates a serious of pages with an analog clock. This example
|
||||
converted into PHP using pdflib 2.0 looks as the following (you
|
||||
converted into PHP using pdflib 2.x looks as the following (you
|
||||
can see the same example in the documentation for the
|
||||
<link linkend="ref.cpdf">clibpdf module)</link>:
|
||||
|
||||
<example>
|
||||
<title>pdfclock example from pdflib 2.0 distribution</title>
|
||||
<title>pdfclock example from pdflib 2.x distribution</title>
|
||||
<programlisting>
|
||||
<?php
|
||||
$pdffilename = "clock.pdf";
|
||||
|
@ -290,7 +290,7 @@ fclose($fp);
|
|||
<refentry id="function.pdf-get-info">
|
||||
<refnamediv>
|
||||
<refname>PDF_get_info</refname>
|
||||
<refpurpose>Returns a default info structure for a pdf document</refpurpose>
|
||||
<refpurpose>Returns an empty info structure for a pdf document</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -299,13 +299,13 @@ fclose($fp);
|
|||
<paramdef>string <parameter>filename</parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
The <function>PDF_get_info</function> function returns a
|
||||
default info structure for the pdf document. It should be filled
|
||||
The <function>PDF_get_info</function> function returns an
|
||||
empty info structure for the pdf document. It should be filled
|
||||
with appropriate information like the author, subject etc. of
|
||||
the document.
|
||||
|
||||
<note><simpara>
|
||||
This functions is not available if pdflib 2.0 support is activated.
|
||||
This functions is not available if pdflib 2.x support is activated.
|
||||
</simpara></note></para>
|
||||
|
||||
<para>
|
||||
|
@ -331,7 +331,7 @@ fclose($fp);
|
|||
</funcsynopsis>
|
||||
<para>
|
||||
The <function>PDF_set_info_creator</function> function sets the
|
||||
creator of a pdf document. It has to be called after
|
||||
creator field of a pdf document. It has to be called after
|
||||
<function>PDF_get_info</function> and before
|
||||
<function>PDF_open</function>. Calling it after <function>PDF_open</function>
|
||||
will have no effect on the document.
|
||||
|
@ -341,7 +341,7 @@ fclose($fp);
|
|||
</simpara></note>
|
||||
|
||||
<note><simpara>
|
||||
This function takes a different first parameter if pdflib 2.0 support
|
||||
This function takes a different first parameter if pdflib 2.x support
|
||||
is activated. The first parameter has to be the identifier of the
|
||||
pdf document as returned by <function>pdf_open</function>. Consequently,
|
||||
<function>pdf_open</function> has to be called before this function.
|
||||
|
|
Loading…
Reference in a new issue