vrana Fri Jul 22 08:09:31 2005 EDT
Modified files: /phpdoc/en/reference/pdf/functions pdf-add-bookmark.xml pdf-findfont.xml pdf-get-parameter.xml pdf-get-value.xml pdf-open-file.xml pdf-open-image-file.xml pdf-setcolor.xml pdf-show-boxed.xml pdf-stringwidth.xml Log: Optional parameters depend on PDFlib version (bug #33818)
http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml diff -u phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml:1.6 phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml:1.7 --- phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml:1.6 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-add-bookmark.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --> <refentry id="function.pdf-add-bookmark"> <refnamediv> @@ -22,7 +22,7 @@ If <parameter>open</parameter> = 1, child bookmarks will be folded out, and invisible if <parameter>open</parameter> = 0. Parameters <parameter>parent</parameter> and <parameter>open</parameter> - were optional before PHP 5. + are optional before PHP 4.3.5 or with PDFlib less than 5. </para> <para> <example> http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-findfont.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-findfont.xml diff -u phpdoc/en/reference/pdf/functions/pdf-findfont.xml:1.6 phpdoc/en/reference/pdf/functions/pdf-findfont.xml:1.7 --- phpdoc/en/reference/pdf/functions/pdf-findfont.xml:1.6 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-findfont.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --> <refentry id="function.pdf-findfont"> <refnamediv> @@ -23,7 +23,8 @@ <literal>macroman</literal>, <literal>winansi</literal>, <literal>host</literal>, a user-defined encoding name or the name of a CMap. - Parameter <parameter>embed</parameter> was optional before PHP 5. + Parameter <parameter>embed</parameter> is optional before PHP 4.3.5 or + with PDFlib less than 5. </para> <para> <function>pdf_findfont</function> returns a font handle or &false; http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml diff -u phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml:1.5 phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml:1.6 --- phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml:1.5 Sun Aug 15 11:58:37 2004 +++ phpdoc/en/reference/pdf/functions/pdf-get-parameter.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --> <refentry id="function.pdf-get-parameter"> <refnamediv> @@ -16,7 +16,8 @@ </methodsynopsis> <para> Get the contents of some PDFlib parameter with string type. - Parameter <parameter>modifier</parameter> was optional before PHP 5. + Parameter <parameter>modifier</parameter> is optional before PHP 4.3.5 + or with PDFlib less than 5. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-get-value.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-get-value.xml diff -u phpdoc/en/reference/pdf/functions/pdf-get-value.xml:1.5 phpdoc/en/reference/pdf/functions/pdf-get-value.xml:1.6 --- phpdoc/en/reference/pdf/functions/pdf-get-value.xml:1.5 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-get-value.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --> <refentry id="function.pdf-get-value"> <refnamediv> @@ -16,7 +16,8 @@ </methodsynopsis> <para> Get the contents of some PDFlib parameter with float type. - Parameter <parameter>modifier</parameter> was optional before PHP 5. + Parameter <parameter>modifier</parameter> is optional before PHP 4.3.5 + or with PDFlib less than 5. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-open-file.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-open-file.xml diff -u phpdoc/en/reference/pdf/functions/pdf-open-file.xml:1.5 phpdoc/en/reference/pdf/functions/pdf-open-file.xml:1.6 --- phpdoc/en/reference/pdf/functions/pdf-open-file.xml:1.5 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-open-file.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --> <refentry id="function.pdf-open-file"> <refnamediv> @@ -19,7 +19,8 @@ will be generated in memory instead of on file. The result must be fetched by the client with the <function>pdf_get_buffer</function> function. - Parameter <parameter>filename</parameter> was optional before PHP 5. + Parameter <parameter>filename</parameter> is optional before PHP 4.3.5 or + with PDFlib less than 5. &return.success; </para> <para> http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml diff -u phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml:1.5 phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml:1.6 --- phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml:1.5 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-open-image-file.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --> <refentry id="function.pdf-open-image-file"> <refnamediv> @@ -25,7 +25,8 @@ <parameter>intparam</parameter> is either 0, the image id of the applied mask, or the page. Parameters <parameter>stringparam</parameter> and - <parameter>intparam</parameter> were optional before PHP 5. + <parameter>intparam</parameter> are optional before PHP 4.3.5 or with + PDFlib less than 5. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-setcolor.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-setcolor.xml diff -u phpdoc/en/reference/pdf/functions/pdf-setcolor.xml:1.7 phpdoc/en/reference/pdf/functions/pdf-setcolor.xml:1.8 --- phpdoc/en/reference/pdf/functions/pdf-setcolor.xml:1.7 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-setcolor.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --> <refentry id="function.pdf-setcolor"> <refnamediv> @@ -33,7 +33,8 @@ otherwise noted, the color components are floating-point values that range from 0 to 1. Parameters <parameter>c2</parameter>, <parameter>c3</parameter> and - <parameter>c4</parameter> were optional before PHP 5. + <parameter>c4</parameter> are optional before PHP 4.3.5 or with PDFlib + less than 5. </para> <para> For <literal>gray</literal> only <parameter>c1</parameter> is used. http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-show-boxed.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-show-boxed.xml diff -u phpdoc/en/reference/pdf/functions/pdf-show-boxed.xml:1.6 phpdoc/en/reference/pdf/functions/pdf-show-boxed.xml:1.7 --- phpdoc/en/reference/pdf/functions/pdf-show-boxed.xml:1.6 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-show-boxed.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --> <refentry id="function.pdf-show-boxed"> <refnamediv> @@ -28,7 +28,8 @@ If <parameter>width</parameter> and <parameter>height</parameter> are 0, only a single line is placed at the point (<parameter>left</parameter>, <parameter>top</parameter>) in the requested <parameter>mode</parameter>. - Parameter <parameter>feature</parameter> was optional before PHP 5. + Parameter <parameter>feature</parameter> is optional before PHP 4.3.5 or + with PDFlib less than 5. </para> <para> Returns the number of characters that did not fit in the specified http://cvs.php.net/diff.php/phpdoc/en/reference/pdf/functions/pdf-stringwidth.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc/en/reference/pdf/functions/pdf-stringwidth.xml diff -u phpdoc/en/reference/pdf/functions/pdf-stringwidth.xml:1.6 phpdoc/en/reference/pdf/functions/pdf-stringwidth.xml:1.7 --- phpdoc/en/reference/pdf/functions/pdf-stringwidth.xml:1.6 Fri Aug 13 08:05:16 2004 +++ phpdoc/en/reference/pdf/functions/pdf-stringwidth.xml Fri Jul 22 08:09:30 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 --> <refentry id="function.pdf-stringwidth"> <refnamediv> @@ -16,15 +16,13 @@ <methodparam><type>float</type><parameter>size</parameter></methodparam> </methodsynopsis> <para> - Returns the width of <parameter>text</parameter> using the last - font set by <function>pdf_setfont</function>. If the optional - parameters <parameter>font</parameter> and - <parameter>size</parameter> are specified, the width will be - calculated using that font and size instead. Please note that - <parameter>font</parameter> is a font handle returned by - <function>pdf_findfont</function>. + Returns the width of <parameter>text</parameter> using the parameters + <parameter>font</parameter> and <parameter>size</parameter>. + Please note that <parameter>font</parameter> is a font handle returned + by <function>pdf_findfont</function>. Parameters <parameter>font</parameter> and <parameter>size</parameter> - were optional before PHP 5. + are optional before PHP 4.3.5 or with PDFlib less than 5. If they are + not specified, the font set by <function>pdf_setfont</function> is used. </para> <note> <para>