LibreOffice
LibreOffice 4.3 SDK API Reference
|
offers a simple way to initialize a component or load it from an URL. More...
import"XLoadable.idl";
Public Member Functions | |
void | initNew () raises ( DoubleInitializationException, com::sun::star::io::IOException, com::sun::star::uno::Exception ) |
creates a component from scratch More... | |
void | load ([in] sequence< com::sun::star::beans::PropertyValue > lArguments) raises ( DoubleInitializationException, com::sun::star::io::IOException, com::sun::star::uno::Exception ) |
loads a component from an URL More... | |
![]() | |
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... | |
offers a simple way to initialize a component or load it from an URL.
In case an object supports the interface the object must be initialized with either initNew() or load() call before any usage. In case the object is already initialized the mentioned methods should throw DoubleInitializationException.
void initNew | ( | ) | ||
raises | ( | DoubleInitializationException, | ||
com::sun::star::io::IOException, | ||||
com::sun::star::uno::Exception | ||||
) |
creates a component from scratch
void load | ( | [in] sequence< com::sun::star::beans::PropertyValue > | lArguments | ) | |
raises | ( | DoubleInitializationException, | |||
com::sun::star::io::IOException, | |||||
com::sun::star::uno::Exception | |||||
) |
loads a component from an URL
lArguments | parameters for saving (see com::sun::star::document::MediaDescriptor for further details) the FileName parameter must be specified, other parameters are optional |