Hi Frank,
Am 06.05.2010 21:46, schrieb Frank Schoenheit, Sun Microsystems Germany:
Hi Peter,

in Uno dialogs you can bind an event to a dialog control: either a macro
or a method of a uno component.

In form controls I'm missing the latter. Any hints? (hoping Frank is
reading here yet)

I can't remember ... that's so long ago ... :-P

No, this doesn't work for form controls, they basically accept the
script URL you attach to an event to the scripting framework. The
feature of calling methods of an UNO component has, sadly, been
implemented bypassing the scripting framework, so this doesn't work for
form controls.

However, it should be easy to embed a macro in the document which does
nothing but instantiating a service and calling a method, shouldn't it?

yes, but first we didn't allow macros in documents for security reasons at all and second we are you using Java and Java-Macros are somewhat mmh, tricky (remember the parcel-descriptor stuff).
But, sigh, if it's the only solution...

All my best wishes for you in the new team.


Regards

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@dba.openoffice.org
For additional commands, e-mail: dev-h...@dba.openoffice.org

Reply via email to