1.4

Note
All settings in the Text Formatting dialog are in fact CSS style rules. When you change
one or more settings, the selected text gets wrapped in a Span element that has an inline
style tag containing the selected setting(s). Click the Advanced button to add CSS
properties and values to the inline style tag of the Span directly. For more information
about CSS, see "Styling and formatting" on page 398.
Formatting a paragraph
Through the Paragraph Formatting dialog you can set the line height and first indent, among
other things. It also lets you add spacing and a border; see "Spacing" on page 422 and
"Border" on page 413.
To open the Paragraph Formatting dialog, select a paragraph (see: "Selecting an element" on
page 227) or place the cursor in a paragraph, and then select Format > Text.
On the Formats tab you can set:
l
Line-height: Specify the height of each line in the paragraph's text, in a measure or
percentage. Note that this is not the spacing between lines, but rather the complete height
of the line itself including the text. This is equivalent to the line-height property in
CSS.
l
Align: Select how text should be aligned, such as left, center, right or justify. Equivalent to
the align property in CSS.
l
First Indent: Specify the indentation of the first line of the paragraph. Equivalent to the
text-indent property in CSS.
l
Display: Select how to display the element. This can also be used to hide an element
completely using the none option. See CSS Display. Equivalent to the display property
in CSS.
l
Direction: Select in which direction text should be displayed (left to right, right to left, or
auto). Useful for certain languages such as Arabic, Hebrew, etc. This is equivalent to the
dir HTML attribute.
l
(Page) breaks: these settings are only useful in Print sections, as only Print sections
have pages.
l
Before: Sets whether a page break should occur before the paragraph. This is
equivalent to the page-break-before property in CSS; see CSS page-break-
before property for an explanation of the available options.
Page 409