mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
- marked optional arguments propperly
- completed documentation of pdf_set_font(), pdf_add_outline() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@17611 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
41a3303bee
commit
9861c56baa
1 changed files with 11 additions and 4 deletions
|
@ -701,7 +701,7 @@ fclose($fp);
|
|||
<paramdef>string <parameter>font name</parameter></paramdef>
|
||||
<paramdef>double <parameter>size</parameter></paramdef>
|
||||
<paramdef>int <parameter>encoding</parameter></paramdef>
|
||||
<paramdef>int <parameter>embed</parameter></paramdef>
|
||||
<paramdef>int <parameter><optional>embed</optional></parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
The <function>PDF_set_font</function> function sets the
|
||||
|
@ -1709,14 +1709,21 @@ PDF_stroke($pdf);
|
|||
<refsect1>
|
||||
<title>Description</title>
|
||||
<funcsynopsis>
|
||||
<funcdef>void <function>pdf_add_outline</function></funcdef>
|
||||
<funcdef>int <function>pdf_add_outline</function></funcdef>
|
||||
<paramdef>int <parameter>pdf document</parameter></paramdef>
|
||||
<paramdef>string <parameter>text</parameter></paramdef>
|
||||
<paramdef>int <parameter><optional>parent</optional></parameter></paramdef>
|
||||
<paramdef>int <parameter><optional>open</optional></parameter></paramdef>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
The <function>PDF_add_outline</function> function adds a bookmark
|
||||
with text <parameter>text</parameter> that points to the current page.</para>
|
||||
|
||||
with text <parameter>text</parameter> that points to the current page.
|
||||
The bookmark is inserted as a child of <parameter>parent</parameter> and
|
||||
is by default open if <parameter>open</parameter> is not 0. The
|
||||
return value is an identifier for the bookmark which can be used
|
||||
as a parent for other bookmarks. Therefore you can build up hierarchies
|
||||
of bookmarks.
|
||||
</para>
|
||||
<simpara>
|
||||
Unfortunately pdflib does not make a copy of the string, which forces
|
||||
PHP to allocate the memory. Currently this piece of memory is not
|
||||
|
|
Loading…
Reference in a new issue