A Prefix Or Suffix For A Text Range; A Prefix Or Suffix For A Paragraph - Adobe 65030365 - FrameMaker - PC Developer's Manual

Structure application developer's guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

10
D e f i n i n g p r e f i x e s a n d s u f f i x e s
When FrameMaker formats an element with a prefix or suffix, it applies format rules in this
order:
The element's text format rules
The element's first or last format rules
The element's prefix or suffix format rules
If the element has first or last rules and the prefix or suffix is formatted in a paragraph of
its own, the prefix or suffix is the first or last paragraph for the purposes of formatting.
Because of the order that rules are applied, a prefix or suffix format rule can override font
changes in a first or last format rule.

A prefix or suffix for a text range

You can use a prefix or suffix to provide a string for a text range element inside a paragraph.
For example, suppose you want double quotation marks to appear around the text of a
quotation every time, without the end user having to type in the marks. You can set up a
pair of quotation marks for the Quotation text range element as a prefix and a suffix:
Element (Container): Quotation
General rule: <TEXT>
Text format rules
Prefix rules
Suffix rules
In this example, the prefix and suffix do not have any font changes, so they are formatted
the same as other text in the Quotation element.
If you want fixed text to appear at the beginning or end of a paragraph rather than inside
the paragraph, define the string as a prefix, suffix, or autonumber for the paragraph element.
For information on autonumbers, see "Numbering properties" on page 153.

A prefix or suffix for a paragraph

If you define a prefix for a paragraph element that begins with text, the prefix appears at
the beginning of the paragraph; if you define a suffix for an element that ends with text, the
suffix appears at the end of the paragraph. (In these cases, a prefix for suffix is similar to
an autonumber for the paragraph.) For example, you might use a prefix to display Important:
at the beginning of a paragraph:
Structure Application Developer's Guide
1. In all contexts.
Text range.
No additional formatting.
1. In all contexts.
Prefix: "
1. In all contexts.
Suffix: "
159

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents