XFA Specification
Chapter 25, Rich Text Reference
Supported Container Elements
935
Attribute name
font
font-family
font-size
font-stretch
font-style
font-weight
margin
margin-bottom
margin-left
margin-right
margin-top
line-height
tab-interval
tab-stop
text-decoration
text-indent
vertical-align
Where described
“Font” on page 943
“Set Margins” on page 938
“Space After Paragraph” on page 939
“Left Margin” on page 937
“Right Margin” on page 938
“Space Before Paragraph” on page 940
“Line Spacing” on page 937
“Tab Stops” on page 946
“Underline and Strikethrough” on page 948
“First Line Indent” on page 936
“Vertical Alignment” on page 940
This specification supports the following subset of allowable
[CSS2]
measurement units:
●
●
●
●
cm -- centimeters
in -- inches
mm -- millimeters
pt -- points
Supported Container Elements
XFA supports the optional use of XHTML container elements to enclose rich text. In addition, because
unrecognized elements are suppressed, rich text used in XFA can take the form of a complete XHTML
document including a
head
element, albeit a document restricted to a subset of XHTML and CSS2.
HTML Element
The outer element for HTML documents is an
html
element, as specified in
[XHTML].
In XFA rich text may
be enclosed in an
html
element, although this is not required. The
html
element is merely a container
and does not appear in the output.