Paolo Mantovani wrote:

> Hi Cor, Carsten,
> 
> 
> Carsten Driesner ha scritto:
>> Cor Nouws wrote:
>>> Hi,
>>>
>>> From some threads in the mail archive, I reed it is possible to
>>> replace a uno function by one you define yourself.
>>> But the example(s) I find are about a component written in Java.
>>> Is it possible to do replace UNO:Paste also in OOo-Basic?
>>>
>>> I think that the devGuide [1] shows the theory, but that is not the
>>> same as usable basic code for me ;-)
>>>
>> Hi Cor,
>> 
>> Theoretically this could be possible but needs huge effort. Andreas
>> Schluens told me that some people tried it
> 
> Perhaps that people are me :-)
> 
> 
>> but nobody has ever achieved
>> a positive result yet. 
> 
> It depends. My attempt works well but Andreas said:
> 
> a)
> Method createUnoListener() was not thought to be used that way. [...]
> 
> b)
> On the other side I believe you can run into trouble with lifetime of
> your basic objects.[...]

Yes, exactly this doesn't make that a reliable way and it lets me
discourage everybody to do it.

Perhaps we should again think about the "macro bound" dispatch objects?

Regards,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to "[email protected]".
I use it for the OOo lists and only rarely read other mails sent to it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to