Grid Preferences
Oxygen XML Author provides a Grid view of an XML document. To configure the Grid mode options, open the Preferences dialog box and go to .
The following options are available:
- Compact representation
- If selected, the compact representation of the grid is used: a child element is displayed beside the parent element. In the non-compact representation, a child element is nested below the parent.
- Format and indent when passing from grid to text or on save
- If selected, the content of the document is formatted and indented each time you switch from the Grid view to the Text view.
- Default column width (characters)
- Sets the default width (in characters) of a table column of the grid. A column may
contain the following:
- Element names
- Element text content
- Attribute names
- Attribute values
- Active cell color
- Allows you to set the background color for the active cell of the grid. The keyboard input always goes to the active cell and the selection always contains it.
- Selection color
- Allows you to set the background color for the selected cells of the grid, except the active cell.
- Border color
- Allows you to set the color used for the lines that separate the grid cells.
- Background color
- Allows you to set the background color of grid cells that are not selected.
- Foreground color
- Allows you to set the text color of the information displayed in the grid cells.
- Row header colors
-
- Background color
- Allows you to set the background color of row headers that are not selected.
- Active cell color
- Allows you to set the background color of the row header cell that is currently active.
- Selection color
- Allows you to set the background color of the header cells corresponding to the currently selected rows.
- Column header colors
-
The column headers are painted with two color gradients, one for the upper 1/3 part of the header and the other for the lower 2/3 part. The start and end colors of the first gradient are set with the first two color buttons. The start and end colors of the second gradient are set with the last two color buttons.
- Background color
- Allows you to set the background color of column headers that are not selected.
- Active cell color
- Allows you to set the background color of the column header cell that is currently active.
- Selection color
- Allows you to set the background color of the header cells corresponding to the currently selected columns.