summaryrefslogtreecommitdiff
path: root/texmf-dist/doc
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-02 06:05:34 +0900
committerNorbert Preining <norbert@preining.info>2021-07-02 06:05:34 +0900
commita11f29f9bea623fc9f9482bc28f566ebd11310e7 (patch)
treec55831ecab2c782208fa2e3cd530dd63725b4d27 /texmf-dist/doc
parent6b7ef024ba8f7c1560c7347a072db848c3555541 (diff)
acrotex-js update
Diffstat (limited to 'texmf-dist/doc')
-rw-r--r--texmf-dist/doc/latex/acrotex-js/README.md4
-rw-r--r--texmf-dist/doc/latex/acrotex-js/acrobat-in-workflow.pdfbin396417 -> 393853 bytes
-rw-r--r--texmf-dist/doc/latex/acrotex-js/acrotex-js.pdfbin213534 -> 218642 bytes
-rw-r--r--texmf-dist/doc/latex/acrotex-js/js-files/aeb-reader.js50
-rw-r--r--texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js11
-rw-r--r--texmf-dist/doc/latex/acrotex-js/js-test/test_install.pdfbin47782 -> 47856 bytes
-rw-r--r--texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex1
7 files changed, 61 insertions, 5 deletions
diff --git a/texmf-dist/doc/latex/acrotex-js/README.md b/texmf-dist/doc/latex/acrotex-js/README.md
index 90c06a1c..c5825dac 100644
--- a/texmf-dist/doc/latex/acrotex-js/README.md
+++ b/texmf-dist/doc/latex/acrotex-js/README.md
@@ -1,6 +1,6 @@
The acrotex-js Package
Author: D. P. Story
-Dated: 2021-06-19
+Dated: 2021-06-24
In the distribution of this package are two critical JavaScript files (aeb.js
and aeb_pro.js) used by the packages insdljs, aeb_pro, thorshammer, and
@@ -8,6 +8,8 @@ docassembly. Previously these JS files where distributed with the individual
packages, now they are distributed by this package and must be installed according
to the instructions in the docs folder.
+What's New (2021-06-24) Version 1.6.2 of aeb_pro.js and Version 1.0 of aeb-reader.js
+
What's New (2021-06-19) Move certain files from other packages:
acrobat-in-workflow.pdf and test_install.pdf
diff --git a/texmf-dist/doc/latex/acrotex-js/acrobat-in-workflow.pdf b/texmf-dist/doc/latex/acrotex-js/acrobat-in-workflow.pdf
index 4dc7dda7..d6ddca94 100644
--- a/texmf-dist/doc/latex/acrotex-js/acrobat-in-workflow.pdf
+++ b/texmf-dist/doc/latex/acrotex-js/acrobat-in-workflow.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/acrotex-js/acrotex-js.pdf b/texmf-dist/doc/latex/acrotex-js/acrotex-js.pdf
index a26c51bf..d0570285 100644
--- a/texmf-dist/doc/latex/acrotex-js/acrotex-js.pdf
+++ b/texmf-dist/doc/latex/acrotex-js/acrotex-js.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/acrotex-js/js-files/aeb-reader.js b/texmf-dist/doc/latex/acrotex-js/js-files/aeb-reader.js
new file mode 100644
index 00000000..87783f86
--- /dev/null
+++ b/texmf-dist/doc/latex/acrotex-js/js-files/aeb-reader.js
@@ -0,0 +1,50 @@
+/*
+ AEB Adobe Acrobat Reader JavaScript Methods
+
+ Copyright (C) 2019 AcroTeX.Net
+ D. P. Story
+ http://www.acrotex.net
+
+ Version 1.0
+*/
+// console.println("Version 1.0 (Reader DC)");
+if ( typeof aebTrustedFunctions == "undefined") {
+ aebTrustedFunctions = app.trustedFunction( function ( doc, oFunction, oArgs )
+ {
+ app.beginPriv();
+ var retn = oFunction( oArgs, doc );
+ app.endPriv();
+ return retn;
+ });
+}
+aebSaveAs = app.trustPropagatorFunction( function ( oArgs, doc )
+{
+ app.beginPriv();
+ app.execMenuItem("Save");
+ app.endPriv();
+});
+aebDocSaveAs = app.trustPropagatorFunction( function ( oArgs, doc )
+{
+ var Msg=function(e){return (aebDocSaveAs.msg==undefined)?("Doc SaveAs Error: " + e.toString()):aebDocSaveAs.msg;}
+ var Action=function(){return ((aebDocSaveAs.action==undefined)?null:eval(aebDocSaveAs.action));}
+ app.beginPriv();
+ try {
+ return retn = doc.saveAs(oArgs);
+ } catch(e){console.println(Msg(e));Action();}
+ app.endPriv();
+ aebDocSaveAs.msg=undefined;
+ aebDocSaveAs.action=undefined;
+});
+aebBrowseForDoc = app.trustPropagatorFunction( function ( oArgs )
+{
+ app.beginPriv();
+ return retn = app.browseForDoc(oArgs);
+ app.endPriv();
+});
+aebLaunchURL=app.trustPropagatorFunction ( function ( oArgs )
+{
+ app.beginPriv();
+ var retn = app.launchURL(oArgs);
+ app.endPriv();
+});
+
diff --git a/texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js b/texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js
index 5dbfe4d5..24fbcdaf 100644
--- a/texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js
+++ b/texmf-dist/doc/latex/acrotex-js/js-files/aeb_pro.js
@@ -5,8 +5,9 @@
D. P. Story
http://www.acrotex.net
- Version 1.6.1
+ Version 1.6.2
+ v1.6.2 Modified aebDocSaveAs for thorshammer
v1.6.1 aebCreateTemplate now returns an object
v1.6 Added aebAddWatermarkFromText, aebLaunchURL
v1.5 Added aebCertifyInvisibleSign
@@ -76,16 +77,18 @@ aebSaveAs = app.trustPropagatorFunction( function ( oArgs, doc )
app.execMenuItem("Save");
app.endPriv();
});
+// Version 1.7.2
aebDocSaveAs = app.trustPropagatorFunction( function ( oArgs, doc )
{
var Msg=function(e){return (aebDocSaveAs.msg==undefined)?("Doc SaveAs Error: " + e.toString()):aebDocSaveAs.msg;}
+ var Action=function(){return ((aebDocSaveAs.action==undefined)?null:eval(aebDocSaveAs.action));}
app.beginPriv();
try {
- return doc.saveAs(oArgs);
- } catch(e){console.println(Msg(e));}
+ return retn = doc.saveAs(oArgs);
+ } catch(e){console.println(Msg(e));Action();}
app.endPriv();
aebDocSaveAs.msg=undefined;
-
+ aebDocSaveAs.action=undefined;
});
aebExtractPages = app.trustPropagatorFunction( function ( oArgs, doc )
{
diff --git a/texmf-dist/doc/latex/acrotex-js/js-test/test_install.pdf b/texmf-dist/doc/latex/acrotex-js/js-test/test_install.pdf
index c2b92f25..cd7e28c8 100644
--- a/texmf-dist/doc/latex/acrotex-js/js-test/test_install.pdf
+++ b/texmf-dist/doc/latex/acrotex-js/js-test/test_install.pdf
Binary files differ
diff --git a/texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex b/texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex
index 72af3a51..a21f7a39 100644
--- a/texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex
+++ b/texmf-dist/doc/latex/acrotex-js/js-test/test_install.tex
@@ -26,6 +26,7 @@ if ( typeof aebImportAnFDF == "function" ) {
}
\end{defineJS}
\begin{defineJS}{\isAddWatermarkFromFileKnown}
+console.clear(); console.show();
if ( typeof aebAddWatermarkFromFile == "function" ) {
app.beep(0);
console.println("");