CVS update: php3/doc/functions
| From: | ssb | Date: | Fri, 23 Oct 1998 11:39:09 +0000 |
| Subject: | CVS update: php3/doc/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1989@lists.php.net to get a copy of this message | ||
Date: Friday October 23, 1998 @ 7:39
Author: ssb
Update of /repository/php3/doc/functions
In directory asf:/u2/tmp/cvs-serv9630/functions
Modified Files:
datetime.sgml pdf.sgml
Added Files:
oci8.sgml
Log Message:
PDF fixes, some other minor fixes, started on the OCI8 docs
Index: php3/doc/functions/datetime.sgml
diff -c php3/doc/functions/datetime.sgml:1.19 php3/doc/functions/datetime.sgml:1.20
*** php3/doc/functions/datetime.sgml:1.19 Tue Oct 13 07:44:38 1998
--- php3/doc/functions/datetime.sgml Fri Oct 23 07:39:08 1998
***************
*** 72,78 ****
<listitem><simpara>S - English ordinal suffix, textual, 2 characters; i.e.
"th", "nd"</simpara></listitem>
<listitem><simpara>U - seconds since the epoch</simpara></listitem>
<listitem><simpara>Y - year, numeric, 4 digits</simpara></listitem>
! <listitem><simpara>w - day of the week, numeric, 1
digit</simpara></listitem>
<listitem><simpara>y - year, numeric, 2 digits</simpara></listitem>
<listitem><simpara>z - day of the year, numeric; i.e.
"299"</simpara></listitem>
</itemizedlist>
--- 72,78 ----
<listitem><simpara>S - English ordinal suffix, textual, 2 characters; i.e.
"th", "nd"</simpara></listitem>
<listitem><simpara>U - seconds since the epoch</simpara></listitem>
<listitem><simpara>Y - year, numeric, 4 digits</simpara></listitem>
! <listitem><simpara>w - day of the week, numeric, 0 represents
Sunday</simpara></listitem>
<listitem><simpara>y - year, numeric, 2 digits</simpara></listitem>
<listitem><simpara>z - day of the year, numeric; i.e.
"299"</simpara></listitem>
</itemizedlist>
Index: php3/doc/functions/pdf.sgml
diff -c php3/doc/functions/pdf.sgml:1.1 php3/doc/functions/pdf.sgml:1.2
*** php3/doc/functions/pdf.sgml:1.1 Fri Oct 23 02:12:24 1998
--- php3/doc/functions/pdf.sgml Fri Oct 23 07:39:08 1998
***************
*** 5,24 ****
<partintro>
<simpara>
! You can use the pdf functions in PHP to create pdf files
! if you have the PDF library
! (available at http://www.ifconnection.de/~tm/)
by Thomas Merz.
! Please consult the excelent documentation for pdflib shipped
! with the source distribution of pdflib or available at
! http://www.ifconnection.de/~tm/software/pdflib/PDFlib-0.6.pdf.
! As long as this documentation is not complete the pdflib documentation
! should be your first choice. The functions in pdflib and the php3
! module have the same name. The parameteres are also identical.
! You should also understand some of the concepts of pdf to efficiently
! use this module.
</partintro>
! <refentry id="function.pdf_get_info">
<refnamediv>
<refname>PDF_get_info</refname>
<refpurpose>Returns a default info structure for the pdf document</refpurpose>
--- 5,25 ----
<partintro>
<simpara>
! You can use the pdf functions in PHP to create pdf files if you
! have the PDF library (available at <ulink
! url="http://www.ifconnection.de/~tm/">http://www.ifconnection.de/~tm/</ulink>)
! by Thomas Merz. Please consult the excelent documentation for
! pdflib shipped with the source distribution of pdflib or available
! at <ulink
! url="http://www.ifconnection.de/~tm/software/pdflib/PDFlib-0.6.pdf">http://www.ifconnection.de/~tm/software/pdflib/PDFlib-0.6.pdf</ulink>.
! As long as this documentation is not complete the pdflib
! documentation should be your first choice. The functions in pdflib
! and the php3 module have the same name. The parameteres are also
! identical. You should also understand some of the concepts of pdf
! to efficiently use this module.
</partintro>
! <refentry id="function.pdf-get-info">
<refnamediv>
<refname>PDF_get_info</refname>
<refpurpose>Returns a default info structure for the pdf document</refpurpose>
***************
*** 48,54 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_info_creator">
<refnamediv>
<refname>PDF_set_info_creator</refname>
<refpurpose>Fills the creator field of the info structure</refpurpose>
--- 49,55 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-info-creator">
<refnamediv>
<refname>PDF_set_info_creator</refname>
<refpurpose>Fills the creator field of the info structure</refpurpose>
***************
*** 78,84 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_info_title">
<refnamediv>
<refname>PDF_set_info_title</refname>
<refpurpose>Fills the title field of the info structure</refpurpose>
--- 79,85 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-info-title">
<refnamediv>
<refname>PDF_set_info_title</refname>
<refpurpose>Fills the title field of the info structure</refpurpose>
***************
*** 108,114 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_info_subject">
<refnamediv>
<refname>PDF_set_info_subject</refname>
<refpurpose>Fills the subject field of the info structure</refpurpose>
--- 109,115 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-info-subject">
<refnamediv>
<refname>PDF_set_info_subject</refname>
<refpurpose>Fills the subject field of the info structure</refpurpose>
***************
*** 138,144 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_info_keywords">
<refnamediv>
<refname>PDF_set_info_keywords</refname>
<refpurpose>Fills the keywords field of the info structure</refpurpose>
--- 139,145 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-info-keywords">
<refnamediv>
<refname>PDF_set_info_keywords</refname>
<refpurpose>Fills the keywords field of the info structure</refpurpose>
***************
*** 168,174 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_info_author">
<refnamediv>
<refname>PDF_set_info_author</refname>
<refpurpose>Fills the author field of the info structure</refpurpose>
--- 169,175 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-info-author">
<refnamediv>
<refname>PDF_set_info_author</refname>
<refpurpose>Fills the author field of the info structure</refpurpose>
***************
*** 198,204 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_open">
<refnamediv>
<refname>PDF_open</refname>
<refpurpose>Opens a new pdf document</refpurpose>
--- 199,205 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-open">
<refnamediv>
<refname>PDF_open</refname>
<refpurpose>Opens a new pdf document</refpurpose>
***************
*** 214,220 ****
The <function>PDF_set_info_author</function> function opens
a new pdf document. The corresponding file has to be opened
with <function>fopen</function> and the file descriptor passed
! as argument <parameter>file</paramter>. <parameter>info</parameter>
is the an info structure that has to be created with
<function>pdf_get_info</function>.
--- 215,221 ----
The <function>PDF_set_info_author</function> function opens
a new pdf document. The corresponding file has to be opened
with <function>fopen</function> and the file descriptor passed
! as argument <parameter>file</parameter>. <parameter>info</parameter>
is the an info structure that has to be created with
<function>pdf_get_info</function>.
***************
*** 230,236 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_close">
<refnamediv>
<refname>PDF_close</refname>
<refpurpose>Closes the pdf document</refpurpose>
--- 231,237 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-close">
<refnamediv>
<refname>PDF_close</refname>
<refpurpose>Closes the pdf document</refpurpose>
***************
*** 243,253 ****
</funcsynopsis>
<para>
The <function>PDF_close</function> function closes the pdf document
! <paramter>pdfdoc</parameter>.
<note><simpara>
It will not close the file. You need to call an extra
! <functiion>fclose</function> after <function>pdf_close</function>.
</simpara></note>
<para>
--- 244,254 ----
</funcsynopsis>
<para>
The <function>PDF_close</function> function closes the pdf document
! <parameter>pdfdoc</parameter>.
<note><simpara>
It will not close the file. You need to call an extra
! <function>fclose</function> after <function>pdf_close</function>.
</simpara></note>
<para>
***************
*** 257,263 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_begin_page">
<refnamediv>
<refname>PDF_begin_page</refname>
<refpurpose>Starts page</refpurpose>
--- 258,264 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-begin-page">
<refnamediv>
<refname>PDF_begin_page</refname>
<refpurpose>Starts page</refpurpose>
***************
*** 272,278 ****
</funcsynopsis>
<para>
The <function>PDF_begin_page</function> function starts a new
! page with height <paramater>height</parameter> and width
<parameter>width</parameter>.
<para>
--- 273,279 ----
</funcsynopsis>
<para>
The <function>PDF_begin_page</function> function starts a new
! page with height <parameter>height</parameter> and width
<parameter>width</parameter>.
<para>
***************
*** 281,287 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_end_page">
<refnamediv>
<refname>PDF_end_page</refname>
<refpurpose>Ends page</refpurpose>
--- 282,288 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-end-page">
<refnamediv>
<refname>PDF_end_page</refname>
<refpurpose>Ends page</refpurpose>
***************
*** 301,307 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_begin_page">
<refnamediv>
<refname>PDF_begin_page</refname>
<refpurpose></refpurpose>
--- 302,310 ----
</refsect1>
</refentry>
! <!-- ** is this just a cut'n'paste error? -Stig **
!
! <refentry id="function.pdf-begin-page">
<refnamediv>
<refname>PDF_begin_page</refname>
<refpurpose></refpurpose>
***************
*** 325,332 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_show">
<refnamediv>
<refname>PDF_show</refname>
<refpurpose>Output text at current position</refpurpose>
--- 328,336 ----
</refsect1>
</refentry>
+ -->
! <refentry id="function.pdf-show">
<refnamediv>
<refname>PDF_show</refname>
<refpurpose>Output text at current position</refpurpose>
***************
*** 349,355 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_show_xy">
<refnamediv>
<refname>PDF_show</refname>
<refpurpose>Output text at position</refpurpose>
--- 353,359 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-show-xy">
<refnamediv>
<refname>PDF_show</refname>
<refpurpose>Output text at position</refpurpose>
***************
*** 374,380 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_font">
<refnamediv>
<refname>PDF_set_font</refname>
<refpurpose>Select the current font face and size</refpurpose>
--- 378,384 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-font">
<refnamediv>
<refname>PDF_set_font</refname>
<refpurpose>Select the current font face and size</refpurpose>
***************
*** 400,406 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_leading">
<refnamediv>
<refname>PDF_set_leading</refname>
<refpurpose>Sets distance between text lines</refpurpose>
--- 404,410 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-leading">
<refnamediv>
<refname>PDF_set_leading</refname>
<refpurpose>Sets distance between text lines</refpurpose>
***************
*** 423,429 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_text_rendering">
<refnamediv>
<refname>PDF_set_text_rendering</refname>
<refpurpose>Determines how text is rendered</refpurpose>
--- 427,433 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-text-rendering">
<refnamediv>
<refname>PDF_set_text_rendering</refname>
<refpurpose>Determines how text is rendered</refpurpose>
***************
*** 436,443 ****
<paramdef>int <parameter>mode</parameter></paramdef>
</funcsynopsis>
<para>
! The <function>PDF_set_text_rendering/function> function determines
! how text is rendered. The possible values for <paramter>mode</parameter>
are 0=fill text, 1=stroke text, 2=fill and stroke text, 3=invisible,
4=fill text and add it to cliping path, 5=stroke text and add it to
clipping path, 6=fill and stroke text and add
--- 440,447 ----
<paramdef>int <parameter>mode</parameter></paramdef>
</funcsynopsis>
<para>
! The <function>PDF_set_text_rendering</function> function determines
! how text is rendered. The possible values for <parameter>mode</parameter>
are 0=fill text, 1=stroke text, 2=fill and stroke text, 3=invisible,
4=fill text and add it to cliping path, 5=stroke text and add it to
clipping path, 6=fill and stroke text and add
***************
*** 445,451 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_horiz_scaling">
<refnamediv>
<refname>PDF_horiz_scaling</refname>
<refpurpose>Sets horizontal scaling of text</refpurpose>
--- 449,455 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-horiz-scaling">
<refnamediv>
<refname>PDF_horiz_scaling</refname>
<refpurpose>Sets horizontal scaling of text</refpurpose>
***************
*** 463,469 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_text_rise">
<refnamediv>
<refname>PDF_set_text_rise</refname>
<refpurpose>Sets the text rise</refpurpose>
--- 467,473 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-text-rise">
<refnamediv>
<refname>PDF_set_text_rise</refname>
<refpurpose>Sets the text rise</refpurpose>
***************
*** 481,487 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_text_pos">
<refnamediv>
<refname>PDF_set_text_pos</refname>
<refpurpose>Sets text position</refpurpose>
--- 485,491 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-text-pos">
<refnamediv>
<refname>PDF_set_text_pos</refname>
<refpurpose>Sets text position</refpurpose>
***************
*** 504,510 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_char_spacing">
<refnamediv>
<refname>PDF_set_char_spacing</refname>
<refpurpose></refpurpose>
--- 508,514 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-char-spacing">
<refnamediv>
<refname>PDF_set_char_spacing</refname>
<refpurpose></refpurpose>
***************
*** 526,532 ****
</refsect1>
</refentry>
! <refentry id="function.pdf_set_word_spacing">
<refnamediv>
<refname>PDF_set_word_spacing</refname>
<refpurpose>Sets spacing between words</refpurpose>
--- 530,536 ----
</refsect1>
</refentry>
! <refentry id="function.pdf-set-word-spacing">
<refnamediv>
<refname>PDF_set_word_spacing</refname>
<refpurpose>Sets spacing between words</refpurpose>
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net