Andre Fischer a écrit :

Hi Gerard,

I have good and bad news.

The bad news is that

a) the DrawingDocumentDrawView has indeed changed its XWindow interface to optional in version 1.7 of the DrawingDocumentView.idl on 2002/12/03,

b) the DrawController that implements this service dropped the support for the XWindow interface in version 1.17 of sd/source/ui/view/DrawController.cxx on 2006/03/21,

c) there is currently no good way to obtain a reference to the Draw or Impress document window.


The reason for b) was the introduction of the slide sorter pane and task pane and the necessary reorganization of the underlying framework. One result was that the document window is exchanged (almost) every time the user switches to another view and a large part of the DrawController implementation is exchanged as well. All in all it was difficult to provide at all times the correct XWindow reference and deal with the problem that references to XWindows can be kept after the underlying window has already been destroyed.



The good news is that that change was just the first step. I am currently finishing a child work space that will provide a Draw and Impress specific framework that will provide easy access to the windows of all panes. With this it will be very easy for you to obtain a reference to the document window of the center pane and register as MouseMotionListener. It will be hopefully just a matter of a few weeks until the child work space will be integrated.



I hope this helps and am sorry for the inconvenience,

Andre


Hi Andre,

I tried again to use MouseMotionListener with OO.o 2.1 but it still doesn't work. Is there any news about solving this problem.

--
gerard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to