Specifying Whether an Element is a Word Boundary
You can specify elements in a document type's .dcf file that you want to be considered a word boundary when authors do a spelling check. These elements are considered the start of a new word for spell checking purposes. This setting only applies to inline elements, as block elements are always considered as starting a new word and sentence.
Note that this option will override the setting of the skipinlineelements preference if set to any value except default.
To specify elements to be a word boundary during a spelling check:
1. Open Arbortext Architect.
2. Choose > .
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 > . 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 ElementOptions element in the DCF Editor. If the file doesn't include an ElementOptions element, add one.
|
Open the Document Type Viewer ( > ) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the ElementOptions element.
|
6. Place your cursor next to the ElementOptions element, choose > , and choose ElementOption.
7. Click next to the ElementOption 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.
|
8. In the element field, select the element that you want to be a word boundary during a spelling check.
9. Choose one of the following values in the spellCheckingNewWord field to indicate the word boundary configuration of the element to be during a spelling check:
◦ yes — The element always starts a new word, regardless of the setting of the skipinlineelements preference.
◦ no — The element is not considered a word boundary, regardless of the setting of the skipinlineelements preference.
◦ default (The default setting) — The element follows the setting of the skipinlineelements preference.
10. Click OK.
11. Choose > to save the changes you have made to the .dcf file.