2.2.8 Text

A shape or master can contain text that is specified by one or more text runs. The text runs associated with a shape are specified by the contents of a Text_Type element contained in the ShapeSheet_Type element of the shape. The characters in a text run can be specified explicitly or can be a reference to a text field.

A text run has characters and properties of character, paragraph, and tabs specified as follows:

  • Character properties are specified by cp_Type elements.

  • Paragraph properties are specified by pp_Type elements.

  • Tabs properties are specified by tp_Type elements.

  • Text fields are specified by fld_Type elements.

The content of a Text_Type element is composed of the text characters associated with the shape, interspersed with cp_Type, pp_Type, tp_Type, and fld_Type elements.

The beginning of a text run on a shape is specified by a Text_Type, cp_Type, pp_Type, or tp_Type element.