about adding custom toolbar in the applet

Are you missing a feature? Request its implementation here.
atl_kev
Posts: 2
Joined: Thu Feb 02, 2012 7:17 pm

about adding custom toolbar in the applet

Post by atl_kev »

Hi,

Is there any document and sample code to guide and demonstrate us how to add a custom toolbar to the applet-based oXygen editor?

Thanks,
Kevin
mihaela
Posts: 490
Joined: Wed May 20, 2009 2:40 pm

Re: about adding custom toolbar in the applet

Post by mihaela »

Hi,

Here you can find an oXygen sample applet:
http://www.oxygenxml.com/demo/AuthorDem ... -dita.html
that also includes a custom toolbar with actions like cut/copy/paste or undo/redo.

The page contains links to the entire sample source code (http://www.oxygenxml.com/demo/AuthorDem ... sample.zip) that can help you to add your custom toolbar to the Author component.

Best regards,
Mihaela
Mihaela Calotescu
http://www.oxygenxml.com
Radu
Posts: 9057
Joined: Fri Jul 09, 2004 5:18 pm

Re: about adding custom toolbar in the applet

Post by Radu »

Hi Kevin,

So basically you can either implement the toolbar using standard HTML form buttons and then call Author Component API using JavaScript or implement the toolbar as a Java toolbar inside the Author Component Applet.
The sample applet project for which Mihaela already sent the links contains both approaches.

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