Adobe framemaker 6.0 Manuale Utente

Pagina di 323
60
ADOBE FRAMEMAKER 6.0
 Using MIF Statements
To disable a command, you must supply the hex code, called an fcode, that internally represents that 
command in a FrameMaker product. For example, you can disable printing, copying, and unlocking the 
document by supplying the following statements:
<DViewOnlyNoOp 0x313>
# Disable printing
<DViewOnlyNoOp 0x322>
# Disable copying
<DViewOnlyNoOp 0xF00>
# Disable unlocking the document
The following table lists the files where you can find fcodes for commands:
See the online manual Customizing FrameMaker Products for more information about the commands file 
in UNIX versions. For information about disabling commands on the Macintosh, see the Frame 
Developer’s Kit (FDK) manuals, available separately.
Applications of MIF
You can use MIF files any time you need access to a FrameMaker product’s formatting capabilities. This 
section provides some examples of how MIF can be used and some tips on minimizing MIF statements.
You can use MIF to:
Share files with earlier versions of FrameMaker
Perform custom document processing
Write import and export filters for FrameMaker documents
Perform database publishing
Sharing files with earlier versions
A FrameMaker product automatically opens documents created with an earlier version of FrameMaker 
(2.0 or higher).
To use an earlier version of FrameMaker (such as 2.1) to edit a document created with a later version of 
FrameMaker (such as 6.0):
1
Use the newer FrameMaker product version to save the document in MIF.
2
Open the MIF file with the earlier version of FrameMaker.
Earlier versions of FrameMaker do not support all MIF statements in the current version. For example, when 
you use version 2.1 of FrameMaker to open a document created in version 3 of FrameMaker, MIF statements 
describing tables and conditional text are skipped. Ignore the related error messages. For a description of the 
differences between MIF 6.0 and previous versions, see , “MIF Compatibility.”
For this version
Look here
UNIX 
$FMHOME/fminit/
language
/configui/Commands, where 
language
 is the language in use, 
such as usenglish
Windows 
install_dir
/fminit/configui/cmds.cfg, where 
install_dir
 is the directory where the 
FrameMaker product is installed
Macintosh
fm_codes.h, which is available separately with the Frame Developer’s Kit (FDK)