[latex3-commits] [git/LaTeX3-latex3-pdfresources] textfields: move to widget dictionaries (6419576)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu May 6 23:09:12 CEST 2021


Repository : https://github.com/latex3/pdfresources
On branch  : textfields
Link       : https://github.com/latex3/pdfresources/commit/641957617fe47d0d2c859e21a824052ec6bda4d1

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

commit 641957617fe47d0d2c859e21a824052ec6bda4d1
Merge: 4f5a876 b010ec5
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu May 6 23:09:12 2021 +0200

    move to widget dictionaries


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

641957617fe47d0d2c859e21a824052ec6bda4d1
 l3pdfannot.dtx | 14 +++++++++-----
 l3pdffield.dtx | 46 ++++------------------------------------------
 2 files changed, 13 insertions(+), 47 deletions(-)

diff --cc l3pdffield.dtx
index 0b5df00,ed3777a..0ddc947
--- a/l3pdffield.dtx
+++ b/l3pdffield.dtx
@@@ -813,10 -775,11 +775,10 @@@
               \pdf_string_from_unicode:nnN {utf8/string}{##1}\l_@@_tmpa_str
               \str_if_empty:NTF \l_@@_tmpa_str
                 {
-                  \pdfdict_remove:nn {l_@@/annot/AA}{#1}
+                  \pdfannot_dict_remove:nn {widget/AA}{#1}
                 }
                 {
-                  \pdfdict_put:nnx {l_@@/annot/AA}
 -                 
+                  \pdfannot_dict_put:nnx {widget/AA}
                    {#1}
                    {<</S/JavaScript/JS\l_@@_tmpa_str>>}
                 }





More information about the latex3-commits mailing list.