
ADOBE FRAMEMAKER 10
MIF Reference
78
Usage
You can use the Rotate command on the Graphics menu to change the
CellAngle
, but it does not affect the location
of cell margins.
CellAngle
affects only the orientation and alignment of the text flow. When
CellAngle
is 90 or 270
degrees, use
PgfCellAlignment
to move vertically oriented text closer to or farther from a column edge. For infor-
mation about aligning text in a cell, see
PgfCellAlignment
on page 65.
MIF uses
CellAffectsColumnWidthA
only with the
TblColumnWidthA
statement. The MIF default for computing
a cell’s width is
TblColumnWidthA
. However, if any cells in the column have
<CellAffectsColumnWidthA Yes>
,
then only those cells affect the computed column width.
Usage of MIF statements to calculate the width of a column is described in the following sections.
Determining table width
When FrameMaker writes MIF files, it uses
TblColumnWidth
in the
Tbl
statement to specify column width.
However, filters that generate MIF files can use other statements to determine the table width.
The table example in
“Creating an entire table” on page 227
shows several ways to determine column width.
Calculating proportional-width columns
MIF uses this formula to calculate the width of proportional-width columns::
The arguments have the following values:
For example, suppose you want a four-column table to be 7 inches wide, but only the last three columns to have
proportional width.
•
The columns have the following widths:
>
End of
Cell
statement
This method
Uses these statements
To do this
Fixed width
TblColumnWidth
Give a fixed value for column’s width (see page 73)
Shrink-wrap
TblColumnWidthA
Fit a column within minimum and maximum values (see page 73)
Restricted
TblColumnWidthA
and
CellAf-
fectsColumnWidthA
Use particular cells to determine column width (see page 77)
Proportional
TblColumnWidthP
Create a temporary value for a column width when filtering propor-
tional-width columns from another application; the MIF interpreter
converts the value to a fixed width (see page 73 and “Calculating propor-
tional-width columns,” next)
Equalized
EqualizeWidths
and
TblColumnNum
Apply the width of the widest column to specified columns in the same
table (see page 75)
n
Value of
TblColumnWidthP
PTotal
Sum of the values for all
TblColumnWidthP
statements in the table
PWidth
Available space for all proportional columns (
TblWidth
– the sum of fixed-width columns)
n
PTotal
------------------
PWidth
×