Справочник Пользователя для Adobe framemaker 6.0

Скачать
Страница из 323
54
ADOBE FRAMEMAKER 6.0
 Using MIF Statements
How a FrameMaker product writes a conditional document
If you are converting a MIF file that was generated by a FrameMaker product, you need to understand how 
a FrameMaker product writes a file that contains hidden conditional text.
When a FrameMaker product 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 conditional 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 a FrameMaker product 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