From 603f0ecfc347c8a7f5fbe65c8367e9fbae94b942 Mon Sep 17 00:00:00 2001 From: Gabor Hojtsy Date: Fri, 19 Apr 2002 14:28:56 +0000 Subject: [PATCH] New structure applied git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78830 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/bc/reference.xml | 29 ++++--- reference/cpdf/reference.xml | 152 ++++++++++++++++++----------------- 2 files changed, 96 insertions(+), 85 deletions(-) diff --git a/reference/bc/reference.xml b/reference/bc/reference.xml index 46c119f21b..86854147cc 100644 --- a/reference/bc/reference.xml +++ b/reference/bc/reference.xml @@ -1,17 +1,20 @@ - + BCMath Arbitrary Precision Mathematics Functions BC math - - For arbitrary precision mathematics PHP offers the Binary Calculator which - supports numbers of any size and precision, represented as strings. - +
+ &reftitle.intro; + + For arbitrary precision mathematics PHP offers the Binary Calculator which + supports numbers of any size and precision, represented as strings. + +
- Requirements + &reftitle.required; Due to changes in the licensing, the BCMATH library is distributed separate from the standard PHP source distribution. @@ -23,7 +26,7 @@
- Installation + &reftitle.install; In PHP 4, these functions are only available if PHP was configured with . @@ -33,18 +36,18 @@
- Runtime Configuration - &no.config; + &reftitle.runtime; + &no.config;
- Resource types - &no.resource; + &reftitle.resources; + &no.resource;
- Predefined constants - &no.constants; + &reftitle.constants; + &no.constants;
diff --git a/reference/cpdf/reference.xml b/reference/cpdf/reference.xml index c1ca442bc9..670ee1ae2a 100644 --- a/reference/cpdf/reference.xml +++ b/reference/cpdf/reference.xml @@ -1,68 +1,67 @@ - + ClibPDF functions ClibPDF - - ClibPDF lets you create PDF documents with PHP. It is available for - download from FastIO, but - requires that you purchase a license for commercial use. ClibPDF - functionality and API are similar to PDFlib. - - - This documentation should be read alongside the ClibPDF manual since it - explains the library in much greater detail. - - - Many functions in the native ClibPDF and the PHP module, as well - as in PDFlib, have the same name. - All functions except for cpdf_open take the - handle for the document as their first parameter. - - - Currently this handle is not used internally since ClibPDF does - not support the creation of several PDF documents at the same time. - Actually, you should not even try it, the results are unpredictable. I - can't oversee what the consequences in a multi threaded environment - are. According to the author of ClibPDF this will change in one of - the next releases (current version when this was written is 1.10). - If you need this functionality use the pdflib module. - - - - The function cpdf_set_font has changed since PHP 3 - to support asian fonts. The encoding parameter is no longer an integer - but a string. - - - - A nice feature of ClibPDF (and PDFlib) is the ability to create the pdf - document completely in memory without using temporary files. It - also provides the ability to pass coordinates in a predefined unit - length. (This feature can also be simulated by - pdf_translate when using the PDFlib. functions.) - - - Another nice feature of ClibPDF is the fact that any page can be modified - at any time even if a new page has been already opened. The function - cpdf_set_current_page allows to leave the current - page and presume modifying an other page. - - - Most of the functions are fairly easy to use. The most difficult part - is probably creating a very simple PDF document at all. The following - example should help you to get started. It creates a document - with one page. The page contains the text "Times-Roman" in an - outlined 30pt font. The text is underlined. - - - Simple ClibPDF Example - +
+ &reftitle.intro; + + ClibPDF lets you create PDF documents with PHP. It is available for + download from FastIO, but + requires that you purchase a license for commercial use. ClibPDF + functionality and API are similar to PDFlib. + + + This documentation should be read alongside the ClibPDF manual since it + explains the library in much greater detail. + + + Many functions in the native ClibPDF and the PHP module, as well + as in PDFlib, have the same name. + All functions except for cpdf_open take the + handle for the document as their first parameter. + + + Currently this handle is not used internally since ClibPDF does + not support the creation of several PDF documents at the same time. + Actually, you should not even try it, the results are unpredictable. I + can't oversee what the consequences in a multi threaded environment + are. According to the author of ClibPDF this will change in one of + the next releases (current version when this was written is 1.10). + If you need this functionality use the pdflib module. + + + A nice feature of ClibPDF (and PDFlib) is the ability to create the pdf + document completely in memory without using temporary files. It + also provides the ability to pass coordinates in a predefined unit + length. (This feature can also be simulated by + pdf_translate when using the PDFlib functions.) + + + Another nice feature of ClibPDF is the fact that any page can be modified + at any time even if a new page has been already opened. The function + cpdf_set_current_page allows to leave the current + page and presume modifying an other page. + + + Most of the functions are fairly easy to use. The most difficult part + is probably creating a very simple PDF document at all. The following + example should help you to get started. It creates a document + with one page. The page contains the text "Times-Roman" in an + outlined 30pt font. The text is underlined. + +
+ +
+ &reftitle.examples; + + Simple ClibPDF Example + ]]> - - - - The pdflib distribution contains a more complex example which creates a - series of pages with an analog clock. Here is that example converted - into PHP using the ClibPDF extension: - - - pdfclock example from pdflib 2.0 distribution - + + + + The pdflib distribution contains a more complex example which creates a + series of pages with an analog clock. Here is that example converted + into PHP using the ClibPDF extension: + + + pdfclock example from pdflib 2.0 distribution + ]]> - - - + + +
+
+ &reftitle.seealso; + + See also the PDFlib + extension documentation. + +
+
&reference.cpdf.functions;
+