LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows to initialize document with a storage, to store document to a storage, and to set document to be based on provided storage. More...
allows to initialize document with a storage, to store document to a storage, and to set document to be based on provided storage.
void addStorageChangeListener | ( | [in] XStorageChangeListener | xListener | ) |
allows to register a listener that will be notified when another storage is set to the document.
::com::sun::star::embed::XStorage getDocumentStorage | ( | ) | ||
raises | ( | ::com::sun::star::io::IOException, | ||
::com::sun::star::uno::Exception | ||||
) |
allows to get the storage the document is based on.
void loadFromStorage | ( | [in] ::com::sun::star::embed::XStorage | xStorage, |
[in] sequence< ::com::sun::star::beans::PropertyValue > | aMediaDescriptor | ||
) | |||
raises | ( | ::com::sun::star::lang::IllegalArgumentException, | |
::com::sun::star::frame::DoubleInitializationException, | |||
::com::sun::star::io::IOException, | |||
::com::sun::star::uno::Exception | |||
) |
lets the document load itself using provided storage.
void removeStorageChangeListener | ( | [in] XStorageChangeListener | xListener | ) |
allows to deregister the listener.
void storeToStorage | ( | [in] ::com::sun::star::embed::XStorage | xStorage, |
[in] sequence< ::com::sun::star::beans::PropertyValue > | aMediaDescriptor | ||
) | |||
raises | ( | ::com::sun::star::lang::IllegalArgumentException, | |
::com::sun::star::io::IOException, | |||
::com::sun::star::uno::Exception | |||
) |
lets the document store itself to the provided storage.
void switchToStorage | ( | [in] ::com::sun::star::embed::XStorage | xStorage | ) | |
raises | ( | ::com::sun::star::lang::IllegalArgumentException, | |||
::com::sun::star::io::IOException, | |||||
::com::sun::star::uno::Exception | |||||
) |
allows to switch the document to the provided storage.