
ADOBE FRAMEMAKER 10
MIF Reference
6
Unit values
You can specify the unit of measurement for most dimension data items. The following table lists the units of
measurement that FrameMaker supports and their notation in MIF.
Dimension data types can mix different units of measurement. For example, the statement
<CellMargins
L T R
B
>
can be written as either of the following:
<CellMargins 6 pt 18 pt 6 pt 24 pt>
<CellMargins 6 pt .25" .5 pica 2 pica>
Math values
The
MathFullForm
statement uses
metric
values in formatting codes. A
metric
unit represents one point (1/72
inch). The
metric
type is a 32-bit fixed-point number. The 16 most significant bits of a
metric
value represent the
digits before the decimal; the 16 least significant bits represent the digits after the decimal. Therefore, 1 point is
expressed as hexadecimal
0x10000
or decimal
65536
. The following table shows how to convert
metric
values into
equivalent measurement units.
X Y W H
Coordinates of a point on the physical screen represented by
X
and
Y
plus dimensions describing
the width and height. Used only by the
DWindowRect
and
DViewRect
statements within the
Document
statement and the
BWindowRect
statement within the
Book
statement. The
values are in pixels; you cannot specify the units.
keyword
A token value. The allowed token values are listed for each statement; you can provide only one
value.
<token…>
Ellipsis points in a statement indicate required substatements or arguments. The entire expanded
statement occurs at this point.
Measurement unit
Notation in MIF
Relationship to other units
point
pt
or
point
1/72 inch
inch
"
or
in
72
points
millimeter
mm
or
millimeter
1 inch is 25.4 mm
centimeter
cm or centimeter
1 inch is 2.54 cm
pica
pc or pica
12 points
didot
dd or didot
0.01483 inches
cicero
cc or cicero
12 didots
To get this unit
Divide the metric value by this number
point
65536
inch
4718592
millimeter
185771
centimeter
1857713
pica
786432
didot
6997
cicero
839724
This term or symbol
Means