Page 1 of 1
about adding custom toolbar in the applet
Posted: Mon Apr 16, 2012 6:18 pm
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
Re: about adding custom toolbar in the applet
Posted: Tue Apr 17, 2012 12:28 pm
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
Re: about adding custom toolbar in the applet
Posted: Mon Apr 30, 2012 2:28 pm
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