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 | |
Public Member Functions inherited from XNameAccess | |
any | getByName ([in] string aName) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
sequence< string > | getElementNames () |
boolean | hasByName ([in] string aName) |
Public Member Functions inherited from XElementAccess | |
type | getElementType () |
boolean | hasElements () |
Public Member Functions inherited from XInterface | |
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... | |
Public Member Functions inherited from XNameContainer | |
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... | |
Public Member Functions inherited from XNameReplace | |
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... | |
Public Member Functions inherited from XIndexAccess | |
long | getCount () |
any | getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
Public Member Functions inherited from XEnumerationAccess | |
com::sun::star::container::XEnumeration | createEnumeration () |
Protected Member Functions inherited from XRefreshable | |
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... | |
Protected Member Functions inherited from XSingleServiceFactory | |
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.