specifies common implementation for embedded objects and links persistence. More...
import "XCommonEmbedPersist.idl";
Public Member Functions | |
void | storeOwn () raises ( ::com::sun::star::embed::WrongStateException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception ) |
lets the object or the link store itself. | |
boolean | isReadonly () raises ( ::com::sun::star::embed::WrongStateException ) |
allows to detect if the data store is read-only. | |
void | reload ([in] sequence< ::com::sun::star::beans::PropertyValue > aMediaArgs, [in] sequence< ::com::sun::star::beans::PropertyValue > aObjectArgs) raises ( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::embed::WrongStateException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception ) |
lets the object or the link reload itself. | |
![]() | |
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. | |
specifies common implementation for embedded objects and links persistence.
boolean isReadonly | ( | ) | ||||
raises | ( | ::com::sun::star::embed::WrongStateException ) |
allows to detect if the data store is read-only.
TRUE
if the data store is readonly or opened readonly FALSE
otherwisecom::sun::star::embed::WrongStateException | the object is in wrong state ( has no entry ) |
void reload | ( | [in] sequence< ::com::sun::star::beans::PropertyValue > | aMediaArgs, | |||
[in] sequence< ::com::sun::star::beans::PropertyValue > | aObjectArgs ) | |||||
raises | ( | ::com::sun::star::lang::IllegalArgumentException, | ||||
::com::sun::star::embed::WrongStateException, | ||||||
::com::sun::star::io::IOException, | ||||||
::com::sun::star::uno::Exception ) |
lets the object or the link reload itself.
If the object has persistence it will be reloaded from its persistent entry.
aMediaArgs | optional parameters for document reloading, see also com::sun::star::document::MediaDescriptor |
aObjectArgs | optional parameters for object reloading, see also com::sun::star::embed::EmbeddedObjectDescriptor |
com::sun::star::lang::IllegalArgumentException | one of arguments is illegal |
com::sun::star::embed::WrongStateException | the object is in wrong state |
com::sun::star::io::IOException | in case of io problems during opening or creation |
com::sun::star::uno::Exception | in case of other problems |
void storeOwn | ( | ) | ||||
raises | ( | ::com::sun::star::embed::WrongStateException, | ||||
::com::sun::star::io::IOException, | ||||||
::com::sun::star::uno::Exception ) |
lets the object or the link store itself.
com::sun::star::embed::WrongStateException | the object is in wrong state |
com::sun::star::io::IOException | in case of io problems during saving |
com::sun::star::uno::Exception | in case of other problems |