:: com :: sun :: star :: frame ::

unpublished interface XMenuBarMergingAcceptor
Usage Restrictions
not published
Description
provides functions to set and remove a merged menu bar for inplace editing.
Since
OOo 2.0

Methods' Summary
setMergedMenuBar allows to set a merged menu bar.  
removeMergedMenuBar removes a previously set merged menu bar and sets a previously created menu bar back.  
Methods' Details
setMergedMenuBar
boolean
setMergedMenuBar( [in] ::com::sun::star::container::XIndexAccess  xMergedMenuBar );

Description
allows to set a merged menu bar.
Parameter xMergedMenuBar
specifies the merged menu bar.

This function is normally used to provide inplace editing where functions from two application parts, container application and embedded object, are available to the user simultaneously. A menu bar which is set by this method has a higher priority than others created by XLayoutManager interface. Settings of a merged menu bar cannot be retrieved.

See also
::com::sun::star::ui::UIElementSettings, XDispatchProvider, XLayoutManager
removeMergedMenuBar
void
removeMergedMenuBar();

Description
removes a previously set merged menu bar and sets a previously created menu bar back.
Top of Page