[latex3-commits] [git/LaTeX3-latex3-pdfresources] test-new-hooks: corrected button example (59bfd80)
Ulrike Fischer
fischer at troubleshooting-tex.de
Thu May 14 10:53:48 CEST 2020
Repository : https://github.com/latex3/pdfresources
On branch : test-new-hooks
Link : https://github.com/latex3/pdfresources/commit/59bfd80c30130a32b1e38f2904f6bbbb58b2e6d4
>---------------------------------------------------------------
commit 59bfd80c30130a32b1e38f2904f6bbbb58b2e6d4
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Thu May 14 10:53:48 2020 +0200
corrected button example
>---------------------------------------------------------------
59bfd80c30130a32b1e38f2904f6bbbb58b2e6d4
experiments/buttonfield-test.tex | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/experiments/buttonfield-test.tex b/experiments/buttonfield-test.tex
index 68b7d2c..ab26fea 100644
--- a/experiments/buttonfield-test.tex
+++ b/experiments/buttonfield-test.tex
@@ -12,8 +12,9 @@
\NewDocumentCommand \buttonfield { }
{
\group_begin:
- \pdfdict_put:nnn{annot/Widget}{F}{/Btn}
+ \pdfdict_put:nnn{annot/Widget}{FT}{/Btn}
\pdfdict_put:nnn{annot/Widget}{T}{(button)}
+ \pdfdict_put:nnn{annot/Widget}{Border}{[0~0~1]}
\pdfdict_put:nnn{annot/Widget}{Ft}{65536}
\pdfannot_box:nnnnn {Widget}{ 100pt } { 100pt } { 0pt }{}
\pdfdict_gput:nnx {Catalog/AcroForm}{Fields}{\pdfannot_box_last:}
More information about the latex3-commits
mailing list.