From 24c6a0e65a786c5ca1533f07dcc4b202928487ae Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sun, 9 Jun 2019 11:33:49 +0900
Subject: acrotex (20190609)

---
 texmf-dist/tex/latex/acrotex/epdftex.def | 125 ++++++++++++++++---------------
 1 file changed, 65 insertions(+), 60 deletions(-)

(limited to 'texmf-dist/tex/latex/acrotex/epdftex.def')

diff --git a/texmf-dist/tex/latex/acrotex/epdftex.def b/texmf-dist/tex/latex/acrotex/epdftex.def
index 0c36ec23..d235584d 100644
--- a/texmf-dist/tex/latex/acrotex/epdftex.def
+++ b/texmf-dist/tex/latex/acrotex/epdftex.def
@@ -8,7 +8,7 @@
 %% 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %% eForms package,                                      %%
-%% Copyright (C) 2002-2018  D. P. Story                 %%
+%% Copyright (C) 2002-2019  D. P. Story                 %%
 %%   dpstory@uakron.edu                                 %%
 %%                                                      %%
 %% This program can redistributed and/or modified under %%
@@ -30,83 +30,88 @@
 }%
 \def\eq@choice@driver
 {%
-    \Hy@pdfstringtrue
-    \if\@vertRotate1\let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
-        \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
-    \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
-    \hbox{\pdfstartlink user{\common@choiceCode}%
-    \lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}\pdfendlink}%
-    \HyField@AddToFields
-    \endgroup
-    \dl@restorespcs
+  \Hy@pdfstringtrue
+  \ifx\@vertRotate\ef@One
+    \let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
+    \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
+  \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
+  \hbox{\pdfstartlink user{\common@choiceCode}%
+  \lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}\pdfendlink}%
+  \HyField@AddToFields
+  \endgroup
+  \dl@restorespcs
 }
 \def\eq@Button@driver
 {%
-    \Hy@pdfstringtrue
-    \ifx\eq@rectW\@empty\def\eq@rectW{\wd\eq@tmpbox}\ef@djXPD\fi
-    \if\@vertRotate1\let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
-        \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
-    \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
-    \ifx\eq@rectW\@empty\def\eq@rectW{\wd\eq@tmpbox}\fi
-    \hbox{\pdfstartlink user{\common@pushButtonCode}%
-    \lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}\pdfendlink}%
-    \endgroup
-    \dl@restorespcs
+  \Hy@pdfstringtrue
+  \ifx\eq@rectW\@empty\def\eq@rectW{\wd\eq@tmpbox}\ef@djXPD\fi
+  \ifx\@vertRotate\ef@One
+    \let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
+    \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
+  \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
+  \ifx\eq@rectW\@empty\def\eq@rectW{\wd\eq@tmpbox}\fi
+  \hbox{\pdfstartlink user{\common@pushButtonCode}%
+  \lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}\pdfendlink}%
+  \endgroup
+  \dl@restorespcs
 }
 \def\eq@RadioCheck@driver
 {%
-    \Hy@pdfstringtrue
-    \if\@vertRotate1\let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
-        \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
-    \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
-    \ifx\eq@rectW\@empty\def\eq@rectW{\wd\eq@tmpbox}\fi
-    \hbox{\pdfstartlink user{\common@RadioCheckCode}%
-    \lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}\pdfendlink}%
-    \endgroup
-    \dl@restorespcs
+  \Hy@pdfstringtrue
+  \ifx\@vertRotate\ef@One
+    \let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
+    \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
+  \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
+  \ifx\eq@rectW\@empty\def\eq@rectW{\wd\eq@tmpbox}\fi
+  \hbox{\pdfstartlink user{\common@RadioCheckCode}%
+  \lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}\pdfendlink}%
+  \endgroup
+  \dl@restorespcs
 }
 \def\eq@l@check@driver
 {%
-    \pdfstartlink user{\common@RadioCheckCode}%
-    \makebox[\eq@tmpdima]{\phantom{\link@@Content}}%
-    \pdfendlink\endgroup
-    \dl@restorespcs
+  \pdfstartlink user{\common@RadioCheckCode}%
+  \makebox[\eq@tmpdima]{\phantom{\link@@Content}}%
+  \pdfendlink\endgroup
+  \dl@restorespcs
 }
 \def\eq@TextField{\Hy@pdfstringtrue
-    \if\@vertRotate1\let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
-        \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
-    \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
-    \leavevmode
-    \hbox{\pdfstartlink user{\common@TextFieldCode}%
-    \lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}\pdfendlink}%
-    \HyField@AddToFields
-    \endgroup
-    \dl@restorespcs
+  \ifx\@vertRotate\ef@One
+    \let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
+    \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
+  \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
+  \leavevmode
+  \hbox{\pdfstartlink user{\common@TextFieldCode}%
+  \lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}\pdfendlink}%
+  \HyField@AddToFields
+  \endgroup
+  \dl@restorespcs
 }
 \def\eq@SigField{\Hy@pdfstringtrue
-    \if\@vertRotate1\let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
-        \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
-    \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
-    \leavevmode\hbox{\pdfstartlink user{\common@SigFieldCode}%
-    \lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}\pdfendlink}%
-    \endgroup
-    \dl@restorespcs
+  \ifx\@vertRotate\ef@One
+    \let\W@temp\eq@rectW\edef\eq@rectW{\eq@rectH}%
+    \edef\eq@rectH{\W@temp}\fi\centerWidget\eq@rectH
+  \ifx\autoCenter\ef@n\eqcenterWidget=0pt\fi
+  \leavevmode\hbox{\pdfstartlink user{\common@SigFieldCode}%
+  \lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}\pdfendlink}%
+  \endgroup
+  \dl@restorespcs
 }
 \def\setLink@driver
 {%
-    \@eqBS{}%
-    \leavevmode\pdfstartlink
-    attr {\eq@Border}%
-    user{/Subtype/Link \common@LinkCode}%
-    \Hy@colorlink{\@linkcolor}\link@@Box
-    \close@pdflink
-    \endgroup
-    \dl@restorespcs
+  \@eqBS{}%
+  \leavevmode\pdfstartlink
+  attr {\eq@Border}%
+  user{/Subtype/Link \common@LinkCode}%
+  \Hy@colorlink{\@linkcolor}\link@@Box
+  \close@pdflink
+  \endgroup
+  \dl@restorespcs
 }
 \def\ef@setTabOrder{\ifx\ef@taborder\@empty\else
-    \edef\ef@tmp@toks{\the\pdfpageattr\space/Tabs/\ef@taborder}%
-    \global\pdfpageattr=\expandafter{\ef@tmp@toks}%
-    \fi\endgroup
+  \edef\ef@tmp@toks{\the\pdfpageattr\space/Tabs/\ef@taborder}%
+  \global\pdfpageattr=\expandafter{\ef@tmp@toks}%
+  \fi\endgroup
 }
 \endinput
 %%
-- 
cgit v1.2.3

