[latex3-commits] [git/LaTeX3-latex3-pdfresources] test-new-hooks: some tests (183ad9f)
Ulrike Fischer
fischer at troubleshooting-tex.de
Wed May 20 00:26:33 CEST 2020
Repository : https://github.com/latex3/pdfresources
On branch : test-new-hooks
Link : https://github.com/latex3/pdfresources/commit/183ad9f7ab46adda60942c34b7ec8fb4bc132609
>---------------------------------------------------------------
commit 183ad9f7ab46adda60942c34b7ec8fb4bc132609
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Wed May 20 00:26:33 2020 +0200
some tests
>---------------------------------------------------------------
183ad9f7ab46adda60942c34b7ec8fb4bc132609
experiments/checkbox-test.tex | 33 +++++++++++++++++++++++++++++++--
experiments/standard-tests.tex | 4 ++--
2 files changed, 33 insertions(+), 4 deletions(-)
diff --git a/experiments/checkbox-test.tex b/experiments/checkbox-test.tex
index ab539e9..e05c34f 100644
--- a/experiments/checkbox-test.tex
+++ b/experiments/checkbox-test.tex
@@ -204,14 +204,43 @@ TM: mapping name
Ff: flags ->annot/Field
V: value % not pushbutton
DV: default value % not pushbutton
-AA: Action dict ...
+AA: Action dict ... -> see below
Opt: array of strings, connected to kids
+ or for choices, choices
+TI integer (lists)
+I array Ch (complicated ...)
/DA ( 0 0 1 rg /Ti 12 Tf ) %text field
/MaxLen %text field
+Lock dict (Sig)
+SV dict (Sig)
+
+
+
+
Connected widget:
-/AS ??
+/AS default appearance from AP ( here/Yes or /Off)
% Appearance
%checkbox
/AP <</N <</Yes 2 0 R /Off 3 0 R>>>>
+/C / Border /BS
+
+/OC ?
+/Structparens?
+/F flags
+
+
+AA: Submit:
+ /S /SubmitForm
+ /F file /URI (/F ( ftp : / / www . beatles . com / Movies / AbbeyRoad . mov )
+ /Fields array
+
+ /S /ImportData
+ /F file
+
+ /S /ResetData
+ /Fields array
+
+ /S /JavaScript
+ /JS text string or stream
\ No newline at end of file
diff --git a/experiments/standard-tests.tex b/experiments/standard-tests.tex
index 51aaad4..60e7e2d 100644
--- a/experiments/standard-tests.tex
+++ b/experiments/standard-tests.tex
@@ -4,7 +4,7 @@
\pdf_uncompress:
\pdf_version_gset:n{1.7}
\ExplSyntaxOff
-%\DeclareDocumentMetaData{standard=A-1b}
+\DeclareDocumentMetaData{standard=A-1b}
\documentclass{article}
\usepackage{new-pdfescape,lipsum,xcolor}
@@ -13,7 +13,7 @@
\begin{document}
\ExplSyntaxOn
-\pdfannot_flag_set:nn {annot/Link}{Print}
+%\pdfannot_flag_set:nn {annot/Link}{Print}
\ExplSyntaxOff
\AddToHook{pdf/annot/Link/Named/before}[me]{\begingroup\color{red}}
\AddToHook{pdf/annot/Link/Named/after}[me] {\endgroup}
More information about the latex3-commits
mailing list.