Adobe FRAMEMAKER 10 User Manual page 27

Hide thumbs Also See for FRAMEMAKER 10:
Table of Contents

Advertisement

<String `A locally formatted heading'>
>
>
For a complete description of
How paragraphs inherit properties
Paragraphs can inherit properties from other paragraphs in a MIF file. If a
each paragraph property, it acquires any property values explicitly defined in a previous
MIF interpreter sequentially reads MIF files, it uses the most recently defined
current statement in the file.
For example, the following MIF code applies the default format named Body to the first paragraph in a document
and locally overrides the paragraph font:
<Para
<Pgf
<PgfTag `Body'>
<PgfFont
<FWeight `Bold'>
>
>
<ParaLine
<String `First paragraph in document.'>
>
>
<Para
<ParaLine
<String `Second paragraph in document.'>
>
>
The previous example is in the sample file
second paragraph also has the new font property.
A paragraph property remains in effect until the property value is changed by a subsequent MIF statement. To
change a paragraph property to another state, supply a
set to the new state.
Thus, in the previous example, you could change the font from Bold to Regular in a
statement:
<Para
<Pgf
<PgfFont
<FWeight `Regular'>
>
>
<ParaLine
<String `Second paragraph in document.'>
>
>
To summarize, paragraphs inherit formats as follows:
Formats in the Paragraph Catalog inherit properties from the formats above them.
Locally defined paragraph formats inherit properties from previously specified formats.
Text lines in anchored frames inherit font properties from previously specified formats, including the last format
in the Paragraph Catalog and previous text lines.
# end of ParaLine
# end of Para
property statements, see page 62.
Pgf
# end of PgfFont
# end of Pgf
# end of ParaLine
# end of Para
# end of ParaLine
# end of Para
. If you open this file in FrameMaker, you'll find that the
pgffmt.mif
Pgf
# end of PgfFont
# end of Pgf
# end of ParaLine
# end of Para
statement does not provide values for
Pgf
statement that occurs before the
Pgf
statement containing the paragraph property statement
Pgf
ADOBE FRAMEMAKER 10
MIF Reference
statement. Because the
Pgf
statement in the second
Para
22

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents