
ADOBE FRAMEMAKER 10
MIF Reference
42
How FrameMaker writes a conditional document
If you are converting a MIF file that was generated by FrameMaker, you need to understand how FrameMaker writes
a file that contains hidden conditional text.
When FrameMaker writes a MIF file, it places all hidden conditional text in a text flow with the tag name
HIDDEN
.
Within the document text flow, a conditional text marker,
<Marker <MType 10>>
, indicates where hidden condi-
tional text would appear if shown.
The marker text contains a plus sign (+) followed by a unique five-digit integer. The corresponding block of hidden
text is in the hidden text flow. It begins with a conditional text marker containing a minus sign (–) and a matching
integer and ends with a marker containing an equal sign (=) and the same integer. One or more
Para
statements
appear between the markers. If the hidden conditional text doesn’t span paragraphs, all the text appears in one
Para
statement. If the hidden text spans paragraphs, each end of paragraph in the conditional text forces a new
Para
statement in the hidden text flow.
The following example shows how FrameMaker writes the sentence used in the previous example:
# This text flow contains the sentence as it appears in
# the document body.
<TextFlow
<TFTag `A'>
<TFAutoConnect Yes >
<Para
<ParaLine
<String `Our company makes a full line of '>
# This marker indicates that hidden text appears in the
# hidden text flow.
<Marker
<MType 10>
<MText `+88793'>
<MCurrPage 0>
>
# end of Marker
<Conditional
<InCondition `Summer'>
>
# end of Conditional
<String `cool and comfortable tank tops'>
<Unconditional >
...
>
# end of Para
>
# end of TextFlow
# This text flow contains the hidden conditional text.
<TextFlow
<TFTag `HIDDEN'>
<Para
<PgfEndCond Yes >
<ParaLine
<Marker
<MType 10>
# This marker shows the beginning of hidden text.
# Its ID matches the marker ID in the body text flow.
<MText `-88793'>
<MCurrPage 0>
>
# end of Marker
<Conditional
<InCondition `Winter'>
>
# end of Conditional
# Here's the hidden text.
<String `chilly winter'>
<Marker
<MType 10>
Содержание FRAMEMAKER 10
Страница 1: ...MIF Reference ADOBE FRAMEMAKER 10...