Hi Carsten,

at the moment I am implementing you solution:

> Solution: You have to implement a
> com.sun.star.frame.XFrameActionListener which must be registered at the
> frame. Whenever you receive the event FrameAction_COMPONENT_ATTACHED you
> have to make the transient changes again.

Changing to Page view mode gives me the following actions:
COMPONENT_DETACHING
COMPONENT_REATTACHED
CONTEXT_CHANGED

Changing back these actions:
CONTEXT_CHANGED
COMPONENT_DETACHING
COMPONENT_REATTACHED

I think the COMPONENT_REATTACHED is the proper place to change the menus
again.

> Please be aware that the frame
> can be recycled and another document (even from another application
> module) can be associated with the frame. So you should verify that you
> want to make changes to this frame.

Is this still necessary, if the component is just reattached? If yes,
how can I verify that this is the proper frame?

Greetings, Tobias

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

Reply via email to