blob: 84e29a68a44b6954a892f3674ed173b92729ae3d (
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
|
\documentclass[12pt]{article}
\usepackage[designiii,forcolorpaper]{web}
\usepackage{eforms}
\usepackage{richtext}
\let\uif\textsf
\let\app\textsf
\let\pkg\textsf
\convertcolorspec{named}{webbrown}{HTML}{\htmlWebBrown}
\parindent0pt \parskip6pt
\begin{document}
A single line of \textit{rich text}, one paragraph.
\rtpara{para1}{A single line of \it{rich text}.}
\textField[\Ff{\FfRichText} \DS{\useDefaultDS}%
\RV{\useRV{para1}}\V{\useV{para1}}]{rtFld1}{3in}{16bp}
Single paragraph field but with multiple lines of text. Height allows roughly
4 lines of text.
\rtpara{para1}{\span{ulstyle=2wul,style=bold}{Single paragraph field but with multiple lines of text.}
Height allows roughly 4 lines of text. Let's have more text so we get another line wrap.}
\textField[\Ff{\FfRichText}\Ff{\FfMultiline}\DS{\useDefaultDS}
\RV{\useRV{para1}}\V{\useV{para1}}]{rtFld2}{3in}{16bp*4}
Multiple paragraph field with multiple lines of text.
\rtpara[indent=first]{para1}{Now is the time for
\span{style=strikeit,color=ff0000}{\it{\bf{J\374rgen}}} and all good men to
come to the aid of \it{their} \bf{country}. Now is the time for
\span{style=italic}{all good} women to do the same.}
\rtpara[indent=first]{para2}{This is a second paragraph. I hope we can agree
on what to do next.}
\rtpara[halign=right]{para3}{\span{url=http://www.acrotex.net}{AcroTeX.Net}}
\setDefaultStyle{myDS}{font={Helvetica,sans-serif},color=\htmlWebBrown} %size=12,
\setRVVContent{myContent}
{
{para1}
{para2}
{skipline}
{skipline}
{para3}
}
\textField[\Ff{\FfRichText}\Ff{\FfMultiline}
\DS{\useDS{myDS}}%\DS{\useDefaultDS}%
\RV{\useRVContent{myContent}}\V{\useVContent{myContent}}]{rtFld3}{3in}{16\baselineskip}
\end{document}
|