cvs: phpdoc-fr /reference/pdf/functions pdf-add-annotation.xml pdf-add-bookmark.xml pdf-add-launchlink.xml pdf-add-locallink.xml pdf-add-note.xml
pdf-add-outline.xml pdf-add-pdflink.xml pdf-add-thumbnail.xml pdf-add-weblink.xml pdf-arc.xml pdf-arcn.xml

From: Date: Sun, 11 Dec 2005 15:44:14 +0000
Subject: cvs: phpdoc-fr /reference/pdf/functions pdf-add-annotation.xml pdf-add-bookmark.xml pdf-add-launchlink.xml pdf-add-locallink.xml pdf-add-note.xml
pdf-add-outline.xml pdf-add-pdflink.xml pdf-add-thumbnail.xml pdf-add-weblink.xml pdf-arc.xml pdf-arcn.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-4683@lists.php.net to get a copy of this message
yannick Sun Dec 11 15:44:14 2005 EDT Modified files: /phpdoc-fr/reference/pdf/functions pdf-add-annotation.xml pdf-add-bookmark.xml pdf-add-launchlink.xml pdf-add-locallink.xml pdf-add-note.xml pdf-add-outline.xml pdf-add-pdflink.xml pdf-add-thumbnail.xml pdf-add-weblink.xml pdf-arcn.xml pdf-arc.xml Log: sync with EN

http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-add-annotation.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-add-annotation.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-add-annotation.xml:1.8 phpdoc-fr/reference/pdf/functions/pdf-add-annotation.xml:1.9 --- phpdoc-fr/reference/pdf/functions/pdf-add-annotation.xml:1.8 Tue Mar 8 09:53:46 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-add-annotation.xml Sun Dec 11 15:44:14 2005 @@ -1,20 +1,21 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-add-annotation"> - <refnamediv> - <refname>pdf_add_annotation</refname> - <refpurpose>Obsolète : ajoute une annotation</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para> - <function>pdf_add_outline</function> est remplacé par - <function>pdf_add_note</function> - </para> - </refsect1> - </refentry> + +<refentry id="function.pdf-add-annotation"> + <refnamediv> + <refname>pdf_add_annotation</refname> + <refpurpose>Ajoute une annotation [Obsolète]</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <para> + Cette fonction est obsolète, utilisez la fonction <function>pdf_create_annotation</function> + avec le paramètre <parameter>type=Text</parameter> à la place. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -35,4 +36,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-add-bookmark.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-add-bookmark.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-add-bookmark.xml:1.11 phpdoc-fr/reference/pdf/functions/pdf-add-bookmark.xml:1.12 --- phpdoc-fr/reference/pdf/functions/pdf-add-bookmark.xml:1.11 Sat Jul 23 22:09:56 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-add-bookmark.xml Sun Dec 11 15:44:14 2005 @@ -1,71 +1,20 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-add-bookmark"> - <refnamediv> - <refname>pdf_add_bookmark</refname> - <refpurpose>Ajoute un signet dans la page courante</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>pdf_add_bookmark</methodname> - <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> - <methodparam><type>string</type><parameter>text</parameter></methodparam> - <methodparam><type>int</type><parameter>parent</parameter></methodparam> - <methodparam><type>int</type><parameter>open</parameter></methodparam> - </methodsynopsis> - <para> - <function>pdf_add_bookmark</function> ajoute un signet imbriqué dans la - page courante, sous <parameter>parent</parameter>, ou bien dans le signet - global si <parameter>parent</parameter> est égal à 0. - <function>pdf_add_bookmark</function> retourne une ressource de signet, - qui peut servir de paramètre <parameter>parent</parameter>. - Si <parameter>open</parameter> vaut 1, le signet fils sera visible. - Si <parameter>open</parameter> vaut 0, le signet fils sera invisible. - Les paramètres <parameter>parent</parameter> et - <parameter>open</parameter> sont optionnels avant &php; 4.3.5 ou avec PDFlib - inférieur à 5. - </para> - <para> - <example> - <title>Exemple avec <function>pdf_add_bookmark</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -// création d'un nouveau PDF -$pdf = pdf_new(); -pdf_open_file($pdf); -pdf_set_info($pdf, "Author", "Bob Nijman"); - -// on commence une nouvelle page -pdf_begin_page($pdf, 300, 300); - -// ajout d'un signet en haut de la page -$bookmark = pdf_add_bookmark($pdf, "People"); - -// ajout d'un bookmark nommé -pdf_add_bookmark($pdf, "Rasmus", $bookmark); - -// et un peu de texte -pdf_set_font($pdf, "Helvetica", 20, "host"); -$text = "C'est la page de R"; -$width = pdf_stringwidth($pdf, $text); -pdf_set_text_pos($pdf, (300-$width)/2, 100); -pdf_show($pdf, $text); - -// ferme la page et le PDF -pdf_end_page($pdf); -pdf_close($pdf); - -?> -]]> - </programlisting> - </example> - </para> - </refsect1> +<refentry id="function.pdf-add-bookmark"> + <refnamediv> + <refname>pdf_add_bookmark</refname> + <refpurpose>[Obsolète] Ajoute un signet dans la page courante</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <para> + Cette fonction est obsolète depuis la version 6 de la PDFlib, utilisez la fonction + <function>pdf_create_bookmark</function> à la place. + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file @@ -87,4 +36,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-add-launchlink.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-add-launchlink.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-add-launchlink.xml:1.8 phpdoc-fr/reference/pdf/functions/pdf-add-launchlink.xml:1.9 --- phpdoc-fr/reference/pdf/functions/pdf-add-launchlink.xml:1.8 Tue Mar 8 09:53:46 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-add-launchlink.xml Sun Dec 11 15:44:14 2005 @@ -1,34 +1,36 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-add-launchlink"> - <refnamediv> - <refname>pdf_add_launchlink</refname> - <refpurpose>Ajoute une annotation de lancement dans la page PDF courante</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>pdf_add_launchlink</methodname> - <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> - <methodparam><type>float</type><parameter>llx</parameter></methodparam> - <methodparam><type>float</type><parameter>lly</parameter></methodparam> - <methodparam><type>float</type><parameter>urx</parameter></methodparam> - <methodparam><type>float</type><parameter>ury</parameter></methodparam> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - <function>pdf_add_launchlink</function> ajoute une annotation de lancement - de fichier (type arbitraire de fichiers). - &return.success; - </para> - <para> - Voir aussi - <function>pdf_add_locallink</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.pdf-add-launchlink"> + <refnamediv> + <refname>pdf_add_launchlink</refname> + <refpurpose>[Obsolète] Ajoute une annotation de lancement dans la page PDF courante</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>pdf_add_launchlink</methodname> + <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> + <methodparam><type>float</type><parameter>llx</parameter></methodparam> + <methodparam><type>float</type><parameter>lly</parameter></methodparam> + <methodparam><type>float</type><parameter>urx</parameter></methodparam> + <methodparam><type>float</type><parameter>ury</parameter></methodparam> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + <function>pdf_add_launchlink</function> ajoute un lien vers une ressource web spécifiée par + le paramètre <parameter>filename</parameter>. + </para> + <para> + Cette fonction est dépréciée depuis la version 6 de la PDFlib, utilisez la fonction + <function>pdf_create_action</function> avec le paramètre + <parameter>type=Launch</parameter> et la fonction <function>create_annotation</function> + avec le paramètre <parameter>type=Link</parameter> à la place. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -49,4 +51,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-add-locallink.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-add-locallink.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-add-locallink.xml:1.7 phpdoc-fr/reference/pdf/functions/pdf-add-locallink.xml:1.8 --- phpdoc-fr/reference/pdf/functions/pdf-add-locallink.xml:1.7 Tue Mar 8 09:53:46 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-add-locallink.xml Sun Dec 11 15:44:14 2005 @@ -1,40 +1,43 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-add-locallink"> - <refnamediv> - <refname>pdf_add_locallink</refname> - <refpurpose>Ajoute une annotation de lien dans la page PDF courante</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>pdf_add_locallink</methodname> - <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> - <methodparam><type>float</type><parameter>lowerleftx</parameter></methodparam> - <methodparam><type>float</type><parameter>lowerlefty</parameter></methodparam> - <methodparam><type>float</type><parameter>upperrightx</parameter></methodparam> - <methodparam><type>float</type><parameter>upperrighty</parameter></methodparam> - <methodparam><type>int</type><parameter>page</parameter></methodparam> - <methodparam><type>string</type><parameter>dest</parameter></methodparam> - </methodsynopsis> - <para> - <function>pdf_add_locallink</function> ajoute une annotation de lien - dans la page courante. - &return.success; - </para> - <para> - <parameter>dest</parameter> est le zoom de la page de destination. - Il peut valoir <literal>retain</literal>, <literal>fitpage</literal>, - <literal>fitwidth</literal>, <literal>fitheight</literal> ou - <literal>fitbbox</literal>. - </para> - <para> - Voir aussi - <function>pdf_add_launchlink</function>. - </para> - </refsect1> + +<refentry id="function.pdf-add-locallink"> + <refnamediv> + <refname>pdf_add_locallink</refname> + <refpurpose>[Obsolète] Ajoute une annotation de lien dans la page PDF courante</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>pdf_add_locallink</methodname> + <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> + <methodparam><type>float</type><parameter>lowerleftx</parameter></methodparam> + <methodparam><type>float</type><parameter>lowerlefty</parameter></methodparam> + <methodparam><type>float</type><parameter>upperrightx</parameter></methodparam> + <methodparam><type>float</type><parameter>upperrighty</parameter></methodparam> + <methodparam><type>int</type><parameter>page</parameter></methodparam> + <methodparam><type>string</type><parameter>dest</parameter></methodparam> + </methodsynopsis> + <para> + <function>pdf_add_locallink</function> ajoute une annotation de lien + dans la page courante. + &return.success; + </para> + <para> + <parameter>dest</parameter> est le zoom de la page de destination. + Il peut valoir <literal>retain</literal>, <literal>fitpage</literal>, + <literal>fitwidth</literal>, <literal>fitheight</literal> ou + <literal>fitbbox</literal>. + </para> + <para> + Cette fonction est obsolète depuis la version 6 de la PDFlib, utilisez la fonction + <function>pdf_create_action</function> avec le paramètre <parameter>type=GoTo</parameter> et + la fonction <function>pdf_create_annotation</function> avec le paramètre + <parameter>type=Link</parameter> à la place. + </para> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-add-note.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-add-note.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-add-note.xml:1.9 phpdoc-fr/reference/pdf/functions/pdf-add-note.xml:1.10 --- phpdoc-fr/reference/pdf/functions/pdf-add-note.xml:1.9 Sun Nov 20 22:49:05 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-add-note.xml Sun Dec 11 15:44:14 2005 @@ -1,68 +1,44 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-add-note"> - <refnamediv> - <refname>pdf_add_note</refname> - <refpurpose>Ajoute une annotation dans la page PDF courante</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>pdf_add_note</methodname> - <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> - <methodparam><type>float</type><parameter>llx</parameter></methodparam> - <methodparam><type>float</type><parameter>lly</parameter></methodparam> - <methodparam><type>float</type><parameter>urx</parameter></methodparam> - <methodparam><type>float</type><parameter>ury</parameter></methodparam> - <methodparam><type>string</type><parameter>contents</parameter></methodparam> - <methodparam><type>string</type><parameter>title</parameter></methodparam> - <methodparam><type>string</type><parameter>icon</parameter></methodparam> - <methodparam><type>int</type><parameter>open</parameter></methodparam> - </methodsynopsis> - <para> - <function>pdf_add_note</function> ajoute une annotation dans la page courante. - Le paramètre <parameter>icon</parameter> peut prendre l'une des valeurs - suivantes : - "<literal>comment</literal>", "<literal>insert</literal>", - "<literal>note</literal>", "<literal>paragraph</literal>", - "<literal>newparagraph</literal>", "<literal>key</literal>" et - "<literal>help</literal>". - &return.success; - </para> - <para> - <example> - <title>Ajout d'une note à un document PDF avec la PDFlib</title> - <programlisting role="php"> -<![CDATA[ -<?php -$pdfdoc = pdf_new(); -if (!pdf_open_file($pdfdoc, '')) { - echo 'erreur!'; - exit; -} -pdf_begin_page($pdfdoc, 300, 300); -if ($font = pdf_findfont($pdfdoc, 'Times-Roman', 'host', 0)) { - pdf_setfont($pdfdoc, $font, 10); -} -pdf_set_value($pdfdoc, 'textrendering', 0); -pdf_add_note($pdfdoc, 100, 100, 180, 40, 'Contenu de la note', 'Titre', 'aide', 0); -pdf_show_xy($pdfdoc, 'Example', 100, 100); -pdf_end_page($pdfdoc); -pdf_close($pdfdoc); -$data = pdf_get_buffer($pdfdoc); -header('Content-type: application/pdf'); -header('Content-disposition: inline; filename=example.pdf'); -header('Content-length: '.strlen($data)); -echo $data; -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> + +<refentry id="function.pdf-add-note"> + <refnamediv> + <refname>pdf_add_note</refname> + <refpurpose>[Obsolète] Ajoute une annotation dans la page PDF courante</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>pdf_add_note</methodname> + <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> + <methodparam><type>float</type><parameter>llx</parameter></methodparam> + <methodparam><type>float</type><parameter>lly</parameter></methodparam> + <methodparam><type>float</type><parameter>urx</parameter></methodparam> + <methodparam><type>float</type><parameter>ury</parameter></methodparam> + <methodparam><type>string</type><parameter>contents</parameter></methodparam> + <methodparam><type>string</type><parameter>title</parameter></methodparam> + <methodparam><type>string</type><parameter>icon</parameter></methodparam> + <methodparam><type>int</type><parameter>open</parameter></methodparam> + </methodsynopsis> + <para> + <function>pdf_add_note</function> ajoute une annotation dans la page courante. + Le paramètre <parameter>icon</parameter> peut prendre l'une des valeurs + suivantes : + "<literal>comment</literal>", "<literal>insert</literal>", + "<literal>note</literal>", "<literal>paragraph</literal>", + "<literal>newparagraph</literal>", "<literal>key</literal>" et + "<literal>help</literal>". + &return.success; + </para> + <para> + Cette fonction est obsolète depuis la version 6 de la PDFlib, utilisez la fonction + <function>pdf_create_annotation</function> avec le paramètre + <parameter>type=Text</parameter> à la place. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-add-outline.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-add-outline.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-add-outline.xml:1.7 phpdoc-fr/reference/pdf/functions/pdf-add-outline.xml:1.8 --- phpdoc-fr/reference/pdf/functions/pdf-add-outline.xml:1.7 Tue Mar 8 09:53:46 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-add-outline.xml Sun Dec 11 15:44:14 2005 @@ -1,20 +1,20 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-add-outline"> - <refnamediv> - <refname>pdf_add_outline</refname> - <refpurpose>Obsolète : ajoute un signet dans la page courante</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <para> - <function>pdf_add_outline</function> a été remplacé par - <function>pdf_add_bookmark</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.pdf-add-outline"> + <refnamediv> + <refname>pdf_add_outline</refname> + <refpurpose>[Obsolète] Ajoute un signet dans la page courante</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <para> + Cette fonction est obsolète, utilisez la fonction <function>pdf_create_bookmark</function> à la place. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -35,4 +35,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-add-pdflink.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-add-pdflink.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-add-pdflink.xml:1.7 phpdoc-fr/reference/pdf/functions/pdf-add-pdflink.xml:1.8 --- phpdoc-fr/reference/pdf/functions/pdf-add-pdflink.xml:1.7 Tue Mar 8 09:53:46 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-add-pdflink.xml Sun Dec 11 15:44:14 2005 @@ -1,39 +1,41 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-add-pdflink"> - <refnamediv> - <refname>pdf_add_pdflink</refname> - <refpurpose> - Ajoute une annotation sur un lien vers un fichier dans la page PDF courante - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>pdf_add_pdflink</methodname> - <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> - <methodparam><type>float</type><parameter>bottom_left_x</parameter></methodparam> - <methodparam><type>float</type><parameter>bottom_left_y</parameter></methodparam> - <methodparam><type>float</type><parameter>up_right_x</parameter></methodparam> - <methodparam><type>float</type><parameter>up_right_y</parameter></methodparam> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam><type>int</type><parameter>page</parameter></methodparam> - <methodparam><type>string</type><parameter>dest</parameter></methodparam> - </methodsynopsis> - <para> - <function>pdf_add_pdflink</function> ajoute une annotation sur un lien - vers un fichier dans la page courante. - &return.success; - </para> - <para> - Voir aussi - <function>pdf_add_locallink</function> et - <function>pdf_add_weblink</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.pdf-add-pdflink"> + <refnamediv> + <refname>pdf_add_pdflink</refname> + <refpurpose> + [Obsolète] Ajoute une annotation sur un lien vers un fichier dans la page PDF courante + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>pdf_add_pdflink</methodname> + <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> + <methodparam><type>float</type><parameter>bottom_left_x</parameter></methodparam> + <methodparam><type>float</type><parameter>bottom_left_y</parameter></methodparam> + <methodparam><type>float</type><parameter>up_right_x</parameter></methodparam> + <methodparam><type>float</type><parameter>up_right_y</parameter></methodparam> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam><type>int</type><parameter>page</parameter></methodparam> + <methodparam><type>string</type><parameter>dest</parameter></methodparam> + </methodsynopsis> + <para> + <function>pdf_add_pdflink</function> ajoute une annotation sur un lien + vers un fichier dans la page courante. + &return.success; + </para> + <para> + Cette fonction est obsolète depuis la version 6 de la PDFlib, utilisez la fonction + <function>pdf_create_action</function> avec le paramètre <parameter>type=GoToR</parameter> + et la fonction <function>pdf_create_annotation</function> avec le paramètre + <parameter>type=Link</parameter> à la place. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -54,4 +56,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-add-thumbnail.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-add-thumbnail.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-add-thumbnail.xml:1.6 phpdoc-fr/reference/pdf/functions/pdf-add-thumbnail.xml:1.7 --- phpdoc-fr/reference/pdf/functions/pdf-add-thumbnail.xml:1.6 Tue Mar 8 09:53:46 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-add-thumbnail.xml Sun Dec 11 15:44:14 2005 @@ -1,32 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-add-thumbnail"> - <refnamediv> - <refname>pdf_add_thumbnail</refname> - <refpurpose>Ajoute une miniature sur la page PDF courante</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>pdf_add_thumbnail</methodname> - <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> - <methodparam><type>int</type><parameter>image</parameter></methodparam> - </methodsynopsis> - <para> - <function>pdf_add_thumbnail</function> ajoute une miniature sur la page courante. - La miniature ne peut être plus large ou plus haute que 106 pixels. - &return.success; - </para> - <para> - Voir aussi - <function>pdf_open_image</function>, - <function>pdf_open_image_file</function> et - <function>pdf_open_memory_image</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.pdf-add-thumbnail"> + <refnamediv> + <refname>pdf_add_thumbnail</refname> + <refpurpose>[Obsolète] Ajoute une miniature sur la page PDF courante</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>pdf_add_thumbnail</methodname> + <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> + <methodparam><type>int</type><parameter>image</parameter></methodparam> + </methodsynopsis> + <para> + <function>pdf_add_thumbnail</function> ajoute une miniature sur la page courante. + La miniature ne peut être plus large ou plus haute que 106 pixels. + &return.success; + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -47,4 +42,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-add-weblink.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-add-weblink.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-add-weblink.xml:1.7 phpdoc-fr/reference/pdf/functions/pdf-add-weblink.xml:1.8 --- phpdoc-fr/reference/pdf/functions/pdf-add-weblink.xml:1.7 Tue Mar 8 09:53:46 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-add-weblink.xml Sun Dec 11 15:44:14 2005 @@ -1,30 +1,37 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-add-weblink"> - <refnamediv> - <refname>pdf_add_weblink</refname> - <refpurpose>Ajoute un lien web sur la page PDF courante</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>pdf_add_weblink</methodname> - <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> - <methodparam><type>float</type><parameter>lowerleftx</parameter></methodparam> - <methodparam><type>float</type><parameter>lowerlefty</parameter></methodparam> - <methodparam><type>float</type><parameter>upperrightx</parameter></methodparam> - <methodparam><type>float</type><parameter>upperrighty</parameter></methodparam> - <methodparam><type>string</type><parameter>url</parameter></methodparam> - </methodsynopsis> - <para> - <function>pdf_add_weblink</function> ajoute un lien web <parameter>url</parameter> - sur la page courante. - &return.success; - </para> - </refsect1> - </refentry> + +<refentry id="function.pdf-add-weblink"> + <refnamediv> + <refname>pdf_add_weblink</refname> + <refpurpose>[Obsolète] Ajoute un lien web sur la page PDF courante</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>pdf_add_weblink</methodname> + <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> + <methodparam><type>float</type><parameter>lowerleftx</parameter></methodparam> + <methodparam><type>float</type><parameter>lowerlefty</parameter></methodparam> + <methodparam><type>float</type><parameter>upperrightx</parameter></methodparam> + <methodparam><type>float</type><parameter>upperrighty</parameter></methodparam> + <methodparam><type>string</type><parameter>url</parameter></methodparam> + </methodsynopsis> + <para> + <function>pdf_add_weblink</function> ajoute un lien web <parameter>url</parameter> + sur la page courante. + &return.success; + </para> + <para> + Cette fonction est obsolète depuis la version 6 de la PDFlib, utilisez la fonction + <function>pdf_create_action</function> avec le paramètre <parameter>type=URI</parameter> + et la fonction <function>pdf_create_annotation</function> avec le paramètre + <parameter>type=Link</parameter> à la place. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -45,4 +52,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-arcn.xml?r1=1.7&r2=1.8&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-arcn.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-arcn.xml:1.7 phpdoc-fr/reference/pdf/functions/pdf-arcn.xml:1.8 --- phpdoc-fr/reference/pdf/functions/pdf-arcn.xml:1.7 Tue Mar 8 09:53:46 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-arcn.xml Sun Dec 11 15:44:14 2005 @@ -1,80 +1,32 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-arcn"> - <refnamediv> - <refname>pdf_arcn</refname> - <refpurpose>Dessine un arc de cercle dans le sens horaire</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>pdf_arcn</methodname> - <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> - <methodparam><type>float</type><parameter>x</parameter></methodparam> - <methodparam><type>float</type><parameter>y</parameter></methodparam> - <methodparam><type>float</type><parameter>r</parameter></methodparam> - <methodparam><type>float</type><parameter>alpha</parameter></methodparam> - <methodparam><type>float</type><parameter>beta</parameter></methodparam> - </methodsynopsis> - <para> - <function>pdf_arc</function> dessine un arc de cercle dans le sens horaire - dont le centre est le point de coordonnées (<parameter>x</parameter>, - <parameter>y</parameter>) et de rayon <parameter>r</parameter>, depuis - l'angle <parameter>alpha</parameter> jusqu'à <parameter>beta</parameter>, - exprimés en degrés. - Le schéma réel du cercle est exécuté par la prochaine opération de dessin. - &return.success; - </para> - <para> - <example> - <title>Exemple avec <function>pdf_arcn</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -// Préparation du document -$pdf = pdf_new(); -pdf_open_file($pdf, ""); -pdf_begin_page($pdf, 595, 842); - -// un arc décrit -pdf_arcn($pdf, 200, 700, 100, 0, 90); -pdf_stroke($pdf); - -// un arc rempli -pdf_arcn($pdf, 200, 700, 50, 0, 90); -pdf_fill($pdf); - -// les deux -pdf_setcolor($pdf, "fill", "gray", 0.8); -pdf_arcn($pdf, 400, 700, 50, 0, 90); -pdf_fill_stroke($pdf); - -// Fin du document -pdf_end_page($pdf); -pdf_close($pdf); - -header("Content-type: application/pdf"); -echo pdf_get_buffer($pdf); - -pdf_delete($pdf); -?> -]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>pdf_arc</function>, - <function>pdf_circle</function>, - <function>pdf_stroke</function>, - <function>pdf_fill</function> et - <function>pdf_fillstroke</function>. - </para> - </refsect1> - </refentry> +<refentry id="function.pdf-arcn"> + <refnamediv> + <refname>pdf_arcn</refname> + <refpurpose>Dessine un arc de cercle dans le sens horaire</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>pdf_arcn</methodname> + <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> + <methodparam><type>float</type><parameter>x</parameter></methodparam> + <methodparam><type>float</type><parameter>y</parameter></methodparam> + <methodparam><type>float</type><parameter>r</parameter></methodparam> + <methodparam><type>float</type><parameter>alpha</parameter></methodparam> + <methodparam><type>float</type><parameter>beta</parameter></methodparam> + </methodsynopsis> + <para> + Excepté pour la direction du dessin, cette fonction fonctionne exactement + de la même façon que la fonction <function>pdf_arc</function>. + En particulier, les angles sont toujours mesurées dans le sens horaire + depuis l'axe x positif. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -95,4 +47,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/diff.php/phpdoc-fr/reference/pdf/functions/pdf-arc.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/pdf/functions/pdf-arc.xml diff -u phpdoc-fr/reference/pdf/functions/pdf-arc.xml:1.8 phpdoc-fr/reference/pdf/functions/pdf-arc.xml:1.9 --- phpdoc-fr/reference/pdf/functions/pdf-arc.xml:1.8 Tue Mar 8 09:53:46 2005 +++ phpdoc-fr/reference/pdf/functions/pdf-arc.xml Sun Dec 11 15:44:14 2005 @@ -1,79 +1,34 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <refentry id="function.pdf-arc"> - <refnamediv> - <refname>pdf_arc</refname> - <refpurpose>Dessine un arc de cercle PDF dans le sens antihoraire</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>pdf_arc</methodname> - <methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam> - <methodparam><type>float</type><parameter>x</parameter></methodparam> - <methodparam><type>float</type><parameter>y</parameter></methodparam> - <methodparam><type>float</type><parameter>r</parameter></methodparam> - <methodparam><type>float</type><parameter>alpha</parameter></methodparam> - <methodparam><type>float</type><parameter>beta</parameter></methodparam> - </methodsynopsis> - <para> - <function>pdf_arc</function> dessine un arc de cercle dans le sens antihoraire, - dont le centre est le point de coordonnées (<parameter>x</parameter>, - <parameter>y</parameter>) et de rayon <parameter>r</parameter>, depuis - l'angle <parameter>alpha</parameter> jusqu'à <parameter>beta</parameter>, - exprimés en degrés. - Le schéma réel du cercle est exécuté par la prochaine opération de dessin. - &return.success; - </para> - <para> - <example> - <title>Exemple avec <function>pdf_arcn</function></title> - <programlisting role="php"> -<![CDATA[ -<?php -// Préparation du document -$pdf = pdf_new(); -pdf_open_file($pdf, ""); -pdf_begin_page($pdf, 595, 842); -// un arc décrit -pdf_arc($pdf, 200, 700, 100, 0, 90); -pdf_stroke($pdf); - -// un arc rempli -pdf_arc($pdf, 200, 700, 50, 0, 90); -pdf_fill($pdf); - -// les deux -pdf_setcolor($pdf, "fill", "gray", 0.8); -pdf_arc($pdf, 400, 700, 50, 0, 90); -pdf_fill_stroke($pdf); - -// Fin du document -pdf_end_page($pdf); -pdf_close($pdf); - -header("Content-type: application/pdf"); -echo pdf_get_buffer($pdf); - -pdf_delete($pdf); -?> -]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>pdf_arcn</function>, - <function>pdf_circle</function>, - <function>pdf_stroke</function>, - <function>pdf_fill</function> et - <function>pdf_fill_stroke</function>. - </para> - </refsect1> - </refentry> +<refentry id="function.pdf-arc"> + <refnamediv> + <refname>pdf_arc</refname> + <refpurpose>Dessine un arc de cercle PDF dans le sens anti-horaire</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>pdf_arc</methodname> + <methodparam><type>resource</type><parameter>p</parameter></methodparam> + <methodparam><type>float</type><parameter>x</parameter></methodparam> + <methodparam><type>float</type><parameter>y</parameter></methodparam> + <methodparam><type>float</type><parameter>r</parameter></methodparam> + <methodparam><type>float</type><parameter>alpha</parameter></methodparam> + <methodparam><type>float</type><parameter>beta</parameter></methodparam> + </methodsynopsis> + <para> + <function>pdf_arc</function> dessine un arc de cercle dans le sens antihoraire, + dont le centre est le point de coordonnées (<parameter>x</parameter>, + <parameter>y</parameter>) et de rayon <parameter>r</parameter>, depuis + l'angle <parameter>alpha</parameter> jusqu'à <parameter>beta</parameter>, + exprimés en degrés. + Le schéma réel du cercle est exécuté par la prochaine opération de dessin. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -94,4 +49,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file
« previous php.doc.fr (#4683) next »