A stylesheet extension method is any method having the following signature:
StyleValuemethod_name(StyleValue[]args,NodecontextNode,ViewFactoryBaseviewFactory)
A stylesheet extension method may be any static method or an instance method of a stylesheet extension class.
In the CSS stylesheet used to style the document being edited, using the proprietary invoke() pseudo-function in XMLmind XML Editor - Support of Cascading Style Sheets (W3C CSS). Example:
cc:before {
content: invoke("localize", "cc") ":";
}No requirements other than having the above signature. See sample stylesheet extension method.