Edit online

Styles Filter Plugin Extension

This type of plugin allows you to dynamically modify the CSS styles used to render elements in the Author mode.

The plugin must extend the ro.sync.exml.plugin.author.css.filter.GeneralStylesFilterExtension class. This class has a callback on which you can alter the styles for an Author mode element.

This extension point is similar with the Styles Filter that you set at the framework level. The only difference is that the plugin filters styles are used for any open XML document, regardless of the document type. The changes made by this plugin are prioritized over the changes made by the framework-level filter.

Note: Alternatively, you can use the AuthorStylesheet plugin extension, which does not require any additional Java development and is compatible with Oxygen XML Web Author.