summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/aebenvelope/examples/ape4.tex
blob: b6737f63fee39ae1ce7e2cbe7dc63a12c60838e6 (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
\documentclass{article}
\usepackage[
    web={pro,usetemplates},eforms,
    attachsource={tex},
%    attachments={<attachments list>}
]{aeb_pro}
\usepackage[donotmail]{aeb_envelope}

\DeclareDocInfo
{
    university={\AcroTeX.Net},
    title={The AeB Professional: The eEnvelope System},
    author={D. P. Story, J. Gilg, S. Singer},
    email={dpstory@acrotex.net},
    subject={eEnvelope System of AeB Pro},
    talksite={\url{www.acrotex.net}},
    version={1.0},
    keywords={Adobe Acrobat, JavaScript, eEnvelope, AcroTeX},
    copyrightStatus=True,
    copyrightNotice={Copyright (C) \the\year, D. P. Story},
    copyrightInfoURL={http://www.acrotex.net}
}

\mailTo
{
    UI=true,
    ToName=John Q. Public,
    From={D. P. Story at \href{http://www.acrotex.net}{AcroTeX.Net}},
    To=<email recipient(s) address(es)>,
%    CC=,
%    BCC=,
    Subject=AeB Pro eEnvelope System,
    MessageEnvelope={Attached to this PDF are the documents you ordered.},
    MessageBody={%
        This is the latest communication from AcroTeX.Net.\n\n
        Open the PDF attachment, the documents you ordered are attached to it.\n\n
        dps, dpstory@acrotex.net
    },
}

\begin{comment}
    This file illustrates how to modify one of the standard
    addresses for the aeb1. The name of the commands, for aeb1, to
    put the address on the envelope is \addressEnvAebi. We wish to
    put buttons over the stamp that appears in the upper right
    corner. We insert a roll over effect that displays the names of
    the AcroTeX team.
\end{comment}

\def\includeAuthors{\put(252,105){\mbox{%
    \pushButton[\TU{D. P. Story}\BC{}\BG{}\W{1}\H{N}\S{S}]{Story}{16.3pt}{36pt}\kern1bp
    \pushButton[\TU{Simon Singer}\BC{}\BG{}\W{1}\H{N}\S{S}]{Singer}{16.3pt}{36pt}\kern1bp
    \pushButton[\TU{J\string\374rgen Gilg}\W{1}\BC{}\BG{}\H{N}\S{S}]{Gilg}{16.3pt}{36pt}%
}}}
%
% Save the old definition of \addressEnvAebi
%
\let\addressEnvAebiOld\addressEnvAebi
%
% Redefine \addressEnvAebi by including the old definition (\put commands)
% with additional \put commands in the form of \includeAuthors
%
\renewcommand{\addressEnvAebi}{\addressEnvAebiOld\includeAuthors}

\assembleEnvelope