Edit online

Colors and Styles Preferences

Oxygen XML Editor lets you set the colors and styles used to display profiling / conditional text in the Author mode editor. To set Colors and Styles preferences, open the Preferences dialog box (Options > Preferences) and go to Editor > Edit modes > Author > Profiling/Conditional Text > Colors and Styles.

The preference page includes the following options and sections:
Automatically apply colors and styles from DITAVAL files referenced in the Main Files folder
If this setting is enabled (default state is disabled) and DITAVAL filter files that define flagging conditions are referenced within the Main Files folder in the Project view, those conditions are automatically taken into account when the Show Profiling Colors and Styles option from the Profiling / Conditional Text toolbar drop-down menu in Author mode is enabled.
Import from DITAVAL
Allows you to import profiling styles from a .ditaval file. You can merge these new profiling styles with the existing ones, or replace them completely. If the imported styles conflict with the existing ones, Oxygen XML Editor displays a dialog box containing two tables. The first one previews the imported styles, while the second one previews the already defined styles. You can choose to either keep the existing styles or replace them with the imported ones. This feature works even if you use profiling attribute groups to organize the attributes into subcategories.
Profiling Colors and Styles Table
You can use buttons below this table to set specific colors and styles for the listed profiling attribute values. The table includes two categories:
  • Defined attributes values - Contains the styles for profiling attribute values defined in the Profiling / Conditional Text preferences page. Each profiling attribute value has an associated style. To ease the process of customizing styles, the Defined attributes values category contains by default the list of empty styles. All you have to do is to adjust the colors and decorations, thus skipping the process of manually defining the association rules (document type, attribute name, and value). This is the reason why a style from this category can only be reset, not deleted.
  • Other - This category contains styles for attribute values that are not marked as profiling values, in the Profiling / Conditional Text preferences page. In this category are listed:
    • All the styles that were defined in other projects (with other profiling attribute value sets).
    • All the styles set for the profiling attributes defined in a subject scheme map.
Automatic styling button
If you click this button, Oxygen XML Editor will apply automatic styling to the profiling attribute values that do not have a style defined.
New button
Opens the Add Profiling Style dialog box that allows you to associate a set of coloring and styling properties to a profiling value.
Note: You can define a default style for a specific attribute by setting the Attribute value field to <ANY>. This style is applied for attribute values that do not have a specific style associated with it.
Edit button
Open the Edit Profiling Style dialog box that allows you to edit the colors or style for an existing profiling value. You can also double-click the value to open this dialog box.
Clear style button
Resets the style for the selected value to its default setting (no color or decoration).
Delete button
Delete the selected style from the Other category.