文書型 > Document Type Configuration (.dcf) > Customizing Element Display Options
  
Customizing Element Display Options
You can customize display settings for individual elements in a document type's .dcf file.
To customize element display in the .dcf file:
1. Open Arbortext Architect, and choose File > Open.
2. Locate the directory in which the document type is saved, and click Select.
3. 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.
4. 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, to help you determine the valid location for the Display element.
5. Place your cursor next to the Display element, and choose Insert > Markup, and select ElementDisplay.
6. Click next to the ElementDisplay element 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. Choose the element that you want to apply display settings to from the element list.
* 
By default, singleton elements are displayed in full in full and partial modes.
8. Select the tag type to which you want to apply the display settings to in the pair field: both, start, or end. The default setting is both.
9. Choose yes in the newline field. This setting only affects screen display. The default setting is no. This setting works in conjunction with the pair setting.
If you've selected both in the pair field, a newline will be inserted after the start tag and before the end tag. If you've selected start in the pair field, a newline will be inserted after the start tag. If you've selected end in the pair field, a newline will be inserted before the end tag.
10. In the fullTagDisplayMode field, select the display mode for the element when the Edit pane is set to full tag display mode (View > Full Tags). Choices are none, partial, and full. The default setting is full.
If you want to specify an icon other than the default for this display mode, type the icon name in the fullTagModeIcon field.
11. In the noTagDisplayMode field, select the display mode for the element when the Edit pane is set to no tag display mode (View > No Tags). Choices are none, partial, and full. The default setting is none. If you want to specify an icon other than the default for this display mode, type the name of the icon in the NoTagModeIcon field.
12. In the partialTagDisplayMode field, select the display mode for the element when the Edit pane is set to partial display mode (View > Partial Tags). Choices are default, full, none, and partial. The default setting is default. When set to default, paired tags display as small icons and singleton tags display as full tags. If you want to specify an icon other than the default for this display mode, type the name of the icon in the PartialTagModeIcon field.
13. To set a specific background color for the tag when the Edit pane is set to full-tag display mode, enter a color as the value for tagBackgroundColor. The value can be either a named color or an RGB specification preceded by #.
14. To set a specific font color for the tag when the Edit pane is set to full-tag display mode, enter a color as the value for tagFontColor. The value can be either a named color or an RGB specification preceded by #.
15. Click OK.
16. Choose File > Save to save the changes you've made to the .dcf file.