Adobe FRAMEMAKER 6.0 Manual page 56

Mif reference
Table of Contents

Advertisement

Creating the template
Create the template document in a FrameMaker product. Define the paragraph and character formats,
table formats, variable and cross-reference formats, master pages, and any other formatting and page
layout information that your document needs. Generally, a template contains some sample lines that illus-
trate each format in the document. Save the completed template as a MIF file. For more information about
creating templates, see your user's manual.
Editing the MIF file
You need to edit the resulting MIF file to extract just the formatting and page layout information.
Delete the MIFFile statement.
1
Search for the first body page and locate its TextRect statement.
2
To find the first body page, search for the first occurrence of <PageType BodyPage>. Suppose the first
3
body page in your MIF file looks like this:
<Page
<Unique 45155>
<PageType BodyPage >
<PageNum `1'>
<PageSize
8.5" 11.0">
<PageOrientation Portrait >
<PageAngle 0.0>
<PageBackground `Default'>
<TextRect
<ID 7>
<Unique 45158>
<Pen 15>
<Fill 15>
<PenWidth
1.0 pt>
<ObColor `Black'>
<DashedPattern
<DashedStyle Solid>
> # end of DashedPattern
<ShapeRect
1.0" 1.0" 6.5" 9.0">
<TRNext 0>
> # end of TextRect
> # end of Page
The ID for the TextRect on this body page is 7. Remember this ID number. If there is more than one
TextRect on the body page, remember the ID of the first one.
4
Locate the text flow associated with the TextRect statement on the first body page and delete it.
Suppose you are working with the previous example. You would search for the statement <TextRectID 7>
to locate the text flow. It might look similar to the following:
ADOBE FRAMEMAKER 6.0
56
Using MIF Statements

Advertisement

Table of Contents
loading

Table of Contents