Hello allirpa, On Monday 02 March 2009, 23:06, allirpa wrote: > is there even a way on how to convert an applet to be able to insert it to > an open office document? > here's the scenario: I have an addon button in open office writer that > opens an applet when clicked. > when I close the button, the graphics rendered in the applet must be > transferred to the document. > is this possible?
not sure if I understood you, but: a. support for applets inside OOo documents does no longer exist in OOo 3 b. what you seem to want to do can be done with an embedded object, when the object isn't active, in the document the user sees its graphic replacement. There is a nice example in the SDK (there is also a NetBeans project out of it, which is ready to debug http://api.openoffice.org/source/browse/api/examples/java/netbeans/Components/EmbeddedObject/ You can get the NB project via cvs: ~]$ export 'CVSROOT=:pserver:[email protected]:/cvs' ~]$ cvs login Logging in to :pserver:[email protected]:2401/cvs CVS password: anoncvs ~]$ cvs co -r HEAD examples/java/netbeans/Components/EmbeddedObject ) Regards -- Ariel Constenla-Haile La Plata, Argentina "Aus der Kriegsschule des Lebens - Was mich nicht umbringt, macht mich härter." Nietzsche Götzendämmerung, Sprüche und Pfeile, 8. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
