Detailed instructions for use are in the User's Guide.
[. . . ] Adobe FrameMaker 6. 0
® ®
MIF Reference Online Manual
Adobe, the Adobe logo, Acrobat, Acrobat Reader, Adobe Type Manager, ATM, Display PostScript, Distiller, Exchange, Frame, FrameMaker, FrameViewer, InstantView, and PostScript are trademarks of Adobe Systems Incorporated. Apple, PowerBook, QuickTime, Mac, Macintosh and Power Macintosh are trademarks of Apple Computer, Inc. , registered in the United States and other countries. Microsoft, MS-DOS, Windows, and Windows NT are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. . Sun and Solaris are trademarks or registered trademarks of Sun Microsystems, Inc. [. . . ] The ImportHint statement is not written for graphics imported by copy.
ADOBE FRAMEMAKER 6. 0 125
MIF Document Statements
The record specified by the ImportHint statement uses the following syntax:
record_vers vendor format_id platform filter_vers filter_name
Note that the fields in the record are not separated by spaces. For example:
`0001PGRFPICTMAC61. 0 Built-in PICT reader'
The rest of this section describes each field in the record. The following table lists some of the possible codes.
Code `PGRF' `FAPI' `FFLT' `IMAG' `XTND' Description Built-in FrameMaker filters External FDK client filter External FrameMaker filters External ImageMark filters External XTND filters
Note that this is not a comprehensive list of codes. Codes may be added to this list by Adobe or by developers at your site. The following table lists some of the possible codes.
Code `PICT' `WMF ' `EPSF' `EPSI' `EPSB' `EPSD' `SNRF' `PNTG' `PCX ' `TIFF' `XWD ' `GIF ' `MIF ' `FRMI' Description QuickDraw PICT Windows MetaFile Encapsulated PostScript (Macintosh) Encapsulated PostScript Interchange Encapsulated PostScript Binary (Windows) Encapsulated PostScript with Desktop Control Separations (DCS) Sun Raster File MacPaint PC Paintbrush Tag Image File Format X Windows System Window Dump file Graphics Interchange Format (CompuServe) Maker Interchange Format FrameImage
ADOBE FRAMEMAKER 6. 0 126
MIF Document Statements
Code `FRMV' `SRGB' `CDR ' `CGM ' `DRW ' `DXF ' `GEM ' `HPGL' `IGES' `WPG ' `DIB ' `OLE ' `EMF ' `MooV' `IMG4' `G4IM'
Description FrameVector SGI RGB CorelDRAW Computer Graphics Metafile Micrografx CAD Autodesk Drawing eXchange file (CAD files) GEM file (Windows) Hewlett-Packard Graphics Language Initial Graphics Exchange Specification (CAD files) WordPerfect Graphics Device-independent bitmap (Windows) Object Linking and Embedding Client (Microsoft®) Enhanced MetaFile (Windows) QuickTime Movie Image to CCITT Group 4 (UNIX) CCITT Group 4 to Image
Note that this is not a comprehensive list of codes. Codes may be added to this list by Adobe or by developers at your site. platform is a code specifying the platform on which the filter was run. The following table lists some of the possible codes.
Code `MAC6' `MACP' `WINT' `WIN3' `WIN4' `UNIX' Description Macintosh 68000 series Power Macintosh Windows NT® Windows 3. 1 Windows 95 Generic X/11 (Sun, HP)
filter_vers is a string of four characters identifying the version of the filter on that platform. For example, version 1. 0 of a filter is represented by the string `1. 0 '. filter_name is a text string (less than 31 characters long) that describes the filter.
ADOBE FRAMEMAKER 6. 0 127
MIF Document Statements
More information about imported graphics
For additional information on imported graphics, consult one of the following sources:
· For instructions about modifying an application to create graphic insets for FrameMaker documents, see the FDK Programmer's Guide. · If you are using FrameServer or Live Links with graphic insets, see the online manual, Using FrameServer
with Applications and Insets, which is included in the UNIX version of the Frame Developer's Kit.
· For more information about importing graphics, see your user's manual.
Math statement
A Math statement describes an equation. For its description, see "MIF Equation Statements. "
Polygon statement
The Polygon statement describes a polygon. It can appear at the top level or in a Page or Frame statement.
Syntax
<Polygon Generic object statements <Smoothed boolean> <NumPoints integer> <Point X Y> . . . > Information common to all objects (see page 111) Yes smooths angles to rounded curves Number of vertices Position of object in page or frame coordinates More points as needed End of Polygon statement
Usage
The NumPoints statement is optional. When the MIF interpreter reads a MIF file, it counts the Point statements to determine the number of points in the polygon.
PolyLine statement
The PolyLine statement describes a polyline. It can appear at the top level or in a Page or Frame statement.
ADOBE FRAMEMAKER 6. 0 128
MIF Document Statements
Syntax
<PolyLine Generic object statements <HeadCap keyword> Information common to all objects (see page 111) Type of head cap for lines and arcs keyword can be one of: ArrowHead Butt Round Square <TailCap keyword> Type of tail cap for lines and arcs keyword can be one of: ArrowHead Butt Round Square <ArrowStyle. . . > <Smoothed boolean> <NumPoints integer> <Point X Y> . . . > See "ArrowStyle statement" on page 116 Yes smooths angles to rounded curves Number of vertices Position in page or graphic frame coordinates More points as needed End of PolyLine statement
Usage
The PolyLine statement is used for both simple and complex lines. When the MIF interpreter reads a MIF file, it counts the Point statements to determine the number of points in the polyline.
Rectangle statement
The Rectangle statement describes rectangles and squares. It can appear at the top level or in a Page or Frame statement.
ADOBE FRAMEMAKER 6. 0 129
MIF Document Statements
Syntax
<Rectangle Generic object statements <ShapeRect L T W H> Information common to all objects (see page 111) Position and size of object, before rotation, in page or graphic frame coordinates Yes smooths angles to rounded curves End of Rectangle statement
<Smoothed boolean> >
RoundRect statement
A RoundRect statement describes a rectangle with curved corners. It can appear at the top level or in a Page or Frame statement.
Syntax
<RoundRect Generic object statements <ShapeRect L T W H> Information common to all objects (see page 111) Position and size of object, before rotation, in page or graphic frame coordinates Radius of corner; 0=square corner End of RoundRect statement
<Radius dimension> >
TextLine statement
The TextLine statement describes a text line. A text line is a single line of text that a FrameMaker product treats differently from other text. Text lines grow and shrink as they are edited, but they do not automatically wrap the way text in a text column does. [. . . ] The origin of the coordinate system is the upper left corner of this rectangle. For the specifications of angles, positive values are measured clockwise from 0° (the x-axis), and negative values are measured counterclockwise.
Specifications of definition op codes
This section describes each definition op code. The op code number is shown in parentheses.
Version number (0x01)
Specification by data type: Description of data: Byte Bits 7-4: major version number Bits 3-0: minor version number Size of data in bytes: Example: 1 01 00000001 50 representing version 5. 0 Note: This must be the first op code for a FrameVector graphic.
ADOBE FRAMEMAKER 6. 0 294
FrameVector Facet Format
Bounding rectangle (0x02)
Specification by data type: Description of data: Metric, metric, metric, metric Position of graphic (metric, metric) Width of graphic (metric) Height of graphic (metric) Size of data in bytes: Example: 16 02 00000010 00000000 00000000 020A0000 00BD0000 for a graphic with the following specifications: x position = 0 points (0000) y position = 0 points (0000) width = 522 points (020A) height = 189 points (00BD) Note: This must be the second op code for a FrameVector graphic.
CMYK color definition (0x03)
Specification by data type: Description of data: String, metric, metric, metric, metric Name of color tag (string) Percentages of cyan, magenta, yellow, and black (metric, metric, metric, metric) Size of data in bytes: Example: Variable 03 0000001B 00 0B 53 61 67 65 20 47 72 65 65 6E 00 00500000 00230000 00320000 00000000 for a color named Sage Green with the following specifications: cyan = 80% (0050) magenta = 35% (0023) yellow = 50% (0032) black = 0% (0000) Note: See "Definition op codes" on page 291 for more information on color definitions.
RGB color definition (0x04)
Specification by data type: Description of data: String, metric, metric, metric Name of color tag (string) Percentages of red, green, and blue (metric, metric, metric) Size of data in bytes: Variable
ADOBE FRAMEMAKER 6. 0 295
FrameVector Facet Format
Example:
03 0000001B 00 0B 53 61 67 65 20 47 72 65 65 6E 00 00280000 00410000 00330000 for a color named Sage Green with the following specifications: red = 40% (0028) green = 65% (0041) blue = 51% (0033)
Note:
See "Definition op codes" on page 291 for more information on color definitions.
PANTONE color definition (0x05)
Specification by data type: Description of data: String, string Name of color tag (string) PANTONE name or number (string) Size of data in bytes: Example: Variable 05 0000001A 00 0B 53 61 67 65 20 47 72 65 65 6E 00 00 04 35 37 30 00 for a color named Sage Green with the PANTONE number 570 Note: See "Definition op codes" on page 291 for more information on color definitions.
End of the vector graphic (0xFF)
Specification by data type: Description of data: Size of data in bytes: Example: Note: N/A None 0 FF 00000000 This must be the last op code for a FrameVector graphic.
Specifications of style op codes
This section describes each style op code. Note that these styles remain in place until another style op code resets the style.
ADOBE FRAMEMAKER 6. 0 296
FrameVector Facet Format
Dashed line style (0x06)
Specification by data type: Description of data: Short, metric, . . . [. . . ]