24.08.2015 Views

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

Oxygen XML Author plugin 13.2.0

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Author</strong> Developer Guide | 241• You can use the reference property to customize the way these references are rendered in <strong>Author</strong> mode:oxy|reference {border:1px solid gray !important;}In <strong>Author</strong> mode, content is highlighted when parts of text contain:• comments;• changes and Track Changes was active when the content was modified.If this content is referred, the <strong>Author</strong> mode does not display the highlighted areas in the new context. If you want tomark the existence of this comments and changes you can use the oxy|reference[comments],oxy|reference[changeTracking], and oxy|reference[changeTracking][comments] selectors.Note: Two artificial attributes (comments and changeTracking) are set on the reference node, containinginformation about the number of comments and track changes in the content.• The following example represents the customization of the reference fragments that contain comments:oxy|reference[comments]:before {content: "Comments: " attr(comments) !important;}• To match reference fragments based on the fact that they contain change tracking inside, use theoxy|reference[changeTracking] selector.oxy|reference[changeTracking]:before {content: "Change tracking: " attr(changeTracking) !important;}• Here is an example of how you can set a custom color to the reference containing both track changes and comments:oxy|reference[changeTracking][comments]:before {content: "Change tracking: " attr(changeTracking) " and comments: "attr(comments) !important;}A sample document rendered using these rules:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!