LibreOffice
LibreOffice 5.0 SDK API Reference
|
describes a container of user actions. More...
import "ActionTriggerContainer.idl";
Exported Interfaces | |
interface | ::com::sun::star::container::XIndexContainer |
provides access to the entries of a menu. More... | |
interface | ::com::sun::star::lang::XMultiServiceFactory |
creates elements to be inserted into the container. More... | |
interface | ::com::sun::star::container::XEnumerationAccess |
allows to enumerate the elements of the container More... | |
interface | ::com::sun::star::container::XContainer |
allows foreign components to register themselves as listener for the container structure. More... | |
Additional Inherited Members | |
![]() | |
void | insertByIndex ([in] long Index,[in] any Element) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
inserts the given element at the specified index. More... | |
void | removeByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
removes the element at the specified index. More... | |
![]() | |
com::sun::star::uno::XInterface | createInstance ([in] string aServiceSpecifier) raises ( com::sun::star::uno::Exception ) |
Creates an instance classified by the specified name. More... | |
com::sun::star::uno::XInterface | createInstanceWithArguments ([in] string ServiceSpecifier,[in] sequence< any > Arguments) raises ( com::sun::star::uno::Exception ) |
Creates an instance classified by the specified name and passes the arguments to that instance. More... | |
sequence< string > | getAvailableServiceNames () |
Provides the available names of the factory to be used to create instances. More... | |
![]() | |
com::sun::star::container::XEnumeration | createEnumeration () |
![]() | |
void | addContainerListener ([in] com::sun::star::container::XContainerListener xListener) |
adds the specified listener to receive events when elements are inserted or removed. More... | |
void | removeContainerListener ([in] com::sun::star::container::XContainerListener xListener) |
removes the specified listener so it does not receive any events from this container. More... | |
describes a container of user actions.
No assumption is made about any graphical representation: You could have a menu or a toolbox working with the same container describing their entries.
Possible elements of the ActionTriggerContainer are
|
optional |
allows foreign components to register themselves as listener for the container structure.
|
optional |
allows to enumerate the elements of the container
interface ::com::sun::star::container::XIndexContainer |
provides access to the entries of a menu.
The element type is com::sun::star::beans::XPropertySet. The property set contains attributes like CommandURL, HelpURL as defined in the service com::sun::star::ui::ActionTrigger and optional a com::sun::star::ui::ActionTriggerContainer.
interface ::com::sun::star::lang::XMultiServiceFactory |
creates elements to be inserted into the container.
Usually, the XMultiServiceFactory::getSupportedServiceNames() gives you a ActionTrigger and optionally ActionTriggerContainer and ActionTriggerSeparator
.