LibreOffice
LibreOffice 24.8 SDK API Reference
|
This interface allows to access and change contents of OLE storages. More...
import <XOLESimpleStorage.idl;
Exported Interfaces | |
interface | ::com::sun::star::container::XNameContainer |
interface XNameContainer is the generic interface for supporting the insertion and removal of named elements. | |
interface | ::com::sun::star::lang::XComponent |
interface XComponent allows to explicitly free resources and break cyclic references. | |
interface | XTransactedObject |
interface XTransactedObject allows transacted access to an object. | |
interface | XClassifiedObject |
interface XClassifiedObject represents common functionality for embedded objects | |
Additional Inherited Members | |
![]() | |
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. | |
void | removeByName ([in] string Name) raises ( com::sun::star::container::NoSuchElementException, com::sun::star::lang::WrappedTargetException ) |
removes the element with the specified name. | |
![]() | |
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. | |
![]() | |
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. | |
void | acquire () |
increases the reference counter by one. | |
void | release () |
decreases the reference counter by one. | |
![]() | |
void | dispose () |
The owner of an object calls this method to explicitly free all resources kept by this object and thus break cyclic references. | |
void | addEventListener ([in] XEventListener xListener) |
adds an event listener to the object. | |
void | removeEventListener ([in] XEventListener aListener) |
removes an event listener from the listener list. | |
![]() | |
void | commit () raises ( ::com::sun::star::io::IOException, ::com::sun::star::lang::WrappedTargetException ) |
commits the changes made for object. | |
void | revert () raises ( ::com::sun::star::io::IOException, ::com::sun::star::lang::WrappedTargetException ) |
removes all the changes made for the object after last commit or loading. | |
![]() | |
sequence< byte > | getClassID () |
retrieves class ID of the object. | |
string | getClassName () |
retrieves symbolic name for the object type to be used in UI. | |
void | setClassInfo ([in] sequence< byte > aClassID, [in] string sClassName) raises ( ::com::sun::star::lang::NoSupportException ) |
sets the class ID and symbolic name to an object. | |
This interface allows to access and change contents of OLE storages.
This is a simple container allowing the access to OLE storages. The subcomponents are either OLE storages themselves or streams.
interface XNameContainer is the generic interface for supporting the insertion and removal of named elements.
The access to the elements is provided though XNameContainer methods.
interface ::com::sun::star::lang::XComponent |
interface XComponent allows to explicitly free resources and break cyclic references.
interface XClassifiedObject |
interface XClassifiedObject represents common functionality for embedded objects
the XClassifiedObject interface allows to set/get the ClassID of the storage.
interface XTransactedObject |
interface XTransactedObject allows transacted access to an object.
The storages are always opened in transacted mode, the XTransactedObject interface allows to commit the storage.