EasyManua.ls Logo

Adobe FRAMEMAKER 10 - Page 27

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
22
<String `A locally formatted heading'>
> # end of ParaLine
> # end of Para
For a complete description of Pgf property statements, see page 62.
How paragraphs inherit properties
Paragraphs can inherit properties from other paragraphs in a MIF file. If a Pgf statement does not provide values for
each paragraph property, it acquires any property values explicitly defined in a previous
Pgf statement. Because the
MIF interpreter sequentially reads MIF files, it uses the most recently defined
Pgf statement that occurs before the
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'>
> # end of PgfFont
> # end of Pgf
<ParaLine
<String `First paragraph in document.'>
> # end of ParaLine
> # end of Para
<Para
<ParaLine
<String `Second paragraph in document.'>
> # end of ParaLine
> # end of Para
The previous example is in the sample file pgffmt.mif. If you open this file in FrameMaker, you’ll find that the
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
Pgf statement containing the paragraph property statement
set to the new state.
Thus, in the previous example, you could change the font from Bold to Regular in a
Pgf statement in the second Para
statement:
<Para
<Pgf
<PgfFont
<FWeight `Regular'>
> # end of PgfFont
> # end of Pgf
<ParaLine
<String `Second paragraph in document.'>
> # end of ParaLine
> # end of Para
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.

Table of Contents

Related product manuals