[oXygen-user] Toolkit Plugin-Contributed Author CSS Style Sheets

George Cristian Bina
Thu May 28 01:21:22 CDT 2009

Hi Eliot,

Assuming you know exactly where your CSSes are for the DITA OT plugins, 
for instance you may known that their structure is something like:


then you should be able to write an AuthorExtensionStateListener 
extension for the DITA framework that receives a callback when you open 
a file for which your framework is activated and on that callback you 
can make sure all your plugins CSSes stylesheets are imported from the 
CSS that you use in your DITA framework, if they are not imported then 
you have the chance modify the DITA CSS file to import them.

Note that the AuthorExtensionStateListener is not available in 10.2 
being one of the new 10.3 additions and you will need a development 
snapshot to use that now or you can wait for the 10.3 release.

Best Regards,
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger

Eliot Kimber wrote:
> I may have asked this before I don't remember doing so:
> What would it take to enable Open Toolkit plugins to *automatically*
> contribute Author CSS style sheets?
> I have developed a basic use pattern where I deploy Toolkit plugins for my
> specializations to the Toolkit installed under Oxygen. This makes all the
> DTDs for my specializations immediately available to Oxygen, which is about
> as convenient as it's possible for the system to be, given that all the
> default DITA stuff just works.
> But I would also like to be able to contribute Author-mode CSS style sheets
> using the same plugins so that I don't have to manage two different
> deployment and packaging actions.
> It would be nice, for example, to be able to distribute a Zip with Toolkit
> plugins that when others install them under Oxygen, all the Oxygen-specific
> stuff just works, at least CSS style sheets.
> Thanks,
> Eliot
> ----
> Eliot Kimber | Senior Solutions Architect | Really Strategies, Inc.
> email:   <mailto:>
> office: 610.631.6770 | cell: 512.554.9368
> 2570 Boulevard of the Generals | Suite 213 | Audubon, PA 19403
> www.reallysi.com <http://www.reallysi.com>  | http://blog.reallysi.com
> <http://blog.reallysi.com> | www.rsuitecms.com <http://www.rsuitecms.com> 
> _______________________________________________
> oXygen-user mailing list
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user

More information about the oXygen-user mailing list