文書型 > Document Type Configuration (.dcf) > Specifying a Window Class
  
Specifying a Window Class
The Arbortext Editor preferences file (arbortext.wcf)) enables you to save different window configuration preferences for different document types. If you want Arbortext Editor to save window configuration preferences specific to a document type in the preferences file, you must specify a unique window class name in that document type's .dcf file.
To specify a window class:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type is saved, and click Select.
4. Once the document type is loaded, choose Edit > DCF. If the document type has a .dcf file, it displays in the Arbortext ArchitectDCF Editor window. If there is no .dcf file associated with this document type, Arbortext Architect automatically creates one.
5. Locate the Options element in the DCF Editor. If the file doesn't include an Options element, add one.
* 
Open the Document Type Viewer (Tools > Document Type Viewer) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the Options element.
6. Place your cursor to the right of the Options element, and choose Edit > Modify Attributes or click on the Modify Attributes toolbar button to open the Modify Attributes dialog box.
* 
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
7. In the windowClass field, enter a unique window class name to use for your document type.
8. Click OK.
9. Choose File > Save to save the changes you have made to the .dcf file.