Word Box and Word Wrap Box

Word Box

Drawable: Use this object for a specified chunk of text, which will use the current font.

These properties are specific to Word Box:

trimText, underline, strikethrough, fidelity, localizeText

Word Wrap Box

Drawable: This object is like a WordBox with paragraphs of uniform text.

These properties are specific to Word Wrap Box:

trimText, indent, fidelity, localizeText

Properties

Select the object on the Report Design page to display its properties in the Properties View. You can change the object's default appearance by setting the values of its properties.

The text property specifies the string to be displayed in the WordBox or Word Wrap Box.

You can set the textAligment property for a Word Box or Word Wrap Box to left, right, or center. The alignment does not influence page break positions even if the indent property is set to some value. For Word Wrap Boxes, the textAlignment property can also be set to justified.

The localizeText property enables the localization of text content in Word Boxes and Word Wrap Boxes.

Additional properties are inherited from Layout Node.

Tip:
  • Don't set the Y-Size (height) property on a Word Wrap box, because the element should typically grow in accordance with its content. If you set a fixed Y-Size, you'll prevent that automatic enlargement.
  • The text value of these boxes can be edited directly in the report design document; double-click the object and the input cursor will be placed in the text. The layout will be updated on each keystroke.
  • To force a line break, use the newline character "\n".
  • Beginning in version 2.4x, a Word Wrap Box can span pages; when the available vertical space for WORDWRAPBOX is not sufficient to display the entire text, the box now propagates the exceeding content to additional boxes, with the same behavior as a propagating MINIPAGE.