summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/acrotex-js/js-files/aeb.js
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-06-19 03:01:48 +0000
committerNorbert Preining <norbert@preining.info>2021-06-19 03:01:48 +0000
commitdaa6873fe1d06863ffc2980970295b39071f02ba (patch)
tree436daaf0d6464d12d7ad7af294e5aeed5851f8fb /macros/latex/contrib/acrotex-js/js-files/aeb.js
parent3ecc00c27119bc47ba26b518b7d26c00b69599df (diff)
CTAN sync 202106190301
Diffstat (limited to 'macros/latex/contrib/acrotex-js/js-files/aeb.js')
-rw-r--r--macros/latex/contrib/acrotex-js/js-files/aeb.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/macros/latex/contrib/acrotex-js/js-files/aeb.js b/macros/latex/contrib/acrotex-js/js-files/aeb.js
new file mode 100644
index 0000000000..09310d2e40
--- /dev/null
+++ b/macros/latex/contrib/acrotex-js/js-files/aeb.js
@@ -0,0 +1,24 @@
+/*
+ AEB Import FDF Methods
+
+ Copyright (C) 2006--2016 AcroTeX.Net
+ D. P. Story
+ http://www.acrotex.net
+
+ Version 1.0
+*/
+if ( typeof aebTrustedFunctions == "undefined") {
+ aebTrustedFunctions = app.trustedFunction( function ( doc, oFunction, oArgs )
+ {
+ app.beginPriv();
+ var retn = oFunction( oArgs, doc )
+ app.endPriv();
+ return retn;
+ });
+}
+aebImportAnFDF = app.trustPropagatorFunction( function ( oArgs, doc )
+{
+ app.beginPriv();
+ doc.importAnFDF(oArgs);
+ app.endPriv();
+});