|
|
1.1 root 1: {\rtf0\ansi{\fonttbl\f2\fswiss Helvetica;\f1\fmodern Courier;}
2: \paperw11780
3: \paperh8880
4: \margl120
5: \margr120
6: {\colortbl\red0\green0\blue0;}
7: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ul0\fs36\fi-1680\li1680 The Document Menu
8: \b \
9:
10: \fs16 \
11:
12: \pard\tx140\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b0\fs24 The Document menu contains commands affecting windows and the files they display as a whole.
13: \fc0 The title of this menu (the second command in the main menu) should indicate the kind of thing that the Open command opens and the Save command saves. It might be �Document,� Project�, �File� (for Interface Builder), �Model� (for spreadsheets), �Game� (for games), or �Shell� (for Shell). Applications that don't open or save documents of some kind and don't have a New command won't have this menu.\
14: \
15: Because the 2.0 interface includes a Windows menu, the Document menu should never be called �Window� as it was in 1.0.\
16: \
17:
18: \pard\tx1400\tx2420\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\b\fi-1400\li1400 Command Action
19: \b0 \
20: Open... Brings up the Open panel so the user can open a file. Opening a file also opens a window to display it in. \
21: \
22: New Opens a new, untitled file and a window to display it in.\
23: \
24: Save Saves changes to a file (writes them to the disk). If the file is untitled, this command should have the same effect as the Save As command.\
25: \
26: Save As... Saves the file displayed in the window by writing it to a new file with a name supplied by the user. The new file becomes the file displayed in the window, and the window's title is changed accordingly. This command places the Save Panel on-screen which asks the user to type in a file name, or cancel the command. \
27: \
28: Save To... Saves the file displayed in the window by writing it to a new file with a name supplied by the user. In this respect, Save To is identical to the Save As command. However, Save To
29: \b doesn't
30: \b0 replace the window's current file with the new one. You can choose whether to implement Save As or Save To or both in your application.\
31: \
32:
33: \pard\tx1400\tx1940\tx2340\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1400\li1400 Revert to Saved Replaces the current version of the file displayed in the window with the version saved on disk. This undoes any changes made to the file since it was last saved.\
34:
35: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1680\li1680 \
36:
37: \pard\tx1400\tx2420\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1400\li1400 Close Closes the document in the current main window, and all the windows used to display that document. \
38:
39: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1680\li1680 \
40:
41: \pard\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-40\li40 In some applications, the user can open documents that are displayed in more than one window. For these applications, the Close command should be a counterpart to the Open command: It should close the document file and all the windows that display it. The Windows menu includes another command, Close Window, that closes a single window (if it has a close button). Close Window, rather than Close, has the Command-w keyboard alternative.
42: \fc0 \
43:
44: \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fi-1680\li1680\fc0 \
45:
46: \fi-20\li20 If an application uses more than one window to display a document, it could add a Miniaturize command to �miniaturize� all the windows associated with the currently selected document (i.e, the document of the key window) into a single miniwindow. See Interface Builder for an example.
47: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.