[oXygen-sdk] Stylesfilter sample code

Alex Jitianu alex_jitianu at sync.ro
Fri Sep 25 02:05:14 CDT 2015


Hello Nathan,

We have two topics on that:

http://oxygenxml.com/doc/versions/17.0/ug-editor/#topics/dg-author-css-styles-filter.html
http://oxygenxml.com/doc/versions/17.0/ug-editor/#topics/api_faq_add_form_control_from_filter.html

You should be able to find out the file path of the node like this:
     authorNode.getOwnerDocument().getSystemID()

Best regards,
Alex
-- 
Alex Jitianu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 9/25/2015 2:24 AM, Nathan wrote:
> Hi,
>   I was wanting to change the CSS rendering of an element based on the 
> filepath of the file opened in Oxygen Author using the Author API. I 
> was planning to use the Stylesfilter for this. Could you point me to a 
> sample piece of code for the Stylesfilter?
>
> Thanks!
> Nathan
>
>
> _______________________________________________
> oXygen-sdk mailing list
> oXygen-sdk at oxygenxml.com
> http://www.oxygenxml.com/mailman/listinfo/oxygen-sdk

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.oxygenxml.com/pipermail/oxygen-sdk/attachments/20150925/c269507a/attachment.html>


More information about the oXygen-sdk mailing list