Output

This command is similar to PlaceObject and is currently limited to output text which can be broken across positioning frames and which can wrap around objects.

Child elements

Text

Parent elements

AtPageCreation, AtPageShipout, Case, Contents, ForAll, Loop, Otherwise, Record, SavePages, SetVariable, Until, While

Attributes

allocate (optional)

Should text flow around already allocated objects? This currently works on the current page only.

yes

Regular behavior: the text does not flow around objects.

auto

Text flows around allocated objects.

area (text, optional)

The name of the positioning frame for the text.

balance (optional, since version 3.2.1)

Balance text on the last page (experimental)

yes

Balance the last page

no

Do not balance the last page (default)

last-padding-bottom-max (length, optional, since version 3.2.1)

The maximum padding on the last page when valign-last is set to bottom

row (number, optional)

The starting row for the text.

valign-last (optional, since version 3.2.1)

When balancing: align the last columns at the top (default) or bottom (experimental).

top

Top alignment (default)

bottom

Align at the bottom

Example

<Pagetype name="page" test="true()">
    <Margin left="1cm" right="1cm" top="1cm" bottom="1cm"/>
    <PositioningArea name="text">
      <PositioningFrame width="9" height="4" row="1" column="1"/>
      <PositioningFrame width="9" height="4" row="1" column="11"/>
      <PositioningFrame width="9" height="4" row="6" column="1"/>
      <PositioningFrame width="9" height="4" row="6" column="11"/>
    </PositioningArea>
  </Pagetype>
  <Record element="data">
    <Output area="text">
      <Text>
        <Paragraph fontfamily="text">
          <Value>A wonderful serenity has taken possession of my entire soul,...</Value>
        </Paragraph>
      </Text>
    </Output>
  </Record>

See also

The command <Text> in the basics chapter.