Adobe framemaker 6.0 User Manual

Page of 323
58
ADOBE FRAMEMAKER 6.0
 Using MIF Statements
Setting View Only document options
You can use MIF statements to control the display of View Only documents. A View Only document is a 
locked FrameMaker hypertext document that a user can open, read, and print but not edit. You can use 
MIF statements to control the appearance and behavior of the document window and to control the 
behavior of cross-references in locked documents. 
If you plan to display the View Only document in FrameReader, you need to save the MIF file as a FrameMaker 
document. FrameReader cannot read MIF files.
The MIF statements for View Only documents are intended for hypertext authors who want more control 
over hypertext documents. They do not have corresponding commands in the user interface.
The View Only MIF statements described in this section must appear in a Document statement. These 
statements have no effect in an unlocked document. Make sure that the Document statement also includes 
the following substatement:
<DViewOnly Yes>
Changing the document window
You can use MIF statements to change the appearance and behavior of the document window in the 
following ways:
To suppress the document window menu bar, use the following statement:
<DViewOnlyWinMenubar No>
This statement has no effect in the Macintosh and Windows version of a FrameMaker product because 
those versions have an application menu bar rather than a document window menu bar.
To suppress the display of scroll bars and border buttons in the document window, use the following 
statement:
<DViewOnlyWinBorders No>
To suppress selection in the document window, include the following statement:
<DViewOnlySelect No>
You can normally select text and objects in a locked document by Control-dragging in UNIX and Windows 
versions or by Command-dragging in Macintosh versions. Specifying <DViewOnlySelect No> prevents all 
selection in a locked document.
To suppress the appearance of a document region pop-up menu, use the statement:
<DViewOnlyWinPopup No>
document region pop-up menu is a menu activated by the right mouse button. For example, in UNIX 
versions of a FrameMaker product, the Maker menu and Viewer menus can be accessed by pressing the 
right mouse button. If the DViewOnlyWinPopup statement has a value of No, the background menu does 
not appear when the right mouse button is pressed. This statement has no effect in Macintosh and 
Windows versions of a FrameMaker product.
To make a window behave as a palette window, use the following statement: