Download MIF Reference Online Manual
Transcript
ADOBE FRAMEMAKER 7.0 256 Facet Formats for Graphics The graphic inset file is named /tmp/default.fi. The application-specific facet for this graphic inset (the file generated by the fmbitmap program) is stored in a remote facet in the file /tmp/default. Note that although the fmbitmap program writes out the ImportObFile statement, this statement is obsolete and is only used with older versions of FrameMaker. When defining a function to write a graphic inset file, use the ImportObFileDI statement and specify a device-independent pathname. For more information on deviceindependent pathnames, see “Device-independent pathnames” on page 8. <MIFFile 7.00># Gener ate d by fmbit map < Im p o r t O b j e c t <Impor tO bFile /t mp/default.fi> <Impor tO bEditor fmbit map> = Bi t m a p F i l e . f a ce t &%v &/t mp/default = D a t a . f a ce t &%i &64 &64 &-1 &-1 =Fr ameImage &%v &\x & ... &\x = E n d In s e t > To see more examples of the graphic inset format, you can import a graphic into a FrameMaker document (import by copying) and save the FrameMaker document as a MIF file. General rules for reading and writing facets To write a facet, you need to modify the existing function in your application for writing data. The function must write the facet name and data type lines and insert an ampersand at the beginning of each line of facet data. If necessary, convert data lines to the appropriate facet data format. Unsigned bytes should follow the conventions described in “Unsigned bytes” on page 250, and metric data should follow the conventions described in “Metric data” on page 250. When writing the facet data, your application can use as many lines as necessary. Each line should be short enough to read with a text editor, in case you need to debug the graphic inset file. There are no counts, offsets, or facet size limits. Facet data in hexadecimal must contain valid hexadecimal digits only (0-9, A-F) and cannot contain backslash (\) characters. When you write a facet containing hexadecimal data, do not write newline characters ( \r or \n) at the end of the lines. Graphic insets cannot contain any blank lines within or between facets. Online manual