Oxygen XML Editor 11.2 Author API

ro.sync.ecss.extensions.api
Interface StylesFilter

All Superinterfaces:
Extension

public interface StylesFilter
extends Extension

Filter for the CSS stylesheet. Use this to replace the default styles associated to a node.


Method Summary
 Styles filter(Styles styles, AuthorNode authorNode)
          Filter the styles for the specified element.
 
Methods inherited from interface ro.sync.ecss.extensions.api.Extension
getDescription
 

Method Detail

filter

Styles filter(Styles styles,
              AuthorNode authorNode)
Filter the styles for the specified element.

Parameters:
styles - The original CSS styles associated with the specified authorNode.
authorNode - The node to filter the CSS style for.
Returns:
The customized CSS style that will be associated with the given node. If the returned object is null then the original styles will be used.

Oxygen XML Editor 11.2 Author API

© Copyright SyncRO Soft SRL 2002 - 2010.