Document Types > Document Type Configuration (.dcf) > Changing Default Element Icons
Changing Default Element Icons
You can change the default icon for a start tag, an end tag, or both start and end tags for an element.
To change an element's default icons:
1. Open Arbortext Architect.
2. Choose File > Open.
3. Locate the directory in which the document type whose .dcf file you want to modify 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 Display element in the DCF Editor. If the file doesn't include a Display 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 Display element.
6. Place your cursor next to the Display element, choose Insert > Markup, and then choose Icon.
7. Click next to the Icon attribute to open the Modify Attributes dialog box. All fields in the Modify Attributes dialog box for the Icon attribute are required.
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
8. Type the name you want to assign the icon in the id field. This name is used in the ElementDisplay attribute of the Display element.
9. Specify the name of the character set that includes the icon in the characterSet field. Valid character sets are identified in the Arbortext-path/lib/ file.
10. Indicate the decimal value of the character in the characterNumber field. Refer to your operating system documentation for information on determining character values.
11. To display a different icon when an element has been modified locally (attributes are set to non-default values), specify the decimal value of this character in the characterNumberLocal field.
12. Click OK.
13. Choose File > Save to save the changes you've made to the .dcf file.
14. Now you must assign the icon name to a specific tag. Refer to Configuring element display options for more information.