XFA Specification
Chapter 25, Rich Text Reference
Supported Character Formatting
948
Produces:
Charles
Alice
Porter
Crawford
Example:
<p style="font-family:courier;tab-stops:decimal 0.5in">
<span style="xfa-tab-count:1" />1.2345<br />
<span style="xfa-tab-count:1" />99<br />
<span style="xfa-tab-count:1" />-.033<br />
<span style="xfa-tab-count:1" />$ 17.60 plus tax
</p>
Produces:
1.2345
99
-.033
$ 17.70 plus tax
Underline and Strikethrough
A region of text may be underlined or struck through using the
[CSS2]
style attribute.
The deprecated
u
and
s
HTML elements must not be supported by XFA applications.
The
[CSS2]
style attribute only provides for a single-continuous underline. This
specification allows for several nonstandard extensions to the
[CSS2]
style attribute,
to allow for combinations of single and double continuous and word-broken underlines.
Underlining is rendered on the baseline in the same color as the associated text.
This attribute is defined as:
text-decoration:decorationStyle [
line-through
]
or
text-decoration:
line-through
[
decorationStyle
]
The following table describes the
decorationStyle
values.
"decorationStyle" value
underline
word
double
double word
Produces …
Single continuous underline
Single underline that breaks at word boundaries
Double continuous underline
Double underline that breaks at word boundaries
Note that
double word
has whitespace between the words, not a hyphen.
Example:
<p>The
<span style="text-decoration:underline">second</span> and