EasyManua.ls Logo

Adobe FRAMEMAKER 10 - Page 46

Adobe FRAMEMAKER 10
294 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ADOBE FRAMEMAKER 10
MIF Reference
41
# Unconditional text
<Conditional # Begin conditional text
<InCondition `Winter'> # Specifies condition tag
> # end of Conditional
<String `warm and soft sweaters'>
# Conditional text
<Conditional # Begin conditional text
<InCondition `Summer'> # Specifies condition tag
> # end of Conditional
<String `cool and comfortable tank tops'>
<Unconditional >
<String ` for those '> # Unconditional text
> # end of ParaLine
<ParaLine
<Conditional
<InCondition `Winter'>
> # end of Conditional
<String `chilly winter'>
<Conditional
<InCondition `Summer'>
> # end of Conditional
<String `hot summer'>
<Unconditional >
<String ` days.'>
> # end of ParaLine
> # end of Para
You can apply multiple condition tags to text by using multiple InCondition statements:
<Conditional
<InCondition `Winter'>
<InCondition `Summer'>
> # end of Conditional
Showing and hiding conditional text using Boolean expressions
You can also use Boolean expressions to show or hide conditional text. Boolean condition expressions are identified
using the
BoolCondTag. You can create these expressions by linking condition tags with boolean operators and
describe them in the
BoolCondExpr statement. If the value of BoolCondState of a Boolean condition expression is
set toActive the show/hide state of the text in that document is governed by that Boolean condition expression. All
text for which the expression evaluates to ‘True’ is shown, while the rest are hidden.
Consider a scenario where you have created Conditions summary, detail, comment, and a boolean expression
"comment"OR"summary"OR"detail. If the value of
BoolCondState is ‘Active, FrameMaker uses this expression to
determine the Show/Hide state of conditional text.
The
BoolCond statement appears in the BoolCondCatalog as shown below :
<BoolCond
<BoolCondTag `Conditional Expression'>
<BoolCondExpr `"comment"OR"summary"OR"detail"'>
<BoolCondState `Active'>
> # end of BoolCond
When you save a FrameMaker 8 document as MIF, the following system tags are displayed in the MIF:
FM8_SYSTEM_HIDEELEMENT
FM8_TRACK_CHANGES_ADDED
FM8_TRACK_CHANGES_DELETED
Note: These tags are used by the system and are reserved for internal use only.

Table of Contents

Related product manuals