summaryrefslogtreecommitdiff
path: root/texmf-dist/tex/latex/acrotex/edvipdfm.def
blob: a10fdde7ae522e62d43320908b20b79760a8cac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
%%
%% This is file `edvipdfm.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% eforms.dtx  (with options: `copyright,edvipdfm')
%% 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% eForms package,                                      %%
%% Copyright (C) 2002-2018  D. P. Story                 %%
%%   dpstory@uakron.edu                                 %%
%%                                                      %%
%% This program can redistributed and/or modified under %%
%% the terms of the LaTeX Project Public License        %%
%% Distributed from CTAN archives in directory          %%
%% macros/latex/base/lppl.txt; either version 1 of the  %%
%% License, or (at your option) any later version.      %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\noPeek#1#2{\@pdfm@mark{put @thispage << \noPeekAction{#1}{#2} >> }}
\let\ef@adjHWxetex\relax
\def\eq@choice@driver{\ef@adjHWxetex
    \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\setbox\pdfm@box=%
        \hbox{\lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}}%
    \@pdfm@mark{ann @\Fld@name\space\dvipdfm@setdim
    <<\common@choiceCode>>}\unhbox\pdfm@box\relax%
    \@pdfm@mark{put @afields @\Fld@name}% record in @afields array
    \ifisCalculate\@pdfm@mark{put @corder @\Fld@name}\fi
    \dl@restorespcs
    \endgroup
}
\def\eq@Button@driver{\Hy@pdfstringtrue
    \ifx\eq@rectW\@empty\def\eq@rectW{\wd\eq@tmpbox}\ef@djXPD\fi % 12/22
    \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
    \setbox\pdfm@box=%
        \hbox{\lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}}%
    \@pdfm@mark{ann @\Fld@name\space\dvipdfm@setdim
    << \common@pushButtonCode >>}\unhbox\pdfm@box\relax%
    \@pdfm@mark{put @afields @\Fld@name}% record in @afields array
    \endgroup
    \dl@restorespcs
}
\def\eq@RadioCheck@driver{\ef@adjHWxetex\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
    \setbox\pdfm@box=%
        \hbox{\lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}}%
    \@pdfm@mark{ann \dvipdfm@setdim
    <<\common@RadioCheckCode>>}\unhbox\pdfm@box\relax%
    \endgroup
    \dl@restorespcs
}
\def\eq@l@check@driver{%
    \setbox\pdfm@box=%
      \hbox{\makebox[\eq@tmpdima]{\phantom{\link@@Content}}}%
        \@pdfm@mark{ann \dvipdfm@setdim<<\common@RadioCheckCode>>}%
        \unhbox\pdfm@box\relax\endgroup
}
\def\eq@TextField{\ef@adjHWxetex\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\setbox\pdfm@box=%
        \hbox{\lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}}%
    \@pdfm@mark{ann @\Fld@name\space\dvipdfm@setdim
        << \common@TextFieldCode >>}\unhbox\pdfm@box\relax%
    \@pdfm@mark{put @afields @\Fld@name}% record in @afields array
    \ifisCalculate\@pdfm@mark{put @corder @\Fld@name}\fi
    \endgroup
    \dl@restorespcs
}
\def\eq@SigField{\ef@adjHWxetex\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\setbox\pdfm@box=%
        \hbox{\lower\eqcenterWidget\ef@Bbox{\eq@rectW}{\eq@rectH}}%
    \@pdfm@mark{ann @\Fld@name\space\dvipdfm@setdim
        << \common@SigFieldCode >>}\unhbox\pdfm@box\relax%
    \endgroup
    \dl@restorespcs
}
\def\setLink@driver{%
    \@eqBS{}\leavevmode
    \@pdfm@mark{bann
        <</Subtype/Link\eq@Border\common@LinkCode>>}%
        \Hy@colorlink{\@linkcolor}\link@@Box\Hy@endcolorlink
    \@pdfm@mark{eann}%
    \endgroup
    \dl@restorespcs
}
\def\ef@setTabOrder{\ifx\ef@taborder\@empty\else
    \@pdfm@mark{ put @thispage << /Tabs/\ef@taborder >> }%
    \fi\endgroup
}
\endinput
%%
%% End of file `edvipdfm.def'.