Select CSS via API

Post here questions and problems related to oXygen frameworks/document types.
Vangelis31
Posts: 6
Joined: Tue May 14, 2013 6:57 pm

Select CSS via API

Post by Vangelis31 » Wed May 02, 2018 6:03 pm

Hello,

Is there any way to select a CSS via API, in fact the user has several selectable CSS, and in some case we want to force via API the CSS to be used.

Thanks a lot.

Manuel

Radu
Posts: 7099
Joined: Fri Jul 09, 2004 5:18 pm

Re: Select CSS via API

Post by Radu » Thu May 03, 2018 12:21 pm

Hi Manuel,

We have some API like this:

Code: Select all

ro.sync.exml.workspace.api.PluginWorkspace.addAuthorCSSAlternativesCustomizer(AuthorCSSAlternativesCustomizer)
which could be added from a workspace access plugin extension:

https://www.oxygenxml.com/InstData/Edit ... ustomizer-

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply