Formatting Text Elements

How to:

You may format individual text elements or style entire strings of text in Document Composer. The formatting options are available from the Formatting toolbar.

You may format individual pieces of text by using the Bold, Italic, Underline, Superscript, and Font Style options. If the entire text element is selected, Font Style and Alignment options are available.

Note: These text formatting options are only applicable in the Document Composer when PDF is set as the Compound document output format.


Top of page

x
Procedure: How to Apply Various Formatting in a Text Element

You may apply various formatting and style options to words and individual text characters within the text element.

  1. From the Document Composer, add a text element to the page.

    Select Text from the Insert menu.

    or

    Select the text button from the Components toolbar.

    The cursor changes into a crosshair.

  2. Click and drag the crosshair to create the text element on the page and adjust it to the size you want. Double-click, or highlight and single-click the text element, to go into edit mode.
  3. Type text in the text element.

    Note: Line breaks can be set by using the Enter key when typing text in a text element.

  4. To format the text, highlight part of the text within the text element.

    The Formatting toolbar is activated.

  5. Select Bold, Italic, Underline, Superscript, or Font Style from the Formatting toolbar.

    Note: You can also access the formatting options from the right-click menu of the text, as shown in the following image.

  6. The Font Style option opens the Font dialog box where you can change the type, style, color, size, and effect of the font.

    Tip: You may also access the Font Style dialog box from the Font ellipsis button of the Styling Font field in the Properties window.

  7. Click OK to close the Font dialog box.

    The font options are applied to the text selected.


Top of page

x
Procedure: How to Apply Formatting to an Entire Text Element

You may apply formatting and style options to the entire text element in the Document Composer.

Note: Any formatting and styling that you may have applied to individual text strings within the text element will remain unchanged. Changes made to the entire text element are only applied to part of the text string that has not been formatted.

  1. Insert a text element into the layout and type text in the text element.
  2. Single-click the text box in the layout, as show in the image below:

    or

    Select the text element from the Properties window drop-down list, which appears as text(n).

  3. Select the Font ellipsis button from the Styling Font field in the Properties window.

    The Font dialog box opens.

  4. Select the type, style, color, size, and effect of the text element.

    Note: The default font is Arial 10pt.

  5. Click OK to close the Font dialog box.

    The font options are applied to the text element.


Top of page

x
Procedure: How to Align Text Within the Text Element

You may apply alignment options to the text within the text element.

  1. Insert a text element into the layout and type text in the text element.
  2. Single-click the text box in the layout.

    or

    Select the text element from the Properties window drop-down list, which appears as text(n).

    The Alignment options on the Formatting toolbar are activated.

  3. Select Align Left, Align Center, Align Right, or Full Justification.

    Note: The default is set to Align Left.

The alignment format is applied to the text element.


WebFOCUS