cvs: phpdoc-fr /reference/fdf/functions fdf-add-doc-javascript.xml fdf-add-template.xml fdf-close.xml fdf-create.xml fdf-enum-values.xml fdf-errno.xml
fdf-error.xml fdf-get-ap.xml fdf-get-attachment.xml fdf-get-encoding.xml fdf-get-file.xml fdf-get-flags.xml fdf-get-opt.xml fdf-get-status.xml
fdf-get-value.xml fdf-get-version.xml fdf-header.xml fdf-next-field-name.xml fdf-open-string.xml fdf-open.xml fdf-remove-item.xml fdf-save-string.xml
fdf-save.xml fdf-set-ap.xml fdf-set-encoding.xml fdf-set-file.xml fdf-set-flags.xml fdf-set-javascript-action.xml fdf-set-on-import-javascript.xml
fdf-set-opt.xml fdf-set-status.xml fdf-set-submit-form-action.xml fdf-set-target-frame.xml fdf-set-value.xml fdf-set-version.xml
/reference/image/functions getimagesize.xml imagefilter.xml imagefttext.xml imagesetbrush.xml imagesettile.xml

From: Date: Tue, 20 Feb 2007 21:20:18 +0000
Subject: cvs: phpdoc-fr /reference/fdf/functions fdf-add-doc-javascript.xml fdf-add-template.xml fdf-close.xml fdf-create.xml fdf-enum-values.xml fdf-errno.xml
fdf-error.xml fdf-get-ap.xml fdf-get-attachment.xml fdf-get-encoding.xml fdf-get-file.xml fdf-get-flags.xml fdf-get-opt.xml fdf-get-status.xml
fdf-get-value.xml fdf-get-version.xml fdf-header.xml fdf-next-field-name.xml fdf-open-string.xml fdf-open.xml fdf-remove-item.xml fdf-save-string.xml
fdf-save.xml fdf-set-ap.xml fdf-set-encoding.xml fdf-set-file.xml fdf-set-flags.xml fdf-set-javascript-action.xml fdf-set-on-import-javascript.xml
fdf-set-opt.xml fdf-set-status.xml fdf-set-submit-form-action.xml fdf-set-target-frame.xml fdf-set-value.xml fdf-set-version.xml
/reference/image/functions getimagesize.xml imagefilter.xml imagefttext.xml imagesetbrush.xml imagesettile.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-5248@lists.php.net to get a copy of this message
yannick Tue Feb 20 21:20:18 2007 UTC Modified files: /phpdoc-fr/reference/fdf/functions fdf-add-doc-javascript.xml fdf-add-template.xml fdf-close.xml fdf-create.xml fdf-enum-values.xml fdf-errno.xml fdf-error.xml fdf-get-ap.xml fdf-get-attachment.xml fdf-get-encoding.xml fdf-get-file.xml fdf-get-flags.xml fdf-get-opt.xml fdf-get-status.xml fdf-get-value.xml fdf-get-version.xml fdf-header.xml fdf-next-field-name.xml fdf-open-string.xml fdf-open.xml fdf-remove-item.xml fdf-save-string.xml fdf-save.xml fdf-set-ap.xml fdf-set-encoding.xml fdf-set-file.xml fdf-set-flags.xml fdf-set-javascript-action.xml fdf-set-on-import-javascript.xml fdf-set-opt.xml fdf-set-status.xml fdf-set-submit-form-action.xml fdf-set-target-frame.xml fdf-set-value.xml fdf-set-version.xml /phpdoc-fr/reference/image/functions getimagesize.xml imagefilter.xml imagefttext.xml imagesetbrush.xml imagesettile.xml Log: sync with EN

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-add-doc-javascript.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-add-doc-javascript.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-add-doc-javascript.xml:1.7 phpdoc-fr/reference/fdf/functions/fdf-add-doc-javascript.xml:1.8 --- phpdoc-fr/reference/fdf/functions/fdf-add-doc-javascript.xml:1.7 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-add-doc-javascript.xml Tue Feb 20 21:20:18 2007 @@ -1,30 +1,77 @@ <?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.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> -<refentry id="function.fdf-add-doc-javascript"> + +<refentry id='function.fdf-add-doc-javascript'> <refnamediv> <refname>fdf_add_doc_javascript</refname> <refpurpose>Ajoute du code javascript dans un document FDF</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>fdf_add_doc_javascript</methodname> - <methodparam><type>resource</type><parameter>fdfdoc</parameter></methodparam> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>script_name</parameter></methodparam> <methodparam><type>string</type><parameter>script_code</parameter></methodparam> </methodsynopsis> <para> - <function>fdf_add_doc_javascript</function> ajoute le code javascript <parameter>script_code</parameter> + Ajoute le code javascript <parameter>script_code</parameter> dans le document <parameter>fdfdoc</parameter>, qu'Acrobat ajoutera aux scripts de - niveau document, une fois que FDF sera importé. Il est fortement - recommandé d'utiliser '\r' comme séparateur de lignes dans le code - <parameter>script_code</parameter>. + niveau document, une fois le FDF importé. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>script_name</parameter></term> + <listitem> + <para> + Le nom du script. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>script_code</parameter></term> + <listitem> + <para> + Le code du script. Il est fortement recommandé d'utiliser '\r' comme + séparateur de lignes dans le code <parameter>script_code</parameter>. + </para> + </listitem> + </varlistentry> + </variablelist> </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> - <title>Ajouter du code JavaScript à un document FDF</title> + <title>Ajout de code JavaScript à un document FDF</title> <programlisting role="php"> <![CDATA[ <?php @@ -35,20 +82,20 @@ ]]> </programlisting> <simpara> - Cet exemple va créer un document FDF comme celui ci : + Cet exemple va créer un document FDF comme celui ci : </simpara> <screen> <![CDATA[ %FDF-1.2 -%âãìÓ +%âãÏÓ 1 0 obj -<< -/FDF << /JavaScript << /Doc [ (PlusOne)(function PlusOne\(x\)\r{\r return x+1;\r}\r)] >> >> ->> +<< +/FDF << /JavaScript << /Doc [ (PlusOne)(function PlusOne\(x\)\r{\r return x+1;\r}\r)] >> >> +>> endobj trailer << -/Root 1 0 R +/Root 1 0 R >> %%EOF @@ -57,6 +104,7 @@ </example> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -78,4 +126,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-add-template.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-add-template.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-add-template.xml:1.5 phpdoc-fr/reference/fdf/functions/fdf-add-template.xml:1.6 --- phpdoc-fr/reference/fdf/functions/fdf-add-template.xml:1.5 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-add-template.xml Tue Feb 20 21:20:18 2007 @@ -1,27 +1,28 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-add-template"> - <refnamediv> - <refname>fdf_add_template</refname> - <refpurpose>Ajoute un template dans le document FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_add_template</methodname> - <methodparam><type>resource</type><parameter>fdfdoc</parameter></methodparam> - <methodparam><type>int</type><parameter>newpage</parameter></methodparam> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam><type>string</type><parameter>template</parameter></methodparam> - <methodparam><type>int</type><parameter>rename</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> + +<refentry id='function.fdf-add-template'> + <refnamediv> + <refname>fdf_add_template</refname> + <refpurpose>Ajoute un template dans le document FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_add_template</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>int</type><parameter>newpage</parameter></methodparam> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam><type>string</type><parameter>template</parameter></methodparam> + <methodparam><type>int</type><parameter>rename</parameter></methodparam> + </methodsynopsis> + &warn.undocumented.func; + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -42,4 +43,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-close.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-close.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-close.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-close.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-close.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-close.xml Tue Feb 20 21:20:18 2007 @@ -1,27 +1,60 @@ <?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.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-close"> - <refnamediv> - <refname>fdf_close</refname> - <refpurpose>Ferme un document FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>void</type><methodname>fdf_close</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_close</function> ferme le document FDF. - </para> - <para> - Voir aussi - <function>fdf_open</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-close"> + <refnamediv> + <refname>fdf_close</refname> + <refpurpose>Ferme un document FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>fdf_close</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + </methodsynopsis> + <para> + Ferme le document FDF. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_open</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -42,4 +75,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-create.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-create.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-create.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-create.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-create.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-create.xml Tue Feb 20 21:20:18 2007 @@ -1,32 +1,48 @@ <?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.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-create"> - <refnamediv> - <refname>fdf_create</refname> - <refpurpose>Crée un nouveau document FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>fdf_create</methodname> - <void/> - </methodsynopsis> - <para> - <function>fdf_create</function> crée un nouveau document FDF. - Cette fonction est nécessaire pour ceux qui veulent pré - remplir les champs d'un formulaire dans un fichier PDF. - </para> - <para> - <example> - <title>Pré remplir un formulaire PDF</title> - <programlisting role="php"> + +<refentry id="function.fdf-create"> + <refnamediv> + <refname>fdf_create</refname> + <refpurpose>Crée un nouveau document FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>fdf_create</methodname> + <void/> + </methodsynopsis> + <para> + Crée un nouveau document FDF. + </para> + <para> + Cette fonction est nécessaire pour ceux qui veulent pré-remplir + les champs d'un formulaire dans un fichier PDF. + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un gestionnaire de document FDF, ou &false; + si une erreur survient. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Pré-remplir un formulaire PDF</title> + <programlisting role="php"> <![CDATA[ <?php $outfdf = fdf_create(); fdf_set_value($outfdf, "volume", $volume, 0); - + fdf_set_file($outfdf, "http:/testfdf/resultlabel.pdf"); fdf_save($outfdf, "outtest.fdf"); fdf_close($outfdf); @@ -36,17 +52,23 @@ unlink("outtest.fdf"); ?> ]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>fdf_close</function>, - <function>fdf_save</function> et - <function>fdf_open</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_close</function></member> + <member><function>fdf_save</function></member> + <member><function>fdf_open</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -67,4 +89,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-enum-values.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-enum-values.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-enum-values.xml:1.6 phpdoc-fr/reference/fdf/functions/fdf-enum-values.xml:1.7 --- phpdoc-fr/reference/fdf/functions/fdf-enum-values.xml:1.6 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-enum-values.xml Tue Feb 20 21:20:18 2007 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-enum-values"> - <refnamediv> - <refname>fdf_enum_values</refname> - <refpurpose>Appelle une fonction utilisateur à chaque valeur FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_enum_values</methodname> - <methodparam><type>resource</type><parameter>fdfdoc</parameter></methodparam> - <methodparam><type>callback</type><parameter>function</parameter></methodparam> - <methodparam choice='opt'><type>mixed</type><parameter>userdata</parameter></methodparam> - </methodsynopsis> - <para> -&warn.undocumented.func; - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-enum-values"> + <refnamediv> + <refname>fdf_enum_values</refname> + <refpurpose>Appelle une fonction utilisateur à chaque valeur FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_enum_values</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>callback</type><parameter>function</parameter></methodparam> + <methodparam choice='opt'><type>mixed</type><parameter>userdata</parameter></methodparam> + </methodsynopsis> + &warn.undocumented.func; + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -40,4 +41,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-errno.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-errno.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-errno.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-errno.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-errno.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-errno.xml Tue Feb 20 21:20:18 2007 @@ -1,29 +1,44 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-errno"> <refnamediv> <refname>fdf_errno</refname> <refpurpose>Retourne le code d'erreur de la dernière opération FDF</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>int</type><methodname>fdf_errno</methodname> <void/> </methodsynopsis> <para> - <function>fdf_errno</function> retourne le code d'erreur généré - par la dernière opération FDF. Ce code vaut 0 s'il n'y - a pas eu d'erreur, ou une valeur non nulle en cas d'échec. + Récupère le code d'erreur de la dernière opération FDF. + </para> + <para> Un message d'erreur est accessible via la fonction - <function>fdf_error</function> function. + <function>fdf_error</function> function. </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - Voir aussi - <function>fdf_error</function>. - </para> + Retourne le code erreur sous la forme d'un &integer; ou &zero; si aucune + erreur n'est survenue. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_error</function></member> + </simplelist> + </para> </refsect1> </refentry> @@ -46,4 +61,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-error.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-error.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-error.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-error.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-error.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-error.xml Tue Feb 20 21:20:18 2007 @@ -1,32 +1,60 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-error"> <refnamediv> <refname>fdf_error</refname> <refpurpose>Retourne le message d'erreur FDF</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>fdf_error</methodname> <methodparam choice='opt'><type>int</type><parameter>error_code</parameter></methodparam> </methodsynopsis> <para> - <function>fdf_error</function> retourne le message d'erreur FDF - associé au code d'erreur <parameter>error_code</parameter>. - Cette fonction utilise le dernier code d'erreur interne si - <parameter>error_code</parameter> est omis. Sinon, - <literal>fdf_error()</literal> est une fonction pratique pour - le lire : - <literal>fdf_error(fdf_errno())</literal>. + Retourne le message d'erreur FDF. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>error_code</parameter></term> + <listitem> + <para> + Un code erreur obtenu avec la fonction + <function>fdf_errno</function>. S'il n'est pas fourni, cette fonction + utilise le code erreur interne défini par la dernière opération. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne le message d'erreur sous la forme d'une &string; ou + la chaîne <literal>no error</literal> s'il n'y en a pas. </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Voir aussi - <function>fdf_errno</function>. - </para> + <simplelist> + <member><function>fdf_errno</function></member> + </simplelist> + </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -48,4 +76,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-get-ap.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-get-ap.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-get-ap.xml:1.7 phpdoc-fr/reference/fdf/functions/fdf-get-ap.xml:1.8 --- phpdoc-fr/reference/fdf/functions/fdf-get-ap.xml:1.7 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-get-ap.xml Tue Feb 20 21:20:18 2007 @@ -1,13 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-get-ap"> <refnamediv> <refname>fdf_get_ap</refname> <refpurpose>Lit l'apparence d'un champ</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>fdf_get_ap</methodname> @@ -17,15 +19,61 @@ <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> - <function>fdf_get_ap</function> lit l'apparence du champ - <parameter>field</parameter> (i.e. la valeur de la clé /AP) et le stocke - dans le fichier <parameter>filename</parameter>. Les valeurs possibles de - <parameter>face</parameter> sont <constant>FDFNormalAP</constant>, - <constant>FDFRolloverAP</constant> et - <constant>FDFDownAP</constant>. L'apparance est stockée dans le fichier - <parameter>filename</parameter>. + Lit l'apparence du champ <parameter>field</parameter> (i.e. la valeur + de la clé /AP) et le stocke dans le fichier <parameter>filename</parameter>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>field</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>face</parameter></term> + <listitem> + <para> + Les valeurs possibles sont <constant>FDFNormalAP</constant>, + <constant>FDFRolloverAP</constant> et <constant>FDFDownAP</constant>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + L'apparence sera stockée dans ce paramètre. + </para> + </listitem> + </varlistentry> + </variablelist> </para> </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -47,4 +95,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-get-attachment.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-get-attachment.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-get-attachment.xml:1.9 phpdoc-fr/reference/fdf/functions/fdf-get-attachment.xml:1.10 --- phpdoc-fr/reference/fdf/functions/fdf-get-attachment.xml:1.9 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-get-attachment.xml Tue Feb 20 21:20:18 2007 @@ -1,13 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-get-attachment"> <refnamediv> <refname>fdf_get_attachment</refname> <refpurpose>Extrait un fichier intégré dans un document FDF</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>array</type><methodname>fdf_get_attachment</methodname> @@ -16,44 +18,91 @@ <methodparam><type>string</type><parameter>savepath</parameter></methodparam> </methodsynopsis> <para> - <function>fdf_get_attachment</function> extrait le fichier <parameter>fieldname</parameter> + Extrait le fichier <parameter>fieldname</parameter> téléchargé par le biais du champ "file selection", puis le stocke dans le fichier - <parameter>savepath</parameter>. <parameter>savepath</parameter> peut être le - nom d'un fichier ou bien un dossier dans lequel le fichier téléchargé sera créé - sous son nom original. Tout fichier déjà existant avec le même nom sera écrasé. + <parameter>savepath</parameter>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>fieldname</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>savepath</parameter></term> + <listitem> + <para> + Peut être le nom d'un fichier ou bien un dossier dans lequel le + fichier téléchargé sera créé sous son nom original. Tout fichier + déjà existant avec le même nom sera écrasé. + </para> + <note> + <para> + Il semble qu'il n'y ait pas d'autre moyen pour connaître le nom du fichier téléchargé + que de le stocker dans un dossier avec <parameter>savepath</parameter> puis + de lire son nom dans le dossier. + </para> + </note> + </listitem> + </varlistentry> + </variablelist> </para> - <note> - <para> - Il semble qu'il n'y ait pas d'autre moyen pour connaître le nom du fichier téléchargé - que de le stocker dans un dossier avec <parameter>savepath</parameter> puis - de lire son nom dans le dossier. - </para> - </note> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - Le tableau retourné contient les champs suivants : + Le tableau retourné contient les champs suivants : <itemizedlist> <listitem> <simpara><parameter>path</parameter> - chemin de stockage du dossier</simpara> + </listitem> + <listitem> <simpara><parameter>size</parameter> - taille du fichier stocké en octets</simpara> + </listitem> + <listitem> <simpara><parameter>type</parameter> - Type MIMI du fichier, s'il a été fourni dans le document FDF</simpara> </listitem> </itemizedlist> </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Enregistrement d'un fichier téléchargé</title> <programlisting role="php"> <![CDATA[ -<?php +<?php $fdf = fdf_open_string($HTTP_FDF_DATA); $data = fdf_get_attachment($fdf, "filename", "/tmpdir"); -echo "Le fichier téléchargé est stocké dans {$data['path']}"; +echo "Le fichier téléchargé est stocké dans $data[path]"; ?> ]]> </programlisting> </example> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -75,4 +124,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-get-encoding.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-get-encoding.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-get-encoding.xml:1.6 phpdoc-fr/reference/fdf/functions/fdf-get-encoding.xml:1.7 --- phpdoc-fr/reference/fdf/functions/fdf-get-encoding.xml:1.6 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-get-encoding.xml Tue Feb 20 21:20:18 2007 @@ -1,28 +1,62 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-get-encoding"> <refnamediv> <refname>fdf_get_encoding</refname> <refpurpose>Lit la valeur de la clé /Encoding</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>fdf_get_encoding</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> - <function>fdf_get_encoding</function> retourne la valeur de la clé /Encoding. - Une chaîne vide est retournée si le schéma par défaut est utilisé : - PDFDocEncoding/Unicode. + Récupère la valeur de la clé <literal>/Encoding</literal>. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; <para> - Voir aussi - <function>fdf_set_encoding</function>. + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + </variablelist> </para> </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne l'encodage, sous la forme d'une &string;. Une chaîne vide + est retournée si le schéma <literal>PDFDocEncoding/Unicode</literal> + est utilisé. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_set_encoding</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -44,4 +78,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-get-file.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-get-file.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-get-file.xml:1.9 phpdoc-fr/reference/fdf/functions/fdf-get-file.xml:1.10 --- phpdoc-fr/reference/fdf/functions/fdf-get-file.xml:1.9 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-get-file.xml Tue Feb 20 21:20:18 2007 @@ -1,27 +1,61 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-get-file"> - <refnamediv> - <refname>fdf_get_file</refname> - <refpurpose>Lit la valeur de la clé /F</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>fdf_get_file</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_get_file</function> lit la valeur de la clé /F. - </para> - <para> - Voir aussi - <function>fdf_set_file</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-get-file"> + <refnamediv> + <refname>fdf_get_file</refname> + <refpurpose>Lit la valeur de la clé /F</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>fdf_get_file</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + </methodsynopsis> + <para> + Lit la valeur de la clé <literal>/F</literal>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne la valeur de la clé, sous la forme d'une &string;. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_set_file</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -42,4 +76,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-get-flags.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-get-flags.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-get-flags.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-get-flags.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-get-flags.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-get-flags.xml Tue Feb 20 21:20:18 2007 @@ -1,25 +1,26 @@ <?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.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-get-flags"> - <refnamediv> - <refname>fdf_get_flags</refname> - <refpurpose>Lit les attributs d'un champ FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>fdf_get_flags</methodname> - <methodparam><type>resource</type><parameter>fdfdoc</parameter></methodparam> - <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> - <methodparam><type>int</type><parameter>whichflags</parameter></methodparam> - </methodsynopsis> - <para> -&warn.undocumented.func; - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-get-flags"> + <refnamediv> + <refname>fdf_get_flags</refname> + <refpurpose>Lit les attributs d'un champ FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>fdf_get_flags</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> + <methodparam><type>int</type><parameter>whichflags</parameter></methodparam> + </methodsynopsis> + &warn.undocumented.func; + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -40,4 +41,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-get-opt.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-get-opt.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-get-opt.xml:1.7 phpdoc-fr/reference/fdf/functions/fdf-get-opt.xml:1.8 --- phpdoc-fr/reference/fdf/functions/fdf-get-opt.xml:1.7 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-get-opt.xml Tue Feb 20 21:20:18 2007 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-get-opt"> - <refnamediv> - <refname>fdf_get_opt</refname> - <refpurpose>Lit une valeur dans un tableau de valeur d'un champ FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>mixed</type><methodname>fdf_get_opt</methodname> - <methodparam><type>resource</type><parameter>fdfdof</parameter></methodparam> - <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> - <methodparam choice='opt'><type>int</type><parameter>element</parameter></methodparam> - </methodsynopsis> - <para> -&warn.undocumented.func; - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-get-opt"> + <refnamediv> + <refname>fdf_get_opt</refname> + <refpurpose>Lit une valeur dans un tableau de valeur d'un champ FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>mixed</type><methodname>fdf_get_opt</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> + <methodparam choice='opt'><type>int</type><parameter>element</parameter></methodparam> + </methodsynopsis> + &warn.undocumented.func; + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -40,4 +41,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-get-status.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-get-status.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-get-status.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-get-status.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-get-status.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-get-status.xml Tue Feb 20 21:20:18 2007 @@ -1,28 +1,61 @@ <?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: no --> - <refentry id="function.fdf-get-status"> - <refnamediv> - <refname>fdf_get_status</refname> - <refpurpose>Lit la valeur de la clé /STATUS</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>fdf_get_status</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_get_status</function> retourne la - valeur de la clé /STATUS. - </para> - <para> - Voir aussi - <function>fdf_set_status</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-get-status"> + <refnamediv> + <refname>fdf_get_status</refname> + <refpurpose>Lit la valeur de la clé /STATUS</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>fdf_get_status</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + </methodsynopsis> + <para> + Lit la valeur de la clé <literal>/STATUS</literal>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne la valeur de la clé, sous la forme d'une &string;. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_set_status</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -43,4 +76,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-get-value.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-get-value.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-get-value.xml:1.14 phpdoc-fr/reference/fdf/functions/fdf-get-value.xml:1.15 --- phpdoc-fr/reference/fdf/functions/fdf-get-value.xml:1.14 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-get-value.xml Tue Feb 20 21:20:18 2007 @@ -1,43 +1,107 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-get-value"> - <refnamediv> - <refname>fdf_get_value</refname> - <refpurpose>Retourne la valeur d'un champ FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; + +<refentry id="function.fdf-get-value"> + <refnamediv> + <refname>fdf_get_value</refname> + <refpurpose>Retourne la valeur d'un champ FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>mixed</type><methodname>fdf_get_value</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> <methodparam choice='opt'><type>int</type><parameter>which</parameter></methodparam> </methodsynopsis> - <para> - <function>fdf_get_value</function> retourne la valeur du champ - <parameter>fieldname</parameter> dans le document <parameter>fdf_document</parameter>. - </para> <para> - Les éléments d'un champ tableau peuvent être lus en fournissant le - paramètre optionnel <parameter>which</parameter>, sous la forme d'un entier - dont la plus petite valeur sera 0. Pour les champs - qui ne sont pas des tableaux, le paramètre optionnel - <parameter>which</parameter> sera ignoré. + Retourne la valeur d'un champ FDF. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>fieldname</parameter></term> + <listitem> + <para> + Nom du champ FDF, sous la forme d'une &string;. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>which</parameter></term> + <listitem> + <para> + Les éléments d'un champ tableau peuvent être lus en fournissant ce + paramètre optionnel, sous la forme d'un entier dont la plus petite + valeur sera &zero;. Pour les champs qui ne sont pas des tableaux, ce paramètre + optionnel sera ignoré. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne la valeur du champ. </para> - <note> - <para> - Le support des tableaux et du paramètre optionnel <parameter>which</parameter> - ont été ajoutés en &php; 4.3. - </para> - </note> - <para> - Voir aussi - <function>fdf_set_value</function>. - </para> - </refsect1> - </refentry> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.0</entry> + <entry> + Le support des tableaux et le paramètre + <parameter>which</parameter> on été ajoutés. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_set_value</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -58,4 +122,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-get-version.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-get-version.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-get-version.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-get-version.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-get-version.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-get-version.xml Tue Feb 20 21:20:18 2007 @@ -1,32 +1,65 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-get-version"> <refnamediv> <refname>fdf_get_version</refname> <refpurpose>Lit le numéro de version de l'API FDF</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>fdf_get_version</methodname> <methodparam choice='opt'><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> - <function>fdf_get_version</function> retourne le numéro de version - FDF pour le document <parameter>fdf_document</parameter>, pour l'API + Retourne le numéro de version FDF pour le document + <parameter>fdf_document</parameter>, pour l'API si aucun paramètre n'est donné. </para> - <para> - Pour la version actuelle du FDF toolkit 5.0, le numéro de version est - '5.0' et le numéro de version de document est '1.2', '1.3' ou '1.4'. + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + </variablelist> </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; <para> - Voir aussi - <function>fdf_set_version</function>. - </para> + Retourne la version, sous la forme d'une &string;. + Pour la version actuelle du FDF toolkit 5.0, le numéro de version est + <literal>5.0</literal> et le numéro de version de document est + <literal>1.2</literal>, <literal>1.3</literal> ou <literal>1.4</literal>. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_set_version</function></member> + </simplelist> + </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -48,4 +81,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-header.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-header.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-header.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-header.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-header.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-header.xml Tue Feb 20 21:20:18 2007 @@ -1,13 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-header"> <refnamediv> <refname>fdf_header</refname> - <refpurpose>Emet les en-têtes HTTP spécifiques à FDF</refpurpose> + <refpurpose>Émet les en-têtes HTTP spécifiques à FDF</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>fdf_header</methodname> @@ -17,9 +19,17 @@ <methodname>fdf_header</methodname> est une fonction de confort, pour émettre les en-têtes HTTP spécifiques à FDF. Elle permet d'envoyer le type <literal>Content-type:</literal> - avec la valeur <literal>application/vnd.fdf</literal>. - </para> + avec la valeur <literal>application/vnd.fdf</literal>. + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -41,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-next-field-name.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-next-field-name.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-next-field-name.xml:1.11 phpdoc-fr/reference/fdf/functions/fdf-next-field-name.xml:1.12 --- phpdoc-fr/reference/fdf/functions/fdf-next-field-name.xml:1.11 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-next-field-name.xml Tue Feb 20 21:20:18 2007 @@ -1,24 +1,63 @@ <?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.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-next-field-name"> - <refnamediv> - <refname>fdf_next_field_name</refname> - <refpurpose>Lit le nom du champ FDF suivant</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; + +<refentry id="function.fdf-next-field-name"> + <refnamediv> + <refname>fdf_next_field_name</refname> + <refpurpose>Lit le nom du champ FDF suivant</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>string</type><methodname>fdf_next_field_name</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>fieldname</parameter></methodparam> </methodsynopsis> - <para> - <function>fdf_next_field_name</function> retourne le nom du - champ après le champ <parameter>fieldname</parameter> - ou le nom du premier champ, si le second paramètre est &null;. - </para> + <para> + Lit le nom du champ FDF suivant. Ce nom pourra être utilisé dans plusieurs fonctions. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>fieldname</parameter></term> + <listitem> + <para> + Nom du champ FDF, sous la forme d'une &string;. S'il n'est pas fournis, + le premier champ sera retourné. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne le nom du champ, sous la forme d'une &string;. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Détecter tous les noms d'un formulaire FDF</title> @@ -26,22 +65,28 @@ <![CDATA[ <?php $fdf = fdf_open($HTTP_FDF_DATA); -for ($field = fdf_next_field_name($fdf); - $field != ""; - $field = fdf_next_field_name($fdf, $field)) { - echo "Champ : $field\n"; -} +for ($field = fdf_next_field_name($fdf); + $field != ""; + $field = fdf_next_field_name($fdf, $field)) { + echo "field: $field\n"; +} ?> ]]> </programlisting> </example> </para> - <para> - Voir aussi - <function>fdf_get_value</function>. - </para> - </refsect1> - </refentry> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_get_value</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -62,4 +107,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-open-string.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-open-string.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-open-string.xml:1.9 phpdoc-fr/reference/fdf/functions/fdf-open-string.xml:1.10 --- phpdoc-fr/reference/fdf/functions/fdf-open-string.xml:1.9 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-open-string.xml Tue Feb 20 21:20:18 2007 @@ -1,32 +1,59 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-open-string"> <refnamediv> <refname>fdf_open_string</refname> - <refpurpose> - Lit un document FDF à partir d'une chaîne de caractères - </refpurpose> + <refpurpose>Lit un document FDF à partir d'une &string;</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>resource</type><methodname>fdf_open_string</methodname> <methodparam><type>string</type><parameter>fdf_data</parameter></methodparam> </methodsynopsis> <para> - <function>fdf_open_string</function> lit les données du formulaire - depuis la chaîne <parameter>fdf_data</parameter>. <parameter>fdf_data</parameter> - doit contenir les données retournées par le formulaire PDF ou - créé par les fonctions <function>fdf_create</function> - et <function>fdf_save_string</function>. + Lit un document FDF à partir d'une &string;. </para> <para> Vous pouvez utiliser <function>fdf_open_string</function> avec la variable - <varname>$HTTP_FDF_DATA</varname> pour traiter des données + <varname>$HTTP_FDF_DATA</varname> pour traiter des données de formulaires issues de clients distants. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_data</parameter></term> + <listitem> + <para> + Les données, comme retournés depuis un formulaire PDF + ou créés en utilisant les fonctions + <function>fdf_create</function> et + <function>fdf_save_string</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un gestionnaire de document FDF, ou &false; + si une erreur survient. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> <title>Accès aux données de formulaire FDF</title> @@ -34,21 +61,27 @@ <![CDATA[ <?php $fdf = fdf_open_string($HTTP_FDF_DATA); -// ... +/* ... */ fdf_close($fdf); ?> ]]> </programlisting> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Voir aussi - <function>fdf_open</function>, - <function>fdf_close</function>, - <function>fdf_create</function> et - <function>fdf_save_string</function>. + <simplelist> + <member><function>fdf_open</function></member> + <member><function>fdf_close</function></member> + <member><function>fdf_create</function></member> + <member><function>fdf_save_string</function></member> + </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -70,4 +103,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-open.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-open.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-open.xml:1.10 phpdoc-fr/reference/fdf/functions/fdf-open.xml:1.11 --- phpdoc-fr/reference/fdf/functions/fdf-open.xml:1.10 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-open.xml Tue Feb 20 21:20:18 2007 @@ -1,59 +1,93 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-open"> - <refnamediv> - <refname>fdf_open</refname> - <refpurpose>Ouvre un document FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>resource</type><methodname>fdf_open</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_open</function> ouvre un fichier avec - formulaire. Le fichier doit contenir les données - retournées par le formulaire PDF. - </para> - <para> - Vous pouvez traiter les résultats d'un formulaire PDF en méthode POST en appelant - la variable <varname>$HTTP_FDF_DATA</varname>, en l'écrivant dans un fichier - et en l'ouvrant en utilisant <function>fdf_open</function>. Depuis &php; 4.3, vous pouvez - également utilisé <function>fdf_open_string</function> qui crée un fichier temporaire - et l'efface pour vous. - </para> - <para> - <example> - <title>Accéder aux données du formulaire</title> - <programlisting role="php"> + +<refentry id="function.fdf-open"> + <refnamediv> + <refname>fdf_open</refname> + <refpurpose>Ouvre un document FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>resource</type><methodname>fdf_open</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Ouvre un document FDF. + </para> + <para> + Vous pouvez également utiliser la fonction + <function>fdf_open_string</function> pour traiter le résultat + d'un formulaire PDF issue d'une méthode POST. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + Chemin vers le fichier FDF. Ce fichier doit contenir les données telles + que retournées par un formulaire PDF ou créées en utilisant les fonctions + <function>fdf_create</function> et <function>fdf_save</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne un gestionnaire de document FDF, ou &false; + si une erreur survient. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Accéder aux données du formulaire</title> + <programlisting role="php"> <![CDATA[ <?php -// Sauver le fichier FDF dans un fichier temporaire. +// Sauve le fichier FDF dans un fichier temporaire. $fdffp = fopen("test.fdf", "w"); fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA)); fclose($fdffp); -// Ouvrir le fichier temporaire, et utiliser les données. +// Ouvre le fichier temporaire, et utilise les données. $fdf = fdf_open("test.fdf"); /* ... */ fdf_close($fdf); ?> ]]> - </programlisting> - </example> - </para> - <para> - Voir aussi - <function>fdf_open_string</function>, - <function>fdf_close</function>, - <function>fdf_create</function> et - <function>fdf_save</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_open_string</function></member> + <member><function>fdf_close</function></member> + <member><function>fdf_create</function></member> + <member><function>fdf_save</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -74,4 +108,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-remove-item.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-remove-item.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-remove-item.xml:1.5 phpdoc-fr/reference/fdf/functions/fdf-remove-item.xml:1.6 --- phpdoc-fr/reference/fdf/functions/fdf-remove-item.xml:1.5 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-remove-item.xml Tue Feb 20 21:20:18 2007 @@ -1,25 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-remove-item"> - <refnamediv> - <refname>fdf_remove_item</refname> - <refpurpose>Configure le cadre FDF de destination pour le formulaire</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_remove_item</methodname> - <methodparam><type>resource</type><parameter>fdfdoc</parameter></methodparam> - <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> - <methodparam><type>int</type><parameter>item</parameter></methodparam> - </methodsynopsis> - <para> -&warn.undocumented.func; - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-remove-item"> + <refnamediv> + <refname>fdf_remove_item</refname> + <refpurpose>Configure le cadre FDF de destination pour le formulaire</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_remove_item</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> + <methodparam><type>int</type><parameter>item</parameter></methodparam> + </methodsynopsis> + &warn.undocumented.func; + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -40,4 +41,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-save-string.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-save-string.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-save-string.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-save-string.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-save-string.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-save-string.xml Tue Feb 20 21:20:18 2007 @@ -1,25 +1,57 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-save-string"> <refnamediv> <refname>fdf_save_string</refname> - <refpurpose>Retourne un document FDF sous forme de chaîne</refpurpose> + <refpurpose>Retourne un document FDF sous forme d'une &string;</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>fdf_save_string</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> - <function>fdf_save_string</function> retourne le document <parameter>fdf_document</parameter> - sous forme de chaînes de caractères. + Retourne un document FDF sous forme d'une &string;. </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne le document, sous la forme d'une &string;, ou + &false; si une erreur survient. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; <para> <example> - <title>Lire un document FDF sous forme de chaîne</title> + <title>Lire un document FDF sous forme de &string;</title> <programlisting role="php"> <![CDATA[ <?php @@ -31,24 +63,24 @@ ?> ]]> </programlisting> - &example.outputs; + &example.outputs; <screen> <![CDATA[ %FDF-1.2 %âãÏÓ 1 0 obj -<< -/FDF << /Fields 2 0 R >> ->> +<< +/FDF << /Fields 2 0 R >> +>> endobj 2 0 obj -[ -<< /T (foo)/V (bar)>> +[ +<< /T (foo)/V (bar)>> ] endobj trailer << -/Root 1 0 R +/Root 1 0 R >> %%EOF @@ -56,14 +88,20 @@ </screen> </example> </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Voir aussi - <function>fdf_save</function>, - <function>fdf_open_string</function>, - <function>fdf_create</function> et - <function>fdf_close</function>. + <simplelist> + <member><function>fdf_open_string</function></member> + <member><function>fdf_close</function></member> + <member><function>fdf_create</function></member> + <member><function>fdf_save</function></member> + </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -85,4 +123,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-save.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-save.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-save.xml:1.11 phpdoc-fr/reference/fdf/functions/fdf-save.xml:1.12 --- phpdoc-fr/reference/fdf/functions/fdf-save.xml:1.11 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-save.xml Tue Feb 20 21:20:18 2007 @@ -1,33 +1,73 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-save"> - <refnamediv> - <refname>fdf_save</refname> - <refpurpose>Sauvegarde un document FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_save</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - <methodparam choice='opt'><type>string</type><parameter>filename</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_save</function> sauve un document FDF. - Le résultat FDF sera écrit dans le fichier <parameter>filename</parameter>. - Si le paramètre <parameter>filename</parameter> est omis, - <function>fdf_save</function> écrira le FDF sur la sortie standard &php;. - </para> - <para> - Voir aussi - <function>fdf_save_string</function>, - <function>fdf_create</function> et - <function>fdf_close</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-save"> + <refnamediv> + <refname>fdf_save</refname> + <refpurpose>Sauvegarde un document FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_save</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam choice='opt'><type>string</type><parameter>filename</parameter></methodparam> + </methodsynopsis> + <para> + Sauvegarde un document FDF. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + Si fourni, le FDF résultant sera écrit dans ce paramètre. + Sinon, cette fonction écrira le FDF dans la sortie standard &php;. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_close</function></member> + <member><function>fdf_create</function></member> + <member><function>fdf_save_string</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -48,4 +88,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-ap.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-ap.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-ap.xml:1.10 phpdoc-fr/reference/fdf/functions/fdf-set-ap.xml:1.11 --- phpdoc-fr/reference/fdf/functions/fdf-set-ap.xml:1.10 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-ap.xml Tue Feb 20 21:20:18 2007 @@ -1,31 +1,88 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-set-ap"> - <refnamediv> - <refname>fdf_set_ap</refname> - <refpurpose>Fixe l'apparence d'un champ FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_set_ap</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - <methodparam><type>string</type><parameter>field_name</parameter></methodparam> - <methodparam><type>int</type><parameter>face</parameter></methodparam> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam><type>int</type><parameter>page_number</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_set_ap</function> fixe l'apparence d'un champ - (i.e. la valeur de la clé /AP). - Les valeurs possibles de <parameter>face</parameter> sont - sont <constant>FDFNormalAP</constant>, <constant>FDFRolloverAP</constant> - et <constant>FDFDownAP</constant>. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-set-ap"> + <refnamediv> + <refname>fdf_set_ap</refname> + <refpurpose>Fixe l'apparence d'un champ FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_set_ap</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>string</type><parameter>field_name</parameter></methodparam> + <methodparam><type>int</type><parameter>face</parameter></methodparam> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam><type>int</type><parameter>page_number</parameter></methodparam> + </methodsynopsis> + <para> + Fixe l'apparence d'un champ FDF (i.e. la valeur de la clé + <literal>/AP</literal>). + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>field_name</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>face</parameter></term> + <listitem> + <para> + Les valeurs possibles : <constant>FDFNormalAP</constant>, + <constant>FDFRolloverAP</constant> et + <constant>FDFDownAP</constant>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>page_number</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -46,4 +103,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-encoding.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-encoding.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-encoding.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-set-encoding.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-set-encoding.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-encoding.xml Tue Feb 20 21:20:18 2007 @@ -1,31 +1,67 @@ <?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.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-set-encoding"> - <refnamediv> - <refname>fdf_set_encoding</refname> - <refpurpose>Modifie l'encodage des caractères</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_set_encoding</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - <methodparam><type>string</type><parameter>encoding</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_set_encoding</function> modifie l'encodage des - caractères du document FDF <parameter>fdf_document</parameter>. - Le paramètre <parameter>encoding</parameter> doit être un - nom d'encodage valide. Actuellement, les valeurs supportées sont : - "<literal>Shift-JIS</literal>", "<literal>UHC</literal>", - "<literal>GBK</literal>" ou "<literal>BigFive</literal>". - Une chaîne de caractères vide replace la valeur par défaut de l'encodage au - schéma PDFDocEncoding/Unicode. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-set-encoding"> + <refnamediv> + <refname>fdf_set_encoding</refname> + <refpurpose>Modifie l'encodage des caractères</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_set_encoding</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>string</type><parameter>encoding</parameter></methodparam> + </methodsynopsis> + <para> + Modifie l'encodage des caractères du document FDF. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>encoding</parameter></term> + <listitem> + <para> + Le nom de l'encodage. Les valeurs suivantes sont supportées : + "<literal>Shift-JIS</literal>", "<literal>UHC</literal>", + "<literal>GBK</literal>" et "<literal>BigFive</literal>". + </para> + <para> + Une &string; vide replace la valeur par défaut de l'encodage au + schéma <literal>PDFDocEncoding/Unicode</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -46,4 +82,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-file.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-file.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-file.xml:1.15 phpdoc-fr/reference/fdf/functions/fdf-set-file.xml:1.16 --- phpdoc-fr/reference/fdf/functions/fdf-set-file.xml:1.15 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-file.xml Tue Feb 20 21:20:18 2007 @@ -1,34 +1,77 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-set-file"> - <refnamediv> - <refname>fdf_set_file</refname> - <refpurpose> Crée un document PDF pour y afficher des données FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; + +<refentry id="function.fdf-set-file"> + <refnamediv> + <refname>fdf_set_file</refname> + <refpurpose>Crée un document PDF pour y afficher des données FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>fdf_set_file</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>url</parameter></methodparam> <methodparam choice='opt'><type>string</type><parameter>target_frame</parameter></methodparam> </methodsynopsis> - <para> - <function>fdf_set_file</function> fixe la valeur de la - clé /F. la clé /F est simplement une - référence sur un formulaire PDF qui doit - être pré-rempli. <parameter>url</parameter> doit etre fourni sous une forme absolue. - </para> <para> - Le cadre utilisé pour l'affichage dans le document peut être sélectionné - avec le paramètre optionnel <parameter>target_frame</parameter> ou la - fonction <function>fdf_set_target_frame</function>. + Crée un document PDF pour y afficher des données FDF. </para> - <example> - <title>Passer des données FDF à un second formulaire</title> - <programlisting role="php"> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>url</parameter></term> + <listitem> + <para> + Doit être fourni sous la forme d'une URL absolue. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>target_frame</parameter></term> + <listitem> + <para> + Utilisez ce paramètre pour spécifier la frame dans laquelle le document + sera affiché. Vous pouvez également définir la valeur par défaut de ce paramètre + en utilisant la fonction <function>fdf_set_target_frame</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Passer des données FDF à un second formulaire</title> + <programlisting role="php"> <![CDATA[ <?php /* Configure l'en-tête pour Adobe FDF */ @@ -50,15 +93,22 @@ fdf_close($fdf); ?> ]]> - </programlisting> - </example> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Voir aussi - <function>fdf_get_file</function> et - <function>fdf_set_target_frame</function>. + <simplelist> + <member><function>fdf_get_file</function></member> + <member><function>fdf_set_target_frame</function></member> + </simplelist> </para> - </refsect1> - </refentry> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-flags.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-flags.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-flags.xml:1.11 phpdoc-fr/reference/fdf/functions/fdf-set-flags.xml:1.12 --- phpdoc-fr/reference/fdf/functions/fdf-set-flags.xml:1.11 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-flags.xml Tue Feb 20 21:20:18 2007 @@ -1,31 +1,86 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-set-flags"> - <refnamediv> - <refname>fdf_set_flags</refname> - <refpurpose>Modifie une option d'un champ</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_set_flags</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> - <methodparam><type>int</type><parameter>whichFlags</parameter></methodparam> - <methodparam><type>int</type><parameter>newFlags</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_set_flags</function> modifie certaines options - du champ <parameter>fieldname</parameter>. - </para> - <para> - Voir aussi - <function>fdf_set_opt</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-set-flags"> + <refnamediv> + <refname>fdf_set_flags</refname> + <refpurpose>Modifie une option d'un champ</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_set_flags</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> + <methodparam><type>int</type><parameter>whichFlags</parameter></methodparam> + <methodparam><type>int</type><parameter>newFlags</parameter></methodparam> + </methodsynopsis> + <para> + Modifie une option d'un champ. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>fieldname</parameter></term> + <listitem> + <para> + Nom du champ FDF, sous la forme d'une &string;. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>whichFlags</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>newFlags</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_set_opt</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -46,4 +101,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-javascript-action.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-javascript-action.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-javascript-action.xml:1.9 phpdoc-fr/reference/fdf/functions/fdf-set-javascript-action.xml:1.10 --- phpdoc-fr/reference/fdf/functions/fdf-set-javascript-action.xml:1.9 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-javascript-action.xml Tue Feb 20 21:20:18 2007 @@ -1,31 +1,85 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-set-javascript-action"> - <refnamediv> - <refname>fdf_set_javascript_action</refname> - <refpurpose>Modifie l'action javascript d'un champ</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_set_javascript_action</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> - <methodparam><type>int</type><parameter>trigger</parameter></methodparam> - <methodparam><type>string</type><parameter>script</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_set_javascript_action</function> affecte une action - javascript au champ <parameter>fieldname</parameter>. - </para> - <para> - Voir aussi - <function>fdf_set_submit_form_action</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-set-javascript-action"> + <refnamediv> + <refname>fdf_set_javascript_action</refname> + <refpurpose>Modifie l'action javascript d'un champ</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_set_javascript_action</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> + <methodparam><type>int</type><parameter>trigger</parameter></methodparam> + <methodparam><type>string</type><parameter>script</parameter></methodparam> + </methodsynopsis> + <para> + Modifie l'action javascript d'un champ donné. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>fieldname</parameter></term> + <listitem> + <para> + Nom du champ FDF, sous la forme d'une &string;. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>trigger</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>script</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_set_submit_form_action</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -46,4 +100,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-on-import-javascript.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-on-import-javascript.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-on-import-javascript.xml:1.4 phpdoc-fr/reference/fdf/functions/fdf-set-on-import-javascript.xml:1.5 --- phpdoc-fr/reference/fdf/functions/fdf-set-on-import-javascript.xml:1.4 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-on-import-javascript.xml Tue Feb 20 21:20:18 2007 @@ -1,29 +1,35 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id='function.fdf-set-on-import-javascript'> <refnamediv> <refname>fdf_set_on_import_javascript</refname> <refpurpose>Ajoute du code Javascript à être exécuté lorsque Acrobat ouvre un FDF</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>fdf_set_on_import_javascript</methodname> - <methodparam><type>resource</type><parameter>fdfdoc</parameter></methodparam> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>script</parameter></methodparam> <methodparam><type>bool</type><parameter>before_data_import</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Voir aussi - <function>fdf_add_doc_javascript</function>&listendand; - <function>fdf_set_javascript_action</function>. + <simplelist> + <member><function>fdf_add_doc_javascript</function></member> + <member><function>fdf_set_javascript_action</function></member> + </simplelist> </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -45,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-opt.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-opt.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-opt.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-set-opt.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-set-opt.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-opt.xml Tue Feb 20 21:20:18 2007 @@ -1,32 +1,93 @@ <?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.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-set-opt"> - <refnamediv> - <refname>fdf_set_opt</refname> - <refpurpose>Modifie une option d'un champ</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_set_opt</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> - <methodparam><type>int</type><parameter>element</parameter></methodparam> - <methodparam><type>string</type><parameter>str1</parameter></methodparam> - <methodparam><type>string</type><parameter>str2</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_set_opt</function> modifie les options - du champ <parameter>fieldname</parameter>. - </para> - <para> - Voir aussi - <function>fdf_set_flags</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-set-opt"> + <refnamediv> + <refname>fdf_set_opt</refname> + <refpurpose>Modifie une option d'un champ</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_set_opt</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> + <methodparam><type>int</type><parameter>element</parameter></methodparam> + <methodparam><type>string</type><parameter>str1</parameter></methodparam> + <methodparam><type>string</type><parameter>str2</parameter></methodparam> + </methodsynopsis> + <para> + Modifie une option d'un champ donné. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>fieldname</parameter></term> + <listitem> + <para> + Nom du champ FDF, sous la forme d'une &string;. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>element</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>str1</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>str2</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_set_flags</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -47,4 +108,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-status.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-status.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-status.xml:1.8 phpdoc-fr/reference/fdf/functions/fdf-set-status.xml:1.9 --- phpdoc-fr/reference/fdf/functions/fdf-set-status.xml:1.8 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-status.xml Tue Feb 20 21:20:18 2007 @@ -1,30 +1,71 @@ <?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.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-set-status"> - <refnamediv> - <refname>fdf_set_status</refname> - <refpurpose>Fixe la valeur de la clé /STATUS</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_set_status</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - <methodparam><type>string</type><parameter>status</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_set_status</function> fixe la valeur de la - clé /STATUS. Lorsqu'un client reçoit un FDF avec un statut positionné, sa valeur sera - présenté dans une boîte d'alerte. - </para> - <para> - Voir aussi - <function>fdf_get_status</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-set-status"> + <refnamediv> + <refname>fdf_set_status</refname> + <refpurpose>Fixe la valeur de la clé /STATUS</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_set_status</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>string</type><parameter>status</parameter></methodparam> + </methodsynopsis> + <para> + Fixe la valeur de la clé <literal>/STATUS</literal>. Lorsqu'un client + reçoit un FDF avec un statut positionné, sa valeur sera présenté dans + une boîte d'alerte. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>status</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_get_status</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -45,4 +86,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-submit-form-action.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-submit-form-action.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-submit-form-action.xml:1.9 phpdoc-fr/reference/fdf/functions/fdf-set-submit-form-action.xml:1.10 --- phpdoc-fr/reference/fdf/functions/fdf-set-submit-form-action.xml:1.9 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-submit-form-action.xml Tue Feb 20 21:20:18 2007 @@ -1,33 +1,94 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-set-submit-form-action"> - <refnamediv> - <refname>fdf_set_submit_form_action</refname> - <refpurpose>Modifie l'action d'un formulaire</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>fdf_set_submit_form_action</methodname> - <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> - <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> - <methodparam><type>int</type><parameter>trigger</parameter></methodparam> - <methodparam><type>string</type><parameter>script</parameter></methodparam> - <methodparam><type>int</type><parameter>flags</parameter></methodparam> - </methodsynopsis> - <para> - <function>fdf_set_submit_form_action</function> affecte un - javascript au champ <parameter>fieldname</parameter>, exécuté - lors de la validation d'un formulaire. - </para> - <para> - Voir aussi - <function>fdf_set_javascript_action</function>. - </para> - </refsect1> - </refentry> + +<refentry id="function.fdf-set-submit-form-action"> + <refnamediv> + <refname>fdf_set_submit_form_action</refname> + <refpurpose>Modifie l'action d'un formulaire</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>fdf_set_submit_form_action</methodname> + <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> + <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> + <methodparam><type>int</type><parameter>trigger</parameter></methodparam> + <methodparam><type>string</type><parameter>script</parameter></methodparam> + <methodparam><type>int</type><parameter>flags</parameter></methodparam> + </methodsynopsis> + <para> + Modifie l'action d'un formulaire. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>fieldname</parameter></term> + <listitem> + <para> + Nom du champ FDF, sous la forme d'une &string;. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>trigger</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>script</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>flags</parameter></term> + <listitem> + <para> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_set_javascript_action</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -48,4 +109,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-target-frame.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-target-frame.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-target-frame.xml:1.6 phpdoc-fr/reference/fdf/functions/fdf-set-target-frame.xml:1.7 --- phpdoc-fr/reference/fdf/functions/fdf-set-target-frame.xml:1.6 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-target-frame.xml Tue Feb 20 21:20:18 2007 @@ -1,13 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-set-target-frame"> <refnamediv> <refname>fdf_set_target_frame</refname> <refpurpose>Configure le cadre de destination pour l'affichage du formulaire</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>fdf_set_target_frame</methodname> @@ -15,14 +17,54 @@ <methodparam><type>string</type><parameter>frame_name</parameter></methodparam> </methodsynopsis> <para> - <methodname>fdf_target_frame</methodname> configure le cadre de destination - pour l'affichage du résultat PDF défini par <function>fdf_save_file</function>. + Configure le cadre de destination pour l'affichage du résultat + PDF défini par <function>fdf_save_file</function>. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>frame_name</parameter></term> + <listitem> + <para> + Le nom du cadre, sous la forme d'une &string;. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Voir aussi - <function>fdf_save_file</function>. - </para> + <simplelist> + <member><function>fdf_save_file</function></member> + </simplelist> + </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -44,4 +86,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-value.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-value.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-value.xml:1.13 phpdoc-fr/reference/fdf/functions/fdf-set-value.xml:1.14 --- phpdoc-fr/reference/fdf/functions/fdf-set-value.xml:1.13 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-value.xml Tue Feb 20 21:20:18 2007 @@ -1,14 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.fdf-set-value"> - <refnamediv> - <refname>fdf_set_value</refname> - <refpurpose>Modifie la valeur d'un champ FDF</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; + +<refentry id="function.fdf-set-value"> + <refnamediv> + <refname>fdf_set_value</refname> + <refpurpose>Modifie la valeur d'un champ FDF</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; <methodsynopsis> <type>bool</type><methodname>fdf_set_value</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> @@ -16,34 +18,108 @@ <methodparam><type>mixed</type><parameter>value</parameter></methodparam> <methodparam choice='opt'><type>int</type><parameter>isName</parameter></methodparam> </methodsynopsis> - <para> - <function>fdf_set_value</function> fixe la valeur du champ - <parameter>fieldname</parameter>. - La valeur <parameter>value</parameter> devra être stocké comme une chaîne de caractères - même si c'est un tableau. Dans ce cas, tous les éléments du tableau seront stockés - comme un tableau de valeur. - </para> - <note> - <para> - Dans les anciennes versions de la suite FDF, le dernier paramètre déterminait si la valeur - du champs devait être convertie en un nom PDF (<parameter>isname</parameter> = 1) - ou prositionnée comme une chaîne de caractères (<parameter>isname</parameter> = 0). - La valeur n'est plus dans la suite actuelle, version 5.0. Pour des raisons de compatibilité, - cela est toujours supporté comme un paramètre optionnel depuis &php; 4.3, mais ignoré en - interne. - </para> - <para> - Le support des tableaux pour le paramètre <parameter>value</parameter> a été - ajouté depuis &php; 4.3. - </para> - </note> - <para> - Voir aussi - <function>fdf_get_value</function> et - <function>fdf_remove_item</function>. - </para> - </refsect1> - </refentry> + <para> + Modifie la valeur d'un champ FDF. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>fieldname</parameter></term> + <listitem> + <para> + Nom du champ FDF, sous la forme d'une &string;. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>value</parameter></term> + <listitem> + <para> + Ce paramètre devra être stocké comme une chaîne de caractères + même si c'est un tableau. Dans ce cas, tous les éléments du tableau + seront stockés comme un tableau de valeur. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>isName</parameter></term> + <listitem> + <note> + <para> + Dans les anciennes versions de la suite FDF, le dernier paramètre déterminait si la valeur + du champs devait être convertie en un nom PDF (<parameter>isname</parameter> = 1) + ou positionnée comme une chaîne de caractères (<parameter>isname</parameter> = 0). + </para> + <para> + La valeur n'est plus dans la suite actuelle, version 5.0. Pour des raisons de compatibilité, + cela est toujours supporté comme un paramètre optionnel depuis &php; 4.3, mais ignoré en + interne. + </para> + </note> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.3.0</entry> + <entry> + Le support des tableaux dans le paramètre + <parameter>value</parameter> a été ajouté. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>fdf_get_value</function></member> + <member><function>fdf_remove_item</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -64,4 +140,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/viewvc.cgi/phpdoc-fr/reference/fdf/functions/fdf-set-version.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/fdf/functions/fdf-set-version.xml diff -u phpdoc-fr/reference/fdf/functions/fdf-set-version.xml:1.7 phpdoc-fr/reference/fdf/functions/fdf-set-version.xml:1.8 --- phpdoc-fr/reference/fdf/functions/fdf-set-version.xml:1.7 Mon Aug 28 12:10:33 2006 +++ phpdoc-fr/reference/fdf/functions/fdf-set-version.xml Tue Feb 20 21:20:18 2007 @@ -1,13 +1,15 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.fdf-set-version"> <refnamediv> <refname>fdf_set_version</refname> <refpurpose>Modifie le numéro de version du fichier FDF</refpurpose> </refnamediv> - <refsect1> + + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>fdf_set_version</methodname> @@ -15,18 +17,59 @@ <methodparam><type>string</type><parameter>version</parameter></methodparam> </methodsynopsis> <para> - <function>fdf_set_version</function> modifie le numéro de version du document - <parameter>fdf_document</parameter> par la version <parameter>fdf_document</parameter>. + Modifie le numéro de version du document FDF courant. + </para> + <para> Certaines fonctionnalités supportées par cette extension ne sont - disponibles que pour les nouvelles versions de FDF. Pour le - FDF toolkit 5.0 courant, <parameter>version</parameter> - peut valoir '1.2', '1.3' ou '1.4'. + disponibles que pour les nouvelles versions de FDF. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>fdf_document</parameter></term> + <listitem> + <para> + Le gestionnaire de document FDF, retourné par la fonction + <function>fdf_create</function>, la fonction + <function>fdf_open</function> ou la fonction + <function>fdf_open_string</function>. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>version</parameter></term> + <listitem> + <para> + Le numéro de version. Pour le toolkit FDF courant, ce peut être + <literal>1.2</literal>, <literal>1.3</literal> ou + <literal>1.4</literal>. + </para> + </listitem> + </varlistentry> + </variablelist> </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.success; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; <para> - Voir aussi - <function>fdf_get_version</function>. - </para> + <simplelist> + <member><function>fdf_get_version</function></member> + </simplelist> + </para> </refsect1> + </refentry> <!-- Keep this comment at the end of the file @@ -48,4 +91,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/viewvc.cgi/phpdoc-fr/reference/image/functions/getimagesize.xml?r1=1.28&r2=1.29&diff_format=u Index: phpdoc-fr/reference/image/functions/getimagesize.xml diff -u phpdoc-fr/reference/image/functions/getimagesize.xml:1.28 phpdoc-fr/reference/image/functions/getimagesize.xml:1.29 --- phpdoc-fr/reference/image/functions/getimagesize.xml:1.28 Wed Feb 14 18:00:26 2007 +++ phpdoc-fr/reference/image/functions/getimagesize.xml Tue Feb 20 21:20:18 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.28 $ --> -<!-- EN-Revision: 1.28 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.29 $ --> +<!-- EN-Revision: 1.29 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.getimagesize"> @@ -134,7 +134,7 @@ Si l'accès à <parameter>filename</parameter> est impossible ou bien si <parameter>filename</parameter> n'est pas une image valide, <function>getimagesize</function> générera une erreur de niveau - <varname>E_WARNING</varname>. + <constant>E_WARNING</constant>. </para> </refsect1> <refsect1 role="changelog"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/image/functions/imagefilter.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/image/functions/imagefilter.xml diff -u phpdoc-fr/reference/image/functions/imagefilter.xml:1.9 phpdoc-fr/reference/image/functions/imagefilter.xml:1.10 --- phpdoc-fr/reference/image/functions/imagefilter.xml:1.9 Sun Jan 28 21:39:14 2007 +++ phpdoc-fr/reference/image/functions/imagefilter.xml Tue Feb 20 21:20:18 2007 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imagefilter"> @@ -38,33 +38,33 @@ <itemizedlist> <listitem> <simpara> - <parameter>IMG_FILTER_NEGATE</parameter>: renverse toutes les couleurs de l'image. + <constant>IMG_FILTER_NEGATE</constant> : renverse toutes les couleurs de l'image. </simpara> </listitem> <listitem> <simpara> - <parameter>IMG_FILTER_GRAYSCALE</parameter>: convertit l'image en + <constant>IMG_FILTER_GRAYSCALE</constant> : convertit l'image en <literal>grayscale</literal>. </simpara> </listitem> <listitem> <simpara> - <parameter>IMG_FILTER_BRIGHTNESS</parameter>: modifie la luminosité de + <constant>IMG_FILTER_BRIGHTNESS</constant> : modifie la luminosité de l'image. Utilisez le paramètre <parameter>args1</parameter> pour définir la luminosité. </simpara> </listitem> <listitem> <simpara> - <parameter>IMG_FILTER_CONTRAST</parameter>: modifie le contraste de + <constant>IMG_FILTER_CONTRAST</constant> : modifie le contraste de l'image. Utilisez le paramètre <parameter>args1</parameter> pour définir le contraste. </simpara> </listitem> <listitem> <simpara> - <parameter>IMG_FILTER_COLORIZE</parameter>: Identique au paramètre - <parameter>IMG_FILTER_GRAYSCALE</parameter> excepté que vous pouvez spécifier + <constant>IMG_FILTER_COLORIZE</constant> : Identique au paramètre + <constant>IMG_FILTER_GRAYSCALE</constant> excepté que vous pouvez spécifier une couleur. Utilisez trois arguments séparés dans les paramètres <parameter>args1</parameter>, <parameter>args2</parameter> et <parameter>args3</parameter> sous la forme <parameter>red</parameter>, @@ -74,35 +74,35 @@ </listitem> <listitem> <simpara> - <parameter>IMG_FILTER_EDGEDETECT</parameter>: utilise la détection des bords + <constant>IMG_FILTER_EDGEDETECT</constant> : utilise la détection des bords pour les mettre en évidence dans l'image. </simpara> </listitem> <listitem> <simpara> - <parameter>IMG_FILTER_EMBOSS</parameter>: grave l'image en relief. + <constant>IMG_FILTER_EMBOSS</constant> : grave l'image en relief. </simpara> </listitem> <listitem> <simpara> - <parameter>IMG_FILTER_GAUSSIAN_BLUR</parameter>: brouille l'image en utilisant la + <constant>IMG_FILTER_GAUSSIAN_BLUR</constant> : brouille l'image en utilisant la méthode gaussienne. </simpara> </listitem> <listitem> <simpara> - <parameter>IMG_FILTER_SELECTIVE_BLUR</parameter>: brouille l'image. + <constant>IMG_FILTER_SELECTIVE_BLUR</constant> : brouille l'image. </simpara> </listitem> <listitem> <simpara> - <parameter>IMG_FILTER_MEAN_REMOVAL</parameter>: son utilisation signifie le + <constant>IMG_FILTER_MEAN_REMOVAL</constant> : son utilisation signifie le déplacement pour réaliser un effet "peu précis". </simpara> </listitem> <listitem> <simpara> - <parameter>IMG_FILTER_SMOOTH</parameter>: rend l'image lissoir + <constant>IMG_FILTER_SMOOTH</constant> : rend l'image lissoir (<literal>smooth</literal>). Utilisez le paramètre <parameter>args1</parameter> pour définir le degré de lissoir. </simpara> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/image/functions/imagefttext.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/image/functions/imagefttext.xml diff -u phpdoc-fr/reference/image/functions/imagefttext.xml:1.11 phpdoc-fr/reference/image/functions/imagefttext.xml:1.12 --- phpdoc-fr/reference/image/functions/imagefttext.xml:1.11 Sun Jan 28 21:39:14 2007 +++ phpdoc-fr/reference/image/functions/imagefttext.xml Tue Feb 20 21:20:18 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id='function.imagefttext'> @@ -91,6 +91,29 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> + Cette fonction retourne un tableau contenant les éléments suivants : + <informaltable> + <tgroup cols="2"> + <tbody> + <row> + <entry>0</entry> + <entry>x : coordonnée en bas, à gauche</entry> + </row> + <row> + <entry>1</entry> + <entry>y : coordonnée en bas, à gauche</entry> + </row> + <row> + <entry>2</entry> + <entry>x : coordonnée en haut, à droite</entry> + </row> + <row> + <entry>3</entry> + <entry>y : coordonnée en haut, à droite</entry> + </row> + </tbody> + </tgroup> + </informaltable> </para> </refsect1> <refsect1 role="notes"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/image/functions/imagesetbrush.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/image/functions/imagesetbrush.xml diff -u phpdoc-fr/reference/image/functions/imagesetbrush.xml:1.12 phpdoc-fr/reference/image/functions/imagesetbrush.xml:1.13 --- phpdoc-fr/reference/image/functions/imagesetbrush.xml:1.12 Mon Jan 29 10:24:47 2007 +++ phpdoc-fr/reference/image/functions/imagesetbrush.xml Tue Feb 20 21:20:18 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.imagesetbrush"> @@ -20,19 +20,9 @@ pour le dessin des lignes par <parameter>brush</parameter>. Cette brosse sera alors utilisée avec des fonctions comme <function>imageline</function> ou <function>imagepolygon</function> - et avec les couleurs spéciales <literal>IMG_COLOR_BRUSHED</literal> ou - <literal>IMG_COLOR_STYLEDBRUSHED</literal>. + et avec les couleurs spéciales <constant>IMG_COLOR_BRUSHED</constant> ou + <constant>IMG_COLOR_STYLEDBRUSHED</constant>. </para> - <note> - <para> - Vous n'avez rien à faire lorsque vous en avez terminé avec une brosse, - mais si vous détruisez l'image de brosse, vous ne DEVEZ plus utiliser - les options <literal>IMG_COLOR_BRUSHED</literal> et - <literal>IMG_COLOR_STYLEDBRUSHED</literal> des fonctions - <function>imageline</function> et <function>imagepolygon</function>, - avant d'avoir créé une nouvelle brosse. - </para> - </note> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; @@ -43,6 +33,7 @@ <term><parameter>brush</parameter></term> <listitem> <para> + Une ressource d'image </para> </listitem> </varlistentry> @@ -55,6 +46,18 @@ &return.success; </para> </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + Vous n'avez rien à faire lorsque vous en avez terminé avec une brosse, + mais si vous détruisez l'image de brosse, vous ne DEVEZ plus utiliser + les options <constant>IMG_COLOR_BRUSHED</constant> et + <constant>IMG_COLOR_STYLEDBRUSHED</constant> + avant d'avoir créé une nouvelle brosse. + </para> + </note> + </refsect1> </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/image/functions/imagesettile.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/image/functions/imagesettile.xml diff -u phpdoc-fr/reference/image/functions/imagesettile.xml:1.11 phpdoc-fr/reference/image/functions/imagesettile.xml:1.12 --- phpdoc-fr/reference/image/functions/imagesettile.xml:1.11 Mon Jan 29 10:24:47 2007 +++ phpdoc-fr/reference/image/functions/imagesettile.xml Tue Feb 20 21:20:18 2007 @@ -1,6 +1,6 @@ <?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.imagesettile"> @@ -20,7 +20,7 @@ pavement courante par l'image <parameter>tile</parameter>, à utiliser dans tous les remplissages (comme avec les fonctions <function>imagefill</function> et <function>imagefilledpolygon</function>) - lors des remplissages avec l'option <literal>IMG_COLOR_TILED</literal>. + lors des remplissages avec l'option <constant>IMG_COLOR_TILED</constant>. </para> <para> Une image de carrelage est une image utilisée pour remplir une zone, @@ -33,7 +33,7 @@ <para> Vous n'avez rien à faire lorsque vous en avez terminé avec une brosse, mais si vous détruisez l'image de brosse, vous ne DEVEZ plus utiliser - l'option <literal>IMG_COLOR_TILED</literal> des fonctions + l'option <constant>IMG_COLOR_TILED</constant> des fonctions <function>imagefill</function> et <function>imagefilledpolygon</function>, avant d'avoir créé une nouvelle brosse. </para>
« previous php.doc.fr (#5248) next »