cvs: phpdoc-it /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-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
| From: | Andrioli Darvin | Date: | Fri, 23 Jan 2004 20:21:56 +0000 |
| Subject: | cvs: phpdoc-it /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-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 |
||
| Groups: | php.doc.it | ||
| Request: | Send a blank email to doc-it+get-519@lists.php.net to get a copy of this message | ||
darvina Fri Jan 23 15:21:56 2004 EDT
Added files:
/phpdoc-it/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-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
Log:
Initial translation
http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-add-doc-javascript.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-add-doc-javascript.xml +++ phpdoc-it/reference/fdf/functions/fdf-add-doc-javascript.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.12 --> <refentry id='function.fdf-add-doc-javascript'> <refnamediv> <refname>fdf_add_doc_javascript</refname> <refpurpose>Aggiunge codice Javascript ad un documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_add_doc_javascript</methodname> <methodparam><type>resource</type><parameter>fdfdoc</parameter></methodparam> <methodparam><type>string</type><parameter>script_name</parameter></methodparam> <methodparam><type>string</type><parameter>script_code</parameter></methodparam> </methodsynopsis> <para> Aggiunge degli script al documento FDF, che in seguito Acrobat aggiungerà agli script del documento una volta che l'FDF è importato. Su consiglia di utilizzare '\r' come separatore di riga nel <parameter>script_code</parameter>. </para> <para> <example> <title>Aggiunta di codice JavaScript ad un documento FDF</title> <programlisting role="php"> <![CDATA[ <?php $fdf = fdf_create(); fdf_add_doc_javascript($fdf, "PlusOne", "function PlusOne(x)\r{\r return x+1;\r}\r"); fdf_save($fdf); ?> ]]> </programlisting> <simpara>Sarà creato un documento come il seguente:</simpara> <screen> <![CDATA[ %FDF-1.2 %âãÏÓ 1 0 obj << /FDF << /JavaScript << /Doc [ (PlusOne)(function PlusOne\(x\)\r{\r return x+1;\r}\r)] >> >> >> endobj trailer << /Root 1 0 R >> %%EOF ]]> </screen> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-add-template.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-add-template.xml +++ phpdoc-it/reference/fdf/functions/fdf-add-template.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.12 --> <refentry id='function.fdf-add-template'> <refnamediv> <refname>fdf_add_template</refname> <refpurpose>aggiunge un templat in un documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-close.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-close.xml +++ phpdoc-it/reference/fdf/functions/fdf-close.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-close"> <refnamediv> <refname>fdf_close</refname> <refpurpose>Chiude un documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_close</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_close</function> chiude un documento FDF.</para> <para> Vedere anche <function>fdf_open</function>.</para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-create.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-create.xml +++ phpdoc-it/reference/fdf/functions/fdf-create.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-create"> <refnamediv> <refname>fdf_create</refname> <refpurpose>Crea un nuovo documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>resource</type><methodname>fdf_create</methodname> <void/> </methodsynopsis> <para> La funzione <function>fdf_create</function> crea un nuovo documento FDF. Questa funzione è necessaria se si desidera compilare dei campi di input di un documento PDF.</para> <para> <example> <title>Compila di un documento 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); Header("Content-type: application/vnd.fdf"); $fp = fopen("outtest.fdf", "r"); fpassthru($fp); unlink("outtest.fdf"); ?> ]]> </programlisting> </example></para> <para> Vedere anche <function>fdf_close</function>, <function>fdf_save</function> e <function>fdf_open</function>.</para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-enum-values.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-enum-values.xml +++ phpdoc-it/reference/fdf/functions/fdf-enum-values.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-enum-values"> <refnamediv> <refname>fdf_enum_values</refname> <refpurpose>Richiama una funzione definita dall'utente per ciascun valore del documento</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-errno.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-errno.xml +++ phpdoc-it/reference/fdf/functions/fdf-errno.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-errno"> <refnamediv> <refname>fdf_errno</refname> <refpurpose>Restituisce il codice di errore per l'ultima operazione FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>int</type><methodname>fdf_errno</methodname> <void/> </methodsynopsis> <para> La funzione <function>fdf_errno</function> il codice di erore impostato dall'ultima funzione <function>fdf_...</function> eseguita. Questo può valere zero se è stata eseguita con successo, o diverso da zero in caso di errore. Una descrizione testuale dell'errore può essere ottenuta usando la funzione <function>fdf_error</function>. </para> <para> Vedere anche <function>fdf_error</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-error.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-error.xml +++ phpdoc-it/reference/fdf/functions/fdf-error.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-error"> <refnamediv> <refname>fdf_error</refname> <refpurpose>Restituisce la descrizione di un codice di errore fdf</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> restituisce la descrizione testuale per il codice di errore passato in <parameter>error_code</parameter>. Qualora non si fornisca <parameter>error_code</parameter>, la funzione utilizzerà il codice di errore interno impostato dall'ultima operazione, in questo modo <literal>fdf_error()</literal> si presenta come una scorciatoia per <literal>fdf_error(fdf_errno())</literal>. </para> <para> Vedere anche <function>fdf_errno</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-ap.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-ap.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-ap.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-get-ap"> <refnamediv> <refname>fdf_get_ap</refname> <refpurpose>Ottiene il formato di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_get_ap</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>field</parameter></methodparam> <methodparam><type>int</type><parameter>face</parameter></methodparam> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_get_ap</function> ottiene informazioni sul campo <parameter>field</parameter> (per es. il valore della chiave /AP) e le memorizza in un file. I possibili valori per <parameter>face</parameter> sono <constant>FDFNormalAP</constant>, <constant>FDFRolloverAP</constant> e <constant>FDFDownAP</constant>. Il formato è memorizzato in nel file <parameter>filename</parameter>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-attachment.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-attachment.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-attachment.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> <refentry id="function.fdf-get-attachment"> <refnamediv> <refname>fdf_get_attachment</refname> <refpurpose>Estrae file racchiusi nel FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>array</type><methodname>fdf_get_attachment</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> <methodparam><type>string</type><parameter>savepath</parameter></methodparam> </methodsynopsis> <para> La funzione estrae un file indicato dal "selettore di file" <parameter>fieldname</parameter> e lo memorizza in <parameter>savepath</parameter>. Il parametro <parameter>savepath</parameter> può essere il nome di file o una directory esistente nella quale verrà creato il file con il suo nome originale. Eventuali file con il medesimo nome saranno sovrascritti. </para> <note> <para> Sembra che non ci sia altro metodo per risalire al nome originale del file se non quello di scaricare il file nella directory indicata da <parameter>savepath</parameter> e rilevare il nome con cui viene scritto. </para> </note> <para> La matrice restituita contiene i seguenti indici: <itemizedlist> <listitem> <simpara><parameter>path</parameter> - percorso in cui viene archiviato il file</simpara> <simpara><parameter>size</parameter> - dimensione del file in bytes</simpara> <simpara><parameter>type</parameter> - mimetype se dato nel FDF</simpara> </listitem> </itemizedlist> </para> <para> <example> <title>Scaricare un file inserito</title> <programlisting role="php"> <![CDATA[ <?php $fdf = fdf_open_string($HTTP_FDF_DATA); $data = fdf_get_attachment($fdf, "filename", "/tmpdir"); echo "Il file è stato scaricato in $data[path]"; ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-encoding.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-encoding.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-encoding.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-get-encoding"> <refnamediv> <refname>fdf_get_encoding</refname> <refpurpose>Restituisce il valore della chiave /Encoding</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_get_encoding</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_get_encoding</function> restituisce il valore della chiave /Encoding. Resituisce una stringa vuota se non viene utilizzato lo schema PDFDocEncoding/Unicode. </para> <para> Vedere anche <function>fdf_set_encoding</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-file.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-file.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-get-file"> <refnamediv> <refname>fdf_get_file</refname> <refpurpose>Ottiene il valore della chiave /F</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_get_file</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_set_file</function> restituisce il valore della chiave /F. </para> <para> Vedere anche <function>fdf_set_file</function>.</para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-flags.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-flags.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-flags.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-get-flags"> <refnamediv> <refname>fdf_get_flags</refname> <refpurpose>Ottiene i flag di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type></type><methodname>fdf_get_flags</methodname> <void/> </methodsynopsis> <para> &warn.undocumented.func; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-opt.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-opt.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-opt.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-get-option"> <refnamediv> <refname>fdf_get_opt</refname> <refpurpose>Ottiene un valore dalla matrice delle opzioni di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-status.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-status.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-status.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-get-status"> <refnamediv> <refname>fdf_get_status</refname> <refpurpose>Restituisce il valore per la chiave /STATUS</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_get_status</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_get_status</function> restituisce il valore per la chiave /STATUS. </para> <para> Vedere anche <function>fdf_set_status</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-value.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-value.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-value.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-get-value"> <refnamediv> <refname>fdf_get_value</refname> <refpurpose>Ottiene il valore di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</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> La funzione <function>fdf_get_value</function> restituisce il valore per il campo <parameter>fieldname</parameter> richiesto. </para> <para> Gli elementi di una matrice di campi possono essere recuperati passando il parametro opzionale <parameter>which</parameter>, iniziando da zero. Per i campi non matrice il parametro <parameter>which</parameter> viene ignorato. </para> <note> <para> Il supporto delle matrici ed il campo opzionale <parameter>which</parameter> sono stati aggiunti in PHP 4.3. </para> </note> <para> Vedere anche <function>fdf_set_value</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-version.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-version.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-version.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> <refentry id="function.fdf-get-version"> <refnamediv> <refname>fdf_get_version</refname> <refpurpose>Restituisce il numero di versione per le API FDF o un file</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_get_version</methodname> <methodparam choice='opt'><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> Questa funzione restituisce il numero i versione FDF per il dato documento <parameter>fdf_document</parameter>, o il numero di versione per il toolkit API, se il parametro viene omesso. </para> <para> Per il corrente toolkit FDF 5.0 il numero di versione delle API è il '5.0' e il numero di versione del documento può essere '1.2', '1.3' oppure '1.4'. </para> <para> Vedere anche <function>fdf_set_version</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-header.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-header.xml +++ phpdoc-it/reference/fdf/functions/fdf-header.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-header"> <refnamediv> <refname>fdf_header</refname> <refpurpose>Imposta gli header specifici per FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_header</methodname> <void/> </methodsynopsis> <para> Questa è una funzione di comodità per impostare le intestazioni HTTP per inviare documenti FDF. La funzione imposta il campo <literal>Content-type:</literal> a <literal>application/vnd.fdf</literal>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-next-field-name.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-next-field-name.xml +++ phpdoc-it/reference/fdf/functions/fdf-next-field-name.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-next-field-name"> <refnamediv> <refname>fdf_next_field_name</refname> <refpurpose>Restituisce il nome del campo successivo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_next_field_name</function> restituisce il nome del campo successivo al campo indicato in <parameter>fieldname</parameter> o il nome del primo campo se è impostato a &null;. </para> <para> <example> <title>Rilevazione di tutti i campi in un FDF</title> <programlisting role="php"> <![CDATA[ <?php $fdf = fdf_open($HTTP_FDF_DATA); for ($field = fdf_next_field_name($fdf); $field != ""; $field = fdf_next_field_name($fdf, $field)) { echo "field: $field\n"; } ?> ]]> </programlisting> </example> </para> <para> Vedere anche <function>fdf_enum_fields</function> e <function>fdf_get_value</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-open-string.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-open-string.xml +++ phpdoc-it/reference/fdf/functions/fdf-open-string.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <refentry id="function.fdf-open-string"> <refnamediv> <refname>fdf_open_string</refname> <refpurpose>Legge un documento FDF da una stringa</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>resource</type><methodname>fdf_open_string</methodname> <methodparam><type>string</type><parameter>fdf_data</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_open_string</function> ricava i dati di un form da un stringa. Il parametro <parameter>fdf_data</parameter> deve contenere dati restituiti da un form PDF o creati dalle funzioni <function>fdf_create</function> e <function>fdf_save_string</function>. </para> <para> Si può usare <function>fdf_open_string</function> insieme a <varname>$HTTP_FDF_DATA</varname> per elaborare input in un form fdf da un client remoto. </para> <para> <example> <title>Accesso ai dati di un form</title> <programlisting role="php"> <![CDATA[ <?php $fdf = fdf_open_string($HTTP_FDF_DATA); /* ... */ fdf_close($fdf); ?> ]]> </programlisting> </example> </para> <para> Vedere anche <function>fdf_open</function>, <function>fdf_close</function>, <function>fdf_create</function> e <function>fdf_save_string</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-open.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-open.xml +++ phpdoc-it/reference/fdf/functions/fdf-open.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-open"> <refnamediv> <refname>fdf_open</refname> <refpurpose>Apre un documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>resource</type><methodname>fdf_open</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_open</function> apre un documento con i dati del form. Il file deve contenere i dati restituiti da un form PDF o creati tramite le funzioni <function>fdf_create</function> e <function>fdf_save</function>. </para> <para> Si può processare i risultati del POST di un form PDF scrivento i dati ricevuti da <varname>$HTTP_FDF_DATA</varname> in un file e aprendolo con <function>fdf_open</function>. A partire da PHP 4.3 si può anche utilizzare la funzione <function>fdf_open_string</function>, la quale utilizza un file temporaneo (che poi viene rimosso). </para> <para> <example> <title>Accesso ai dati di un form</title> <programlisting role="php"> <![CDATA[ <?php // Salva i dati FDF in un file temporaneo $fdffp = fopen("test.fdf", "w"); fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA)); fclose($fdffp); // Apre il file temporaneo e analizza i dati $fdf = fdf_open("test.fdf"); /* ... */ fdf_close($fdf); ?> ]]> </programlisting> </example> </para> <para> Vedere anche <function>fdf_open_string</function>, <function>fdf_close</function>, <function>fdf_create</function> e <function>fdf_save</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-remove-item.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-remove-item.xml +++ phpdoc-it/reference/fdf/functions/fdf-remove-item.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-remove-item"> <refnamediv> <refname>fdf_remove_item</refname> <refpurpose>Imposta il frame di destinazione per un form</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-save-string.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-save-string.xml +++ phpdoc-it/reference/fdf/functions/fdf-save-string.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> <refentry id="function.fdf-save-string"> <refnamediv> <refname>fdf_save_string</refname> <refpurpose>Restituisce un documento FDF come una stringa</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_save_string</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_save_string</function> restituisce il documento FDF come una stringa. </para> <para> <example> <title>Recupero di un documento FDF come stringa</title> <programlisting role="php"> <![CDATA[ <?php $fdf = fdf_create(); fdf_set_value($fdf, "foo", "bar"); $str = fdf_save_string($fdf); fdf_close($fdf); echo $str; ?> ]]> </programlisting> <para> Visualizzerà qualcosa tipo </para> <screen> <![CDATA[ %FDF-1.2 %âãÏÓ 1 0 obj << /FDF << /Fields 2 0 R >> >> endobj 2 0 obj [ << /T (foo)/V (bar)>> ] endobj trailer << /Root 1 0 R >> %%EOF ]]> </screen> </example> </para> <para> Vedere anche: <function>fdf_save</function>, <function>fdf_open_string</function>, <function>fdf_create</function> e <function>fdf_close</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-save.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-save.xml +++ phpdoc-it/reference/fdf/functions/fdf-save.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-save"> <refnamediv> <refname>fdf_save</refname> <refpurpose>Salva un documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_save</function> salva un documento FDF. Il risultante documento FDF sarà scritto in <parameter>filename</parameter>. Se si omette il parametro <parameter>filename</parameter>, la funzione <function>fdf_save</function> scriverà il documento FDF nel default output di PHP. </para> <para> Vedere anche: <function>fdf_save_string</function>, <function>fdf_create</function> e <function>fdf_close</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-ap.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-ap.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-ap.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-set-ap"> <refnamediv> <refname>fdf_set_ap</refname> <refpurpose>Imposta l'apparire di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_ap</function> imposta l'apparire di un campo (per es. il valore della chiave /AP). I possibili valori per <parameter>face</parameter> sono <constant>FDFNormalAP</constant>, <constant>FDFRolloverAP</constant> e <constant>FDFDownAP</constant>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-encoding.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-encoding.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-encoding.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.24 --> <refentry id="function.fdf-set-encoding"> <refnamediv> <refname>fdf_set_encoding</refname> <refpurpose>Imposta la codifica dei caratteri per FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_encoding</function> imposta la codifica dei caratteri per il documento FDF <parameter>fdf_document</parameter>. Il parametro <parameter>encoding</parameter> deve essere il nome di un codifica valida. I valori attualmente ammessi sono: "<literal>Shift-JIS</literal>", "<literal>UHC</literal>", "<literal>GBK</literal>","<literal>BigFive</literal>". Una stringa vuota re-imposta la codifica al valore di default PDFDocEncoding/Unicode. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-file.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-file.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-set-file"> <refnamediv> <refname>fdf_set_file</refname> <refpurpose>Imposta un documento PDF per visualizzare i dati FDF presenti</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_file</function> selezione un differente documento PDF nel quale visualizzare i dati di un form originati da un'altro. Il parametro <parameter>url</parameter> deve essere un URL assoluto. </para> <para> Il frame nel quale visualizzare il documento può essere impostato tramite il parametro <parameter>target_frame</parameter> o tramite la funzione <function>fdf_set_target_frame</function>. </para> <example> <title>Passaggio di dati FDF a un secondo form</title> <programlisting role="php"> <![CDATA[ <?php /* imposta il content type a Adobe FDF */ fdf_header(); /* inizia un nuovo fdf */ $fdf = fdf_create(); /* imposta il campo "foo" a "bar" */ $fdf_set_value($fdf, "foo", "bar"); /* dice al client di visualizzare i dati fdf in "fdf_form.pdf" */ fdf_set_file($fdf, "http://www.example.com/fdf_form.pdf"); /* scrive fdf */ fdf_save(); /* chiusura */ fdf_close(); ?> ]]> </programlisting> </example> <para> Vedere anche <function>fdf_get_file</function> e <function>fdf_set_target_frame</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-flags.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-flags.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-flags.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.6 --> <refentry id="function.fdf-set-flags"> <refnamediv> <refname>fdf_set_flags</refname> <refpurpose>Imposta i flag di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_flags</function> imposta i flag del campo <parameter>fieldname</parameter> passato </para> <para> Vedere anche <function>fdf_set_opt</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-javascript-action.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-javascript-action.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-javascript-action.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.6 --> <refentry id="function.fdf-set-javascript-action"> <refnamediv> <refname>fdf_set_javascript_action</refname> <refpurpose>Imposta un'azione javascript per un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_javascript_action</function> imposta una azione javascript per il campo <parameter>fieldname</parameter> passato. </para> <para> Vedere anche <function>fdf_set_submit_form_action</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-opt.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-opt.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-opt.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.6 --> <refentry id="function.fdf-set-opt"> <refnamediv> <refname>fdf_set_opt</refname> <refpurpose>Imposta le opzioni per un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_opt</function> imposta le opzioni del campo <parameter>fieldname</parameter> dato. </para> <para> Vedere anche <function>fdf_set_flags</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-status.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-status.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-status.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-set-status"> <refnamediv> <refname>fdf_set_status</refname> <refpurpose>Imposta il valore per la chiave /STATUS</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_status</function> imposta il valore per la chiave /STATUS. Quando un client riceve un documento FDF con lo 'status' impostato, ne visualizzerà il valore in una finestra. </para> <para> Vedere anche <function>fdf_get_status</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-submit-form-action.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-submit-form-action.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-submit-form-action.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.6 --> <refentry id="function.fdf-set-submit-form-action"> <refnamediv> <refname>fdf_set_submit_form_action</refname> <refpurpose>Imposta un'azione per un campo nell'invio di un form</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_submit_form_action</function> imposta un'azione da eseguire nell'invio del form per il campo <parameter>fieldname</parameter>. </para> <para> Vedere anche <function>fdf_set_javascript_action</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-target-frame.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-target-frame.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-target-frame.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> <refentry id="function.fdf-set-target-frame"> <refnamediv> <refname>fdf_set_target_frame</refname> <refpurpose>Imposta il frame in cui visualizzare il form</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_set_target_frame</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>frame_name</parameter></methodparam> </methodsynopsis> <para> Imposta il frame in cui visualizzare il PDF risultante da <function>fdf_save_file</function>. </para> <para> Vedere anche <function>fdf_save_file</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-value.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-value.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-value.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <refentry id="function.fdf-set-value"> <refnamediv> <refname>fdf_set_value</refname> <refpurpose>Imposta il valore di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_set_value</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> <methodparam choice='opt'><type>int</type><parameter>isName</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_set_value</function> imposta il campo <parameter>fieldname</parameter> al valore <parameter>value</parameter>. Il parametro <parameter>value</parameter> sarà memorizzato come stringa a meno che non si tratti di una matrice. In questo caso tutti gli elementi della matrice saranno memorizzati in una matrice di valori. </para> <note> <para> Nella vecchia versione del toolkit fdf l'ultimo parametro determinava se il valore del campo doveva essere convertito in un PDF Name (<parameter>isName</parameter> = 1) o in una stringa PDF (<parameter>isName</parameter> = 0). Questo campo non viene più utilizzato con l'attuale versione 5.0. Per motivi di compatibilità è ancora supportato come parametro opzionale a partire da PHP 4.3, ma viene ignorato. </para> <para> Il supporto per <parameter>value</parameter> come matrice è stato aggiunto in PHP 4.3. </para> </note> <para> Vedere anche <function>fdf_get_value</function> e <function>fdf_remove_item</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-version.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-version.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-version.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-set-version"> <refnamediv> <refname>fdf_set_version</refname> <refpurpose>Imposta il numero di versione per un file FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_set_version</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>version</parameter></methodparam> </methodsynopsis> <para> Questa funzione imposta il numero di versione del file FDF <parameter>fdf_document</parameter> a <parameter>version</parameter>. Alcune caratteristiche supportate da questo modulo sono soltatnto disponibili nelle più recenti versioni di fdf. L'attuale toolkit FDF (5.0) accetta come versione i valori '1.2', '1.3' or '1.4'. </para> <para> Vedere anche <function>fdf_get_version</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->
http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-add-doc-javascript.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-add-doc-javascript.xml +++ phpdoc-it/reference/fdf/functions/fdf-add-doc-javascript.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.12 --> <refentry id='function.fdf-add-doc-javascript'> <refnamediv> <refname>fdf_add_doc_javascript</refname> <refpurpose>Aggiunge codice Javascript ad un documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_add_doc_javascript</methodname> <methodparam><type>resource</type><parameter>fdfdoc</parameter></methodparam> <methodparam><type>string</type><parameter>script_name</parameter></methodparam> <methodparam><type>string</type><parameter>script_code</parameter></methodparam> </methodsynopsis> <para> Aggiunge degli script al documento FDF, che in seguito Acrobat aggiungerà agli script del documento una volta che l'FDF è importato. Su consiglia di utilizzare '\r' come separatore di riga nel <parameter>script_code</parameter>. </para> <para> <example> <title>Aggiunta di codice JavaScript ad un documento FDF</title> <programlisting role="php"> <![CDATA[ <?php $fdf = fdf_create(); fdf_add_doc_javascript($fdf, "PlusOne", "function PlusOne(x)\r{\r return x+1;\r}\r"); fdf_save($fdf); ?> ]]> </programlisting> <simpara>Sarà creato un documento come il seguente:</simpara> <screen> <![CDATA[ %FDF-1.2 %âãÏÓ 1 0 obj << /FDF << /JavaScript << /Doc [ (PlusOne)(function PlusOne\(x\)\r{\r return x+1;\r}\r)] >> >> >> endobj trailer << /Root 1 0 R >> %%EOF ]]> </screen> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-add-template.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-add-template.xml +++ phpdoc-it/reference/fdf/functions/fdf-add-template.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.12 --> <refentry id='function.fdf-add-template'> <refnamediv> <refname>fdf_add_template</refname> <refpurpose>aggiunge un templat in un documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-close.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-close.xml +++ phpdoc-it/reference/fdf/functions/fdf-close.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-close"> <refnamediv> <refname>fdf_close</refname> <refpurpose>Chiude un documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_close</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_close</function> chiude un documento FDF.</para> <para> Vedere anche <function>fdf_open</function>.</para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-create.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-create.xml +++ phpdoc-it/reference/fdf/functions/fdf-create.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-create"> <refnamediv> <refname>fdf_create</refname> <refpurpose>Crea un nuovo documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>resource</type><methodname>fdf_create</methodname> <void/> </methodsynopsis> <para> La funzione <function>fdf_create</function> crea un nuovo documento FDF. Questa funzione è necessaria se si desidera compilare dei campi di input di un documento PDF.</para> <para> <example> <title>Compila di un documento 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); Header("Content-type: application/vnd.fdf"); $fp = fopen("outtest.fdf", "r"); fpassthru($fp); unlink("outtest.fdf"); ?> ]]> </programlisting> </example></para> <para> Vedere anche <function>fdf_close</function>, <function>fdf_save</function> e <function>fdf_open</function>.</para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-enum-values.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-enum-values.xml +++ phpdoc-it/reference/fdf/functions/fdf-enum-values.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-enum-values"> <refnamediv> <refname>fdf_enum_values</refname> <refpurpose>Richiama una funzione definita dall'utente per ciascun valore del documento</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-errno.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-errno.xml +++ phpdoc-it/reference/fdf/functions/fdf-errno.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-errno"> <refnamediv> <refname>fdf_errno</refname> <refpurpose>Restituisce il codice di errore per l'ultima operazione FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>int</type><methodname>fdf_errno</methodname> <void/> </methodsynopsis> <para> La funzione <function>fdf_errno</function> il codice di erore impostato dall'ultima funzione <function>fdf_...</function> eseguita. Questo può valere zero se è stata eseguita con successo, o diverso da zero in caso di errore. Una descrizione testuale dell'errore può essere ottenuta usando la funzione <function>fdf_error</function>. </para> <para> Vedere anche <function>fdf_error</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-error.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-error.xml +++ phpdoc-it/reference/fdf/functions/fdf-error.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-error"> <refnamediv> <refname>fdf_error</refname> <refpurpose>Restituisce la descrizione di un codice di errore fdf</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> restituisce la descrizione testuale per il codice di errore passato in <parameter>error_code</parameter>. Qualora non si fornisca <parameter>error_code</parameter>, la funzione utilizzerà il codice di errore interno impostato dall'ultima operazione, in questo modo <literal>fdf_error()</literal> si presenta come una scorciatoia per <literal>fdf_error(fdf_errno())</literal>. </para> <para> Vedere anche <function>fdf_errno</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-ap.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-ap.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-ap.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-get-ap"> <refnamediv> <refname>fdf_get_ap</refname> <refpurpose>Ottiene il formato di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_get_ap</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>field</parameter></methodparam> <methodparam><type>int</type><parameter>face</parameter></methodparam> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_get_ap</function> ottiene informazioni sul campo <parameter>field</parameter> (per es. il valore della chiave /AP) e le memorizza in un file. I possibili valori per <parameter>face</parameter> sono <constant>FDFNormalAP</constant>, <constant>FDFRolloverAP</constant> e <constant>FDFDownAP</constant>. Il formato è memorizzato in nel file <parameter>filename</parameter>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-attachment.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-attachment.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-attachment.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> <refentry id="function.fdf-get-attachment"> <refnamediv> <refname>fdf_get_attachment</refname> <refpurpose>Estrae file racchiusi nel FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>array</type><methodname>fdf_get_attachment</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> <methodparam><type>string</type><parameter>savepath</parameter></methodparam> </methodsynopsis> <para> La funzione estrae un file indicato dal "selettore di file" <parameter>fieldname</parameter> e lo memorizza in <parameter>savepath</parameter>. Il parametro <parameter>savepath</parameter> può essere il nome di file o una directory esistente nella quale verrà creato il file con il suo nome originale. Eventuali file con il medesimo nome saranno sovrascritti. </para> <note> <para> Sembra che non ci sia altro metodo per risalire al nome originale del file se non quello di scaricare il file nella directory indicata da <parameter>savepath</parameter> e rilevare il nome con cui viene scritto. </para> </note> <para> La matrice restituita contiene i seguenti indici: <itemizedlist> <listitem> <simpara><parameter>path</parameter> - percorso in cui viene archiviato il file</simpara> <simpara><parameter>size</parameter> - dimensione del file in bytes</simpara> <simpara><parameter>type</parameter> - mimetype se dato nel FDF</simpara> </listitem> </itemizedlist> </para> <para> <example> <title>Scaricare un file inserito</title> <programlisting role="php"> <![CDATA[ <?php $fdf = fdf_open_string($HTTP_FDF_DATA); $data = fdf_get_attachment($fdf, "filename", "/tmpdir"); echo "Il file è stato scaricato in $data[path]"; ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-encoding.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-encoding.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-encoding.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-get-encoding"> <refnamediv> <refname>fdf_get_encoding</refname> <refpurpose>Restituisce il valore della chiave /Encoding</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_get_encoding</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_get_encoding</function> restituisce il valore della chiave /Encoding. Resituisce una stringa vuota se non viene utilizzato lo schema PDFDocEncoding/Unicode. </para> <para> Vedere anche <function>fdf_set_encoding</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-file.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-file.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-get-file"> <refnamediv> <refname>fdf_get_file</refname> <refpurpose>Ottiene il valore della chiave /F</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_get_file</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_set_file</function> restituisce il valore della chiave /F. </para> <para> Vedere anche <function>fdf_set_file</function>.</para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-flags.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-flags.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-flags.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-get-flags"> <refnamediv> <refname>fdf_get_flags</refname> <refpurpose>Ottiene i flag di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type></type><methodname>fdf_get_flags</methodname> <void/> </methodsynopsis> <para> &warn.undocumented.func; </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-opt.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-opt.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-opt.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-get-option"> <refnamediv> <refname>fdf_get_opt</refname> <refpurpose>Ottiene un valore dalla matrice delle opzioni di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-status.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-status.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-status.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-get-status"> <refnamediv> <refname>fdf_get_status</refname> <refpurpose>Restituisce il valore per la chiave /STATUS</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_get_status</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_get_status</function> restituisce il valore per la chiave /STATUS. </para> <para> Vedere anche <function>fdf_set_status</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-value.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-value.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-value.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-get-value"> <refnamediv> <refname>fdf_get_value</refname> <refpurpose>Ottiene il valore di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</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> La funzione <function>fdf_get_value</function> restituisce il valore per il campo <parameter>fieldname</parameter> richiesto. </para> <para> Gli elementi di una matrice di campi possono essere recuperati passando il parametro opzionale <parameter>which</parameter>, iniziando da zero. Per i campi non matrice il parametro <parameter>which</parameter> viene ignorato. </para> <note> <para> Il supporto delle matrici ed il campo opzionale <parameter>which</parameter> sono stati aggiunti in PHP 4.3. </para> </note> <para> Vedere anche <function>fdf_set_value</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-get-version.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-get-version.xml +++ phpdoc-it/reference/fdf/functions/fdf-get-version.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> <refentry id="function.fdf-get-version"> <refnamediv> <refname>fdf_get_version</refname> <refpurpose>Restituisce il numero di versione per le API FDF o un file</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_get_version</methodname> <methodparam choice='opt'><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> Questa funzione restituisce il numero i versione FDF per il dato documento <parameter>fdf_document</parameter>, o il numero di versione per il toolkit API, se il parametro viene omesso. </para> <para> Per il corrente toolkit FDF 5.0 il numero di versione delle API è il '5.0' e il numero di versione del documento può essere '1.2', '1.3' oppure '1.4'. </para> <para> Vedere anche <function>fdf_set_version</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-header.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-header.xml +++ phpdoc-it/reference/fdf/functions/fdf-header.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-header"> <refnamediv> <refname>fdf_header</refname> <refpurpose>Imposta gli header specifici per FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_header</methodname> <void/> </methodsynopsis> <para> Questa è una funzione di comodità per impostare le intestazioni HTTP per inviare documenti FDF. La funzione imposta il campo <literal>Content-type:</literal> a <literal>application/vnd.fdf</literal>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-next-field-name.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-next-field-name.xml +++ phpdoc-it/reference/fdf/functions/fdf-next-field-name.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-next-field-name"> <refnamediv> <refname>fdf_next_field_name</refname> <refpurpose>Restituisce il nome del campo successivo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_next_field_name</function> restituisce il nome del campo successivo al campo indicato in <parameter>fieldname</parameter> o il nome del primo campo se è impostato a &null;. </para> <para> <example> <title>Rilevazione di tutti i campi in un FDF</title> <programlisting role="php"> <![CDATA[ <?php $fdf = fdf_open($HTTP_FDF_DATA); for ($field = fdf_next_field_name($fdf); $field != ""; $field = fdf_next_field_name($fdf, $field)) { echo "field: $field\n"; } ?> ]]> </programlisting> </example> </para> <para> Vedere anche <function>fdf_enum_fields</function> e <function>fdf_get_value</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-open-string.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-open-string.xml +++ phpdoc-it/reference/fdf/functions/fdf-open-string.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <refentry id="function.fdf-open-string"> <refnamediv> <refname>fdf_open_string</refname> <refpurpose>Legge un documento FDF da una stringa</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>resource</type><methodname>fdf_open_string</methodname> <methodparam><type>string</type><parameter>fdf_data</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_open_string</function> ricava i dati di un form da un stringa. Il parametro <parameter>fdf_data</parameter> deve contenere dati restituiti da un form PDF o creati dalle funzioni <function>fdf_create</function> e <function>fdf_save_string</function>. </para> <para> Si può usare <function>fdf_open_string</function> insieme a <varname>$HTTP_FDF_DATA</varname> per elaborare input in un form fdf da un client remoto. </para> <para> <example> <title>Accesso ai dati di un form</title> <programlisting role="php"> <![CDATA[ <?php $fdf = fdf_open_string($HTTP_FDF_DATA); /* ... */ fdf_close($fdf); ?> ]]> </programlisting> </example> </para> <para> Vedere anche <function>fdf_open</function>, <function>fdf_close</function>, <function>fdf_create</function> e <function>fdf_save_string</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-open.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-open.xml +++ phpdoc-it/reference/fdf/functions/fdf-open.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.6 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-open"> <refnamediv> <refname>fdf_open</refname> <refpurpose>Apre un documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>resource</type><methodname>fdf_open</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_open</function> apre un documento con i dati del form. Il file deve contenere i dati restituiti da un form PDF o creati tramite le funzioni <function>fdf_create</function> e <function>fdf_save</function>. </para> <para> Si può processare i risultati del POST di un form PDF scrivento i dati ricevuti da <varname>$HTTP_FDF_DATA</varname> in un file e aprendolo con <function>fdf_open</function>. A partire da PHP 4.3 si può anche utilizzare la funzione <function>fdf_open_string</function>, la quale utilizza un file temporaneo (che poi viene rimosso). </para> <para> <example> <title>Accesso ai dati di un form</title> <programlisting role="php"> <![CDATA[ <?php // Salva i dati FDF in un file temporaneo $fdffp = fopen("test.fdf", "w"); fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA)); fclose($fdffp); // Apre il file temporaneo e analizza i dati $fdf = fdf_open("test.fdf"); /* ... */ fdf_close($fdf); ?> ]]> </programlisting> </example> </para> <para> Vedere anche <function>fdf_open_string</function>, <function>fdf_close</function>, <function>fdf_create</function> e <function>fdf_save</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-remove-item.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-remove-item.xml +++ phpdoc-it/reference/fdf/functions/fdf-remove-item.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-remove-item"> <refnamediv> <refname>fdf_remove_item</refname> <refpurpose>Imposta il frame di destinazione per un form</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-save-string.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-save-string.xml +++ phpdoc-it/reference/fdf/functions/fdf-save-string.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> <refentry id="function.fdf-save-string"> <refnamediv> <refname>fdf_save_string</refname> <refpurpose>Restituisce un documento FDF come una stringa</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_save_string</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_save_string</function> restituisce il documento FDF come una stringa. </para> <para> <example> <title>Recupero di un documento FDF come stringa</title> <programlisting role="php"> <![CDATA[ <?php $fdf = fdf_create(); fdf_set_value($fdf, "foo", "bar"); $str = fdf_save_string($fdf); fdf_close($fdf); echo $str; ?> ]]> </programlisting> <para> Visualizzerà qualcosa tipo </para> <screen> <![CDATA[ %FDF-1.2 %âãÏÓ 1 0 obj << /FDF << /Fields 2 0 R >> >> endobj 2 0 obj [ << /T (foo)/V (bar)>> ] endobj trailer << /Root 1 0 R >> %%EOF ]]> </screen> </example> </para> <para> Vedere anche: <function>fdf_save</function>, <function>fdf_open_string</function>, <function>fdf_create</function> e <function>fdf_close</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-save.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-save.xml +++ phpdoc-it/reference/fdf/functions/fdf-save.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-save"> <refnamediv> <refname>fdf_save</refname> <refpurpose>Salva un documento FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_save</function> salva un documento FDF. Il risultante documento FDF sarà scritto in <parameter>filename</parameter>. Se si omette il parametro <parameter>filename</parameter>, la funzione <function>fdf_save</function> scriverà il documento FDF nel default output di PHP. </para> <para> Vedere anche: <function>fdf_save_string</function>, <function>fdf_create</function> e <function>fdf_close</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-ap.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-ap.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-ap.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-set-ap"> <refnamediv> <refname>fdf_set_ap</refname> <refpurpose>Imposta l'apparire di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_ap</function> imposta l'apparire di un campo (per es. il valore della chiave /AP). I possibili valori per <parameter>face</parameter> sono <constant>FDFNormalAP</constant>, <constant>FDFRolloverAP</constant> e <constant>FDFDownAP</constant>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-encoding.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-encoding.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-encoding.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.24 --> <refentry id="function.fdf-set-encoding"> <refnamediv> <refname>fdf_set_encoding</refname> <refpurpose>Imposta la codifica dei caratteri per FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_encoding</function> imposta la codifica dei caratteri per il documento FDF <parameter>fdf_document</parameter>. Il parametro <parameter>encoding</parameter> deve essere il nome di un codifica valida. I valori attualmente ammessi sono: "<literal>Shift-JIS</literal>", "<literal>UHC</literal>", "<literal>GBK</literal>","<literal>BigFive</literal>". Una stringa vuota re-imposta la codifica al valore di default PDFDocEncoding/Unicode. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-file.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-file.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-file.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-set-file"> <refnamediv> <refname>fdf_set_file</refname> <refpurpose>Imposta un documento PDF per visualizzare i dati FDF presenti</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_file</function> selezione un differente documento PDF nel quale visualizzare i dati di un form originati da un'altro. Il parametro <parameter>url</parameter> deve essere un URL assoluto. </para> <para> Il frame nel quale visualizzare il documento può essere impostato tramite il parametro <parameter>target_frame</parameter> o tramite la funzione <function>fdf_set_target_frame</function>. </para> <example> <title>Passaggio di dati FDF a un secondo form</title> <programlisting role="php"> <![CDATA[ <?php /* imposta il content type a Adobe FDF */ fdf_header(); /* inizia un nuovo fdf */ $fdf = fdf_create(); /* imposta il campo "foo" a "bar" */ $fdf_set_value($fdf, "foo", "bar"); /* dice al client di visualizzare i dati fdf in "fdf_form.pdf" */ fdf_set_file($fdf, "http://www.example.com/fdf_form.pdf"); /* scrive fdf */ fdf_save(); /* chiusura */ fdf_close(); ?> ]]> </programlisting> </example> <para> Vedere anche <function>fdf_get_file</function> e <function>fdf_set_target_frame</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-flags.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-flags.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-flags.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.6 --> <refentry id="function.fdf-set-flags"> <refnamediv> <refname>fdf_set_flags</refname> <refpurpose>Imposta i flag di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_flags</function> imposta i flag del campo <parameter>fieldname</parameter> passato </para> <para> Vedere anche <function>fdf_set_opt</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-javascript-action.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-javascript-action.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-javascript-action.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.6 --> <refentry id="function.fdf-set-javascript-action"> <refnamediv> <refname>fdf_set_javascript_action</refname> <refpurpose>Imposta un'azione javascript per un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_javascript_action</function> imposta una azione javascript per il campo <parameter>fieldname</parameter> passato. </para> <para> Vedere anche <function>fdf_set_submit_form_action</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-opt.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-opt.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-opt.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.6 --> <refentry id="function.fdf-set-opt"> <refnamediv> <refname>fdf_set_opt</refname> <refpurpose>Imposta le opzioni per un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_opt</function> imposta le opzioni del campo <parameter>fieldname</parameter> dato. </para> <para> Vedere anche <function>fdf_set_flags</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-status.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-status.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-status.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.2 --> <refentry id="function.fdf-set-status"> <refnamediv> <refname>fdf_set_status</refname> <refpurpose>Imposta il valore per la chiave /STATUS</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_status</function> imposta il valore per la chiave /STATUS. Quando un client riceve un documento FDF con lo 'status' impostato, ne visualizzerà il valore in una finestra. </para> <para> Vedere anche <function>fdf_get_status</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-submit-form-action.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-submit-form-action.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-submit-form-action.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.3 Maintainer: darvina Status: ready --> <!-- splitted from ./en/functions/fdf.xml, last change in rev 1.6 --> <refentry id="function.fdf-set-submit-form-action"> <refnamediv> <refname>fdf_set_submit_form_action</refname> <refpurpose>Imposta un'azione per un campo nell'invio di un form</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <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> La funzione <function>fdf_set_submit_form_action</function> imposta un'azione da eseguire nell'invio del form per il campo <parameter>fieldname</parameter>. </para> <para> Vedere anche <function>fdf_set_javascript_action</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-target-frame.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-target-frame.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-target-frame.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.2 Maintainer: darvina Status: ready --> <refentry id="function.fdf-set-target-frame"> <refnamediv> <refname>fdf_set_target_frame</refname> <refpurpose>Imposta il frame in cui visualizzare il form</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_set_target_frame</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>frame_name</parameter></methodparam> </methodsynopsis> <para> Imposta il frame in cui visualizzare il PDF risultante da <function>fdf_save_file</function>. </para> <para> Vedere anche <function>fdf_save_file</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-value.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-value.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-value.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.4 Maintainer: darvina Status: ready --> <refentry id="function.fdf-set-value"> <refnamediv> <refname>fdf_set_value</refname> <refpurpose>Imposta il valore di un campo</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>bool</type><methodname>fdf_set_value</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>fieldname</parameter></methodparam> <methodparam><type>mixed</type><parameter>value</parameter></methodparam> <methodparam choice='opt'><type>int</type><parameter>isName</parameter></methodparam> </methodsynopsis> <para> La funzione <function>fdf_set_value</function> imposta il campo <parameter>fieldname</parameter> al valore <parameter>value</parameter>. Il parametro <parameter>value</parameter> sarà memorizzato come stringa a meno che non si tratti di una matrice. In questo caso tutti gli elementi della matrice saranno memorizzati in una matrice di valori. </para> <note> <para> Nella vecchia versione del toolkit fdf l'ultimo parametro determinava se il valore del campo doveva essere convertito in un PDF Name (<parameter>isName</parameter> = 1) o in una stringa PDF (<parameter>isName</parameter> = 0). Questo campo non viene più utilizzato con l'attuale versione 5.0. Per motivi di compatibilità è ancora supportato come parametro opzionale a partire da PHP 4.3, ma viene ignorato. </para> <para> Il supporto per <parameter>value</parameter> come matrice è stato aggiunto in PHP 4.3. </para> </note> <para> Vedere anche <function>fdf_get_value</function> e <function>fdf_remove_item</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> http://cvs.php.net/co.php/phpdoc-it/reference/fdf/functions/fdf-set-version.xml?r=1.1&p=1 Index: phpdoc-it/reference/fdf/functions/fdf-set-version.xml +++ phpdoc-it/reference/fdf/functions/fdf-set-version.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- EN-Revision: 1.1 Maintainer: darvina Status: ready --> <refentry id="function.fdf-set-version"> <refnamediv> <refname>fdf_set_version</refname> <refpurpose>Imposta il numero di versione per un file FDF</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> <methodsynopsis> <type>string</type><methodname>fdf_set_version</methodname> <methodparam><type>resource</type><parameter>fdf_document</parameter></methodparam> <methodparam><type>string</type><parameter>version</parameter></methodparam> </methodsynopsis> <para> Questa funzione imposta il numero di versione del file FDF <parameter>fdf_document</parameter> a <parameter>version</parameter>. Alcune caratteristiche supportate da questo modulo sono soltatnto disponibili nelle più recenti versioni di fdf. L'attuale toolkit FDF (5.0) accetta come versione i valori '1.2', '1.3' or '1.4'. </para> <para> Vedere anche <function>fdf_get_version</function>. </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->