XFA Specification
Chapter 25, Rich Text Reference
Supported Paragraph Formatting
937
Left Margin
A paragraph of text may be indented on the left (adjusting the left margin) via the use of the
[CSS2]
margin-left
style attribute with a measurement.
Example:
<p style="margin-left:0.5in">
This text is left-indented a half-inch.
</p>
Produces:
This text is left-indented a half-inch.
Line Break
Within a paragraph,
br
elements may be used to force line breaks as defined in
[XHTML].
Example:
<p>This is a paragraph of text.<br/>This is some more text.</p>
Produces:
This is a paragraph of text.
This is some more text.
Line Spacing
A paragraph of text may have the line-spacing of its text set via the use of the
[CSS2]
style
attribute with a measurement. By default, line-spacing is derived from the tallest object on any given line.
Example:
<body>
<p style="line-height:0.5in">
This is the first line of the paragraph.<br />
This is the second line of the paragraph.<br />
This is the last line of the paragraph.<br />
</p>
</body>