Elementname: Action

Description

Associates an action with a text. Once the text is placed on the page, the associated action will be executed. The action can be compared to an invisible character. When the publisher outputs the character, the corresponding instructions will be run.

Allowed attributes: (none)

Child elements: Mark

Parent elements: B, Case, Color, Fontface, ForAll, I, Li, Loop, NoBreak, Otherwise, Paragraph, Span, Text, Textblock, U, URL, Until, While

Attributes

Example

<Pageformat width="210mm" height="4cm"/>

<Record element="data">
  <PlaceObject>
    <Textblock>
      <Paragraph>
        <Value>
          Row
          Row
          Row
          Row
        </Value>
      </Paragraph>
    </Textblock>
    <Textblock>
      <Action>
        <Mark select="'textstart'"/>
      </Action>
      <Paragraph>
        <Value>
          Row
          Row
          Row
        </Value>
      </Paragraph>
    </Textblock>
  </PlaceObject>
  <NewPage/>
  <Message select="sd:pagenumber('textstart')"></Message>
</Record>

See also

Textblock, Mark

Commands

Version: 3.5.9 | Start page | Command reference | Other language: German