Hi Andreas,
Andreas Saeger wrote:
Hi Giuseppe
Does your interceptor attach to the new frame when you call
Menu:Window>New Window? This command creates another frame with the same
component. When I tried to implement an interceptor for all
spreadsheet-frames I failed at this point because OnViewCreated is
called *before* .uno:NewWindow actually creates the new view. My
interceptor gets attached to the old frame a second time.
it attaches to the frame when the event OnViewCreated is caught by the
synchronous job installed with the extension.
Then for every call of OnViewCreated instantiates another interceptor,
it doesn't seem to be a problem for me at this time, for my extension
program logic, anyway.
--
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
[EMAIL PROTECTED]
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]