Carsten Driesner
Zhang Xiaofei wrote:
Hi Carsten and all,
A colleague of mine who develops extensions, met a problem he cannot
explain. And I'd like to ask for help on his behalf.
As in the source file in attachment, he was trying to implement a
::com::sun::star::task::Job component and make it respond to OnFocus
event, when the current document is activated. In a case where user
switches from an OOo window A to another OOo window B, OnFocus should
call com.sun.star.task.XJob:execute(). However, he found that the
XFrame returned by xDesktop->getCurrentFrame() (Line 186) seems to be
the frame of A's rather than B's as he expected. He would like to
know if this is a right behavior of OOo and the solution to achieve
his goal.
Could you please help to check his code and share your suggestions?
Hi Felix,
We will have a look at the code and give you feedback as soon as
possible. Currently we are quite busy, so please give us some time to
evaluate the problem.
Hi Carsten,
Of course, thank you very much and we will wait for your answer. :-)
Best Regards,
Felix.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]