The Grid View section (screenshot below) allows you to customize the appearance of text in the Grid View of XML documents (XML View and XML Table View) In the combo box (see screenshot), select the document display for which you want to configure Grid View. Then select the text item type you want to format and assign to it the desired formatting properties (listed below).
You can set the following properties for the selected text item type:
|•||Font face and size: The selected font will also be used in printouts of Grid View. If you want to use the same font face or size for all text item types, check the respective Use the same for all check box.|
|•||Text style, text color, text background: Sets the style, color, and background of individual text item types. The current settings are immediately reflected in the list in the left-hand pane, so you can preview how the text item will look.|
XML Table View
The display of XML Table View can additionally be configured to differentiate (i) selected headers from unselected headers, and (ii) selected empty cells from unselected empty cells. (Highlighting empty cells serves as a visual aid for quickly identifying missing content.) The differentiation is achieved by assigning different background colors to each item (see screenshot below).
|•||The Header Unselected and Header Selected options refer to column and row headers. The screenshot below shows headers unselected; its background color is as set in the dialog above.|
The Header Selected color is activated when all headers are selected—not when an individual header is selected. The screenshot below uses the background colors defined in the dialog shown above. All headers can be selected by clicking the cell that intersects the column and row headers, or by selecting the element created as the table—or any of its ancestors.
|•||The Missing Content settings refer to non-existent elements or attributes in the XML document. Different background colors can be set for the corresponding table cells according to whether these cells are selected or unselected. In the screenshot below, the first row is selected.|
|Note:||In addition to the colors you define here, XMLSpy uses the regular selection and menu color preferences set in the Display Settings in the Control Panel of your Windows installation.|
The Set Defaults button resets fonts to the original installation settings.
Save and exit
After making the settings, click OK to finish.
© 2019 Altova GmbH