Document Types > Document Type Configuration (.dcf) > Specifying the New Line Element
Specifying the New Line Element
You can specify the element to be used for a new line in the document type configuration (.dcf) file. This element is entered in a document when a user enters a line break, either from the keyboard (generally mapped to the SHIFT+ENTER keys) or through the Format > Touchup > New Line menu choice. If this option is not set or the specified element is not valid at the cursor location, the _newline processing instruction is entered instead.
To specify the line break element
1. Open Arbortext Architect, and choose File > Open.
2. Locate the directory in which the document type whose .dcf file you want to modify 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 Options element in the DCF Editor. If the file doesn't include a 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.
5. Click next to the Options 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.
6. In the newlineElement field, enter the name of the element you want to use for line breaks. You must enter the valid name of an element in the document type. For example, in HTML document types the br element is used for line breaks.
7. Click OK.
8. Choose File > Save to save the changes you have made to the .dcf file.