Adobe framemaker 6.0 Manuale Utente

Pagina di 323
32
ADOBE FRAMEMAKER 6.0
 Using MIF Statements
Creating and formatting tables
You can create tables in FrameMaker documents, edit them, and apply table formats to them. Tables can 
have heading rows, body rows, and footing rows. Each row consists of table cells that contain the actual 
contents of the table.
Tables are like paragraphs in that they have a format. A table format controls the appearance of a table, 
including the number and width of columns, the types of ruling or shading in rows and columns, and the 
table’s position in a text column. Table formats can be named, stored in a Table Catalog, and applied to 
many tables. A table format can also be defined locally.
In a FrameMaker document, tables appear where they have been placed in the text flow. A table behaves 
like an anchored frame, so a table flows with the surrounding text unless you give it a specific location. In 
a MIF file, the document’s tables are collected in one place and a placeholder for each table indicates the 
table’s position in the text flow. 
You create a table in a MIF file as follows:
Specify the contents of the table by using a Tbl statement. An individual table is called a table instance
All table instances are stored in one Tbls statement. Assign each table instance a unique ID number.
Indicate the position of the table in the text flow by using an ATbl statement. The ATbl statement is the 
placeholder, or anchor, for the table instance. It refers to the table instance’s unique ID.
Specify the table format by using a TblFormat statement. Formats can be named and stored in the Table 
Catalog, which is defined by a TblCatalog statement, or locally defined within a table. 
Creating a table instance
All table instances in a document are contained in a Tbls statement. The Tbls statement contains a list of 
Tbl statements, one for each table instance. A document can have only one Tbls statement, which must 
occur before any of the table anchors in the text flow. 
The Tbl statement contains the actual contents of the table cells in a list of MIF substatements. Like other 
MIF statements, this list can be quite long. The following is a template for a Tbl statement:
Body  rows
Footing  row
Coffee
Bags
Status
Price per bag
Brazil Santos
50
Prompt
$455.00
Celebes Kalossi
29In Stock
$9
24.00
Colombian
25
In Stock
$474.35
$1,853.35
Heading  row
Title