Re: [dba-dev] UnoComponent: invoking from form control

2010-05-07 Thread Peter Eberlein


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



Re: [dba-dev] UnoComponent: invoking from form control

2010-05-06 Thread Fernand Vanrie

Peter ,

The evenst are there and they Works fine for me on Windows ?

They are there not working  GridControllcolumns  only on the  
gridcontroll itself


Fernand

Hi,

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)


Regards

Peter


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



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



Re: [dba-dev] UnoComponent: invoking from form control

2010-05-06 Thread 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?

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer frank.schoenh...@sun.com -
- Sun Microsystems  http://www.sun.com/staroffice -
- OpenOffice.org Impress   http://graphics.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- Sitz der Gesellschaft:  -
- Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten -
- Amtsgericht München: HRB 161028 -
- Geschäftsführer: Jürgen Kunz-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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