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
|
\documentclass{article}
\usepackage[%
web={extended,tight*,usesf},
eforms,graphicxsp={showembeds}
]{aeb_pro}
\usepackage{rmannot}
\usepackage{datepicker-pro}
\margins{.25in}{.25in}{24pt}{.25in} % left,right,top, bottom
\screensize{5in}{5.5in} % height,width dimensions
\DeclareDocInfo
{
title=The datepicker-pro Package,
author=D. P. Story,
university=Acro\negthinspace\TeX.Net,
email=dpstory@acrotex.net,
subject={Demo of the datepicker-pro package, SWF, rmannot, aeb\_pro, AcroTeX},
keywords={Adobe Acrobat;JavaScript;Adobe FLEX 3;ActionScript},
talksite=\url{http://www.acrotex.net},
talkdate={\today},
copyrightStatus=True,
copyrightNotice={Copyright (C) \the\year, D. P. Story},
copyrightInfoURL=http://www.acrotex.net
}
\talkdateLabel{Published:}
\parindent=0pt\parskip6pt\pagestyle{empty}
\useFLEXVer{3} % 3 or 4
\definePath{\dppPath}{C:/Users/Public/Documents/My TeX Files/%
tex/latex/aeb/aebpro/datepicker-pro/swf}
\setpickerIcon{../icons/dp_icon1.pdf}{PickADate}
\setpickerIcon{../icons/dp_icon2.pdf}{GERDate}
\begin{document}
\maketitle
\begin{center}\color{blue}\bfseries\large
A date picker built by FLEX and AeB Pro\\[1em]
D. P. Story
\end{center}
\begin{flushleft}
U.S.-style: Pick a date:\ \kern1bp\datepicker{PickADate}{1in}{11bp}\quad
(MM/DD/YYYY)
\end{flushleft}
This is the default style: \verb!\datepicker{PickADate}{1in}{11bp}!
\newcommand{\germanDates}
{%
% formatstring=DD.MM.YYYY,
formatstring={EEEE, DD. MMMM YYYY},
daynames={So,Mo,Di,Mi,Do,Fr,Sa},
monthnames={Jan,Febr,Mrz,Apr,Mai,Jun,Jul,Aug,Sept,%
Okt,Nov,Dez},
daynamesLong={Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,%
Freitag,Samstag},
daynamesShort={So,Mo,Di,Mi,Do,Fr,Sa},
monthnamesLong={Januar,Februar,März,April,Mai,Juni,Juli,%
August,September,Oktober,November,Dezember},
monthnamesShort={Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,%
Sep,Okt,Nov,Dez},
firstday=1,
widthOfWindow=200,
heightOfWindow=200,
% voffset=-100
}
% Di, 13. August 2013
\begin{flushleft}
German-style: Pick a date:\ \kern1bp\datepicker[\germanDates]{GERDate}{2in}{11bp}\quad
%(EEEE, DD. MMMM YYYY)
\end{flushleft}
A custom style, the verbatim listing of this field is given below:
\begingroup\small
\begin{verbatim}
\newcommand{\germanDates}
{%
formatstring={EEEE, DD. MMMM YYYY},
daynames={So,Mo,Di,Mi,Do,Fr,Sa},
monthnames={Jan,Febr,Mrz,Apr,Mai,Jun,Jul,Aug,Sept,Okt,Nov,Dez},
daynamesLong={Sonntag,Montag,Dienstag,Mittwoch,Donnerstag,
Freitag,Samstag},
daynamesShort={So,Mo,Di,Mi,Do,Fr,Sa},
monthnamesLong={Januar,Februar,März,April,Mai,Juni,Juli,
August,September,Oktober,November,Dezember},
monthnamesShort={Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,Sep,
Okt,Nov,Dez},
firstday=1,widthOfWindow=200,heightOfWindow=200
}
\datepicker[\germanDates]{GERDate}{2in}{11bp}
\end{verbatim}
\par\endgroup
\end{document}
|