Page 1 of 1

Select CSS via API

Posted: Wed May 02, 2018 6:03 pm
by Vangelis31
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

Re: Select CSS via API

Posted: Thu May 03, 2018 12:21 pm
by Radu
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