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 and go to .
The central area of the page contains a table that lists two categories of profiling styles:
- 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 different profiling
attribute value sets)
- all the styles set for the profiling attributes defined in a subject scheme map
Adding a profiling style
To add profiling styles use one of the following actions:
- Import from DITAVAL...
- Allows you to import profiling styles from .ditaval files. 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 and the second one previews the already defined styles.
You can choose either to keep the existing styles or replace them with the imported
ones.
- Automatic styling
- For every profiling attribute value that has no style defined, applies one of the
following color or style: background, foreground, text decoration (underline,
overline, double-underline) or text style (bold, italic).
- New
- Opens the Add Profiling Style dialog 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.
Modify a profiling style
To modify an already defined style use one of the following actions:
- double click the style in the styles table to open the Edit Profiling
Style dialog
- select the style in the styles table and press Edit to open the
Edit Profiling Style dialog
Resetting a profiling style from Defined attributes values
category
To reset a style from the Defined attributes values category to its
default (no color or decoration), select it and click the Clear style
button.
Deleting a profiling style from Other category
To
delete a style from the Other category, select it and click the
Delete button.