- documented new pdf functions

- fixed error in file-upload.xml (sect1 was closed to early)


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@25687 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Uwe Steinmann 2000-06-06 20:04:27 +00:00
parent 99b66315bd
commit 1aeaaeb00a
2 changed files with 152 additions and 3 deletions

View file

@ -149,14 +149,14 @@ Send this file: <INPUT NAME="userfile" TYPE="file">
<computeroutput>$userfile_name[1]</computeroutput> would contain the
value <computeroutput>xwp.out</computeroutput>. Similarly,
<computeroutput>$userfile_size[0]</computeroutput> would contain
<filename>review.html</filename>'s filesize, and so forth.</simpara></sect1>
<filename>review.html</filename>'s filesize, and so forth.</simpara>
<simpara>
<computeroutput>$userfile['name'][0]</computeroutput>,
<computeroutput>$userfile['tmp_name'][0]</computeroutput>,
<computeroutput>$userfile['size'][0]</computeroutput>, and
<computeroutput>$userfile['type'][0]</computeroutput> are also set.
</simpara>
</simpara></sect1>
<sect1 id="features.file-upload.put-method">
<title>PUT method support</title>

View file

@ -844,8 +844,84 @@ fclose($fp);
</funcsynopsis>
<para>
The <function>PDF_set_parameter</function> function sets several
parameters of pdflib.</para>
parameters of pdflib which are of the type string.</para>
<para>
See also <function>PDF_get_value</function>,
<function>PDF_set_value</function>,
<function>PDF_get_parameter</function>.</para>
</refsect1>
</refentry>
<refentry id="function.pdf-get-parameter">
<refnamediv>
<refname>PDF_get_parameter</refname>
<refpurpose>Gets certain parameters</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>string <function>pdf_get_parameter</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>string <parameter>name</parameter></paramdef>
<paramdef>double <parameter>modifier</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_get_parameter</function> function gets several
parameters of pdflib which are of the type string. The function parameter
<parameter>modifier</parameter> characterizes the parameter to get.
If the modifier is not needed it has to be 0.</para>
<para>
See also <function>PDF_get_value</function>,
<function>PDF_set_value</function>,
<function>PDF_set_parameter</function>.</para>
</refsect1>
</refentry>
<refentry id="function.pdf-set-value">
<refnamediv>
<refname>PDF_set_value</refname>
<refpurpose>Sets certain numerical value</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>void <function>pdf_set_value</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>string <parameter>name</parameter></paramdef>
<paramdef>double <parameter>value</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_set_value</function> function sets several
numerical parameters of pdflib.</para>
<para>
See also <function>PDF_get_value</function>,
<function>PDF_get_parameter</function>,
<function>PDF_set_parameter</function>.</para>
</refsect1>
</refentry>
<refentry id="function.pdf-get-value">
<refnamediv>
<refname>PDF_get_value</refname>
<refpurpose>Gets certain numerical value</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>double <function>pdf_get_value</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>string <parameter>name</parameter></paramdef>
<paramdef>double <parameter>modifier</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_get_value</function> function gets several
numerical parameters of pdflib. The function parameter
<parameter>modifier</parameter> characterizes the parameter to get.
If the modifier is not needed it has to be 0.</para>
<para>
See also <function>PDF_set_value</function>,
<function>PDF_get_parameter</function>,
<function>PDF_set_parameter</function>.</para>
</refsect1>
</refentry>
@ -2230,6 +2306,79 @@ pdf_close_image($pdf, $pim);
</refsect1>
</refentry>
<refentry id="function.pdf-set-border-style">
<refnamediv>
<refname>PDF_set_border_style</refname>
<refpurpose>Sets style of border around links and annotations</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>void <function>pdf_set_border_style</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>string <parameter>style</parameter></paramdef>
<paramdef>double <parameter>width</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_set_border_style</function> function sets the
style and width of the suroundig box of links and annotations.
The parameter <parameter>style</parameter> can be 'solid' or
'dashed'.</para>
<para>
See also <function>PDF_set_border_color</function>,
<function>PDF_set_border_dash</function>.</para>
</refsect1>
</refentry>
<refentry id="function.pdf-set-border-color">
<refnamediv>
<refname>PDF_set_border_color</refname>
<refpurpose>Sets color of border around links and annotations</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>void <function>pdf_set_border_color</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>red</parameter></paramdef>
<paramdef>double <parameter>green</parameter></paramdef>
<paramdef>double <parameter>blue</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_set_border_color</function> function sets the
color of the suroundig box of links and annotations.
The three color components have to have a value between 0.0 and
1.0.</para>
<para>
See also <function>PDF_set_border_style</function>,
<function>PDF_set_border_dash</function>.</para>
</refsect1>
</refentry>
<refentry id="function.pdf-set-border-dash">
<refnamediv>
<refname>PDF_set_border_dash</refname>
<refpurpose>Sets dash style of border around links and annotations</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<funcsynopsis>
<funcdef>void <function>pdf_set_border_dash</function></funcdef>
<paramdef>int <parameter>pdf document</parameter></paramdef>
<paramdef>double <parameter>black</parameter></paramdef>
<paramdef>double <parameter>white</parameter></paramdef>
</funcsynopsis>
<para>
The <function>PDF_set_border_dash</function> function sets the
lenght of
black and white areas of a dashed line of the suroundig box of
links and annotations.</para>
<para>
See also <function>PDF_set_border_style</function>,
<function>PDF_set_border_color</function>.</para>
</refsect1>
</refentry>
</reference>
<!-- Keep this comment at the end of the file