[latex3-commits] [git/LaTeX3-latex3-pdfresources] radiobuttons: keys for submit (1e3815a)

Ulrike Fischer fischer at troubleshooting-tex.de
Tue Jun 8 15:08:11 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : radiobuttons
Link       : https://github.com/latex3/pdfresources/commit/1e3815a0d7fb80412febd7c52c1d226a36039d35

>---------------------------------------------------------------

commit 1e3815a0d7fb80412febd7c52c1d226a36039d35
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Jun 8 15:08:11 2021 +0200

    keys for submit


>---------------------------------------------------------------

1e3815a0d7fb80412febd7c52c1d226a36039d35
 l3pdffield-action.dtx | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/l3pdffield-action.dtx b/l3pdffield-action.dtx
index c585449..b055e23 100644
--- a/l3pdffield-action.dtx
+++ b/l3pdffield-action.dtx
@@ -524,7 +524,7 @@
       }
   }
 
-\keys_define:nn { pdffield }
+\keys_define:nn { pdffield / action }
   {
     ,setFlags .code:n =
       {
@@ -542,6 +542,15 @@
       }
     ,unsetsubmitflags .meta:n = {unsetFlags={#1}}
   }
+
+\keys_define:nn {pdffield / action}
+ {
+   charset .choices:nn =
+     {utf-8, utf-16, Shift-JIS, BigFive, GBK, UHC}
+     { }
+  ,url .code:n = {}
+  ,urlencode .bool_set:N = \l_@@_url_encode_bool
+ }
 %    \end{macrocode}
 %
 % \subsection{New reset action}
@@ -601,7 +610,7 @@
     \tl_const:cx { c_@@_action_reset_#3_tl }{ \pdf_object_ref_last: }
     \cs_gset_eq:cN {@@_action_reset_#3:} \prg_do_nothing:
   }
-\@@_action_reset_new:nn  {all}{fields={},exclude}
+
 %    \end{macrocode}
 %
 %





More information about the latex3-commits mailing list.