namespace com::sun::star::awt { class XPopupMenu; } namespace com::sun::star::container { class XIndexContainer; }
namespace framework
{ class UNLESS_MERGELIBS_MORE(FWK_DLLPUBLIC) ActionTriggerHelper
{ public: // Fills the submitted menu with the structure contained in the second // parameter rActionTriggerContainer // @param pNewMenu = must be a valid and empty menu // @param rActionTriggerContainer = must be an instance of service "com.sun.star.ui.ActionTriggerContainer" staticvoid
CreateMenuFromActionTriggerContainer( const css::uno::Reference<css::awt::XPopupMenu>& rNewMenu, const css::uno::Reference<css::container::XIndexContainer>& rActionTriggerContainer);
// Creates a "css::ui::ActionTriggerContainer" with the structure of the menu // provided as a parameter. The implementation class stores the menu pointer // to optimize the time of creation of a menu from an actiontrigger structure. // IMPORTANT: The caller must ensure that the menu pointer is valid through the // life time of the XIndexContainer object!!! // @param rMenu = Must be a valid menu. Please be aware that this implementation is based on // the above mentioned restriction!!!
// Fills the submitted rActionTriggerContainer with the structure of the menu // provided as the second parameter // @param rActionTriggerContainer = must be an instance of service "com.sun.star.ui.ActionTriggerContainer" // @param rMenu = must be a valid menu staticvoid
FillActionTriggerContainerFromMenu(
css::uno::Reference< css::container::XIndexContainer > const & rActionTriggerContainer, const css::uno::Reference<css::awt::XPopupMenu>& rMenu);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.