Configuring Column View
By default, Column view is not available in Arbortext Editor for document types other than the DITA map document types. To enable Column view for a document type, you must configure the number and types of columns in the document type's .dcf file.
To configure Column view:
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. Position the cursor before the end DocumentTypeConfiguration tag and insert the ColumnView element.
The Modify Attributes dialog box appears.
|
You must have the Force Required Attributes EntryEdit preference selected for this dialog box to open automatically.
|
If you have trouble inserting the element, open the Document Type Viewer ( > ) to view the element hierarchy for the .dcf file. This will help you determine the valid location for the ColumnView element.
6. Enter an name for the Column view configuration in the id field and select OK to close the dialog box.
7. With the cursor positioned after the ColumnView element, insert a Column element.
There are the following three types of columns:
◦ Navigation — This column contains a hierarchical outline of the document.
This is always the first column defined in your Column view configuration. You do not need to set a width in the Column element attributes for this column, but you might want to specify a header. You should not add an Attr element for this column.
◦ Modify attributes — This column contains a Modify Attribute icon.
The only Column element attributes you should set for this column are modAttr and width. Enter 25 (or -25 if you want the column to be hidden by default) as the width attribute value for a modify attributes column. You should not add an Attr element for this column.
◦ Attribute value — This column contains the value of the associated attribute.
You should specify a header and width for this type of column in the Column element attributes. You must add an Attr element for this column.
8. Select > to open the Modify Attributes dialog box.
The Column element has the following attributes:
◦ header — Specifies the text that appears in the column heading.
◦ modAttr — Determines whether the column contains a Modify Attribute icon.
The default is no. Enter yes to make this a modify attributes column. You should only have one modify attributes column in your Column view configuration. The modify attributes column does not need a header and should not have an associated attribute.
◦ scrollBoundary — Determines whether this is the last column that will scroll horizontally.
The default is no. Enter yes to make this the first column that will scroll horizontally. You can only set this attribute to yes for one column in your Column view configuration.
◦ truncate — Determines where the value in a column cell is truncated when the value is too long to fit the defined width for the column.
The default is end, meaning the end of the value is truncated. Enter start to truncate the beginning of the value.
◦ width — Determines the default width of the column in pixels.
You can enter a negative value for this attribute, indicating this column is hidden by default.
9. Modify the attributes as appropriate for the type of column you are configuring and select OK to close the dialog box.
10. If you are configuring an attribute value column, position the cursor after the after the Column element and insert an Attr element.
The Modify Attributes dialog box appears.
11. Enter the name of the attribute that you want associated with this column in the attribute field and select OK to close the dialog box.
If you need to qualify the attribute with an associated element, enter the name of that element in the element field before closing the dialog box.
You can have multiple Attr elements in a Column element. Note that if more than one of the attributes associated with a column has a value, only the value for the first Attr element is displayed in the column.
12. If you want to add another column, position the cursor after the last Column element, insert another Column element, and repeat steps 8 through 11.
13. Choose > to save the changes you have made to the .dcf file.