From a9171a6d94fdb40a745bcfc410c92de6fedc77b7 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 9 Dec 1999 17:41:46 +0000 Subject: [PATCH] - some corrections found when translating into german git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@16960 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/pdf.sgml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/functions/pdf.sgml b/functions/pdf.sgml index 298cfe110e..dc7e88ef3e 100644 --- a/functions/pdf.sgml +++ b/functions/pdf.sgml @@ -148,7 +148,7 @@ fclose($fp); Doing the same with pdflib 2.x looks like the following: - Creating a PDF document with pdflib 2.0 + Creating a PDF document with pdflib 2.x <?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 clibpdf module): - pdfclock example from pdflib 2.0 distribution + pdfclock example from pdflib 2.x distribution <?php $pdffilename = "clock.pdf"; @@ -290,7 +290,7 @@ fclose($fp); PDF_get_info - Returns a default info structure for a pdf document + Returns an empty info structure for a pdf document Description @@ -299,13 +299,13 @@ fclose($fp); string filename - The PDF_get_info function returns a - default info structure for the pdf document. It should be filled + The PDF_get_info 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. - This functions is not available if pdflib 2.0 support is activated. + This functions is not available if pdflib 2.x support is activated. @@ -331,7 +331,7 @@ fclose($fp); The PDF_set_info_creator 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 PDF_get_info and before PDF_open. Calling it after PDF_open will have no effect on the document. @@ -341,7 +341,7 @@ fclose($fp); - 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 pdf_open. Consequently, pdf_open has to be called before this function.