LibreOffice
LibreOffice 24.2 SDK API Reference
|
describes a container which provides access to database related definitions like commands, forms, and reports. More...
import"DefinitionContainer.idl";
Exported Interfaces | |
interface | com::sun::star::container::XNameAccess |
interface | com::sun::star::container::XNameContainer |
interface | com::sun::star::container::XIndexAccess |
interface | com::sun::star::container::XEnumerationAccess |
interface | com::sun::star::util::XRefreshable |
is used to refresh the container, to reflect changes in the underlying database. More... | |
interface | com::sun::star::lang::XSingleServiceFactory |
can be used to create container elements. More... | |
Additional Inherited Members | |
![]() | |
any | getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
sequence< string > | getElementNames () |
boolean | hasByName ([in] string aName) |
![]() | |
type | getElementType () |
boolean | hasElements () |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
![]() | |
void | insertByName ([in] string aName, [in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::ElementExistException, com::sun::star::lang::WrappedTargetException ) |
inserts the given element at the specified name. More... | |
void | removeByName ([in] string Name) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
removes the element with the specified name. More... | |
![]() | |
void | replaceByName ([in] string aName, [in] any aElement) raises ( com::sun::star::lang::IllegalArgumentException, com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
replaces the element with the specified name with the given element. More... | |
![]() | |
long | getCount () |
any | getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
![]() | |
com::sun::star::container::XEnumeration | createEnumeration () |
![]() | |
void | refresh () |
refreshes the data of the object from the connected data source. More... | |
void | addRefreshListener ([in] com::sun::star::util::XRefreshListener l) |
adds the specified listener to receive the event "refreshed." More... | |
void | removeRefreshListener ([in] com::sun::star::util::XRefreshListener l) |
removes the specified listener. More... | |
![]() | |
com::sun::star::uno::XInterface | createInstance () raises ( com::sun::star::uno::Exception ) |
Creates an instance of a service implementation. More... | |
com::sun::star::uno::XInterface | createInstanceWithArguments ([in] sequence< any > aArguments) raises ( com::sun::star::uno::Exception ) |
Creates an instance of a service implementation initialized with some arguments. More... | |
describes a container which provides access to database related definitions like commands, forms, and reports.
The container supports access to its elements by the elements name or by the elements position.
Simple enumeration must be supported as well.
To reflect the changes with the underlying database, a refresh mechanism needs to be supported.
interface com::sun::star::container::XIndexAccess |
interface com::sun::star::container::XNameAccess |
|
optional |
can be used to create container elements.
If this interface is supported, the object created using it (e.g., the object returned by com.sun.star.lang::XSingleServiceFactory::createInstance() ) can be used as container elements.
|
optional |
is used to refresh the container, to reflect changes in the underlying database.