Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: embed ::
interface XCommonEmbedPersist
Description specifies common implementation for embedded objects and links persistence.

Methods' Summary
storeOwn | lets the object or the link store itself.
isReadonly | allows to detect if the data store is read-only.
reload | lets the object or the link reload itself.

Methods' Details
storeOwn
void
storeOwn()
raises( | WrongStateException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception );
Description lets the object or the link store itself. Throws com::sun::star::embed::WrongStateException the object is in wrong state Throws com::sun::star::io::IOException in case of io problems during saving Throws com::sun::star::uno::Exception in case of other problems
isReadonly
boolean
isReadonly()
raises( | WrongStateException );
Description allows to detect if the data store is read-only. Returns true if the data store is readonly or opened readonly false otherwise Throws com::sun::star::embed::WrongStateException the object is in wrong state ( has no entry )
reload
void
reload( | [in] sequence< ::com::sun::star::beans::PropertyValue > | aMediaArgs,
| [in] sequence< ::com::sun::star::beans::PropertyValue > | aObjectArgs )
raises( | ::com::sun::star::lang::IllegalArgumentException, WrongStateException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception );
Description lets the object or the link reload itself. If the object has persistence it will be reloaded from it's persistent entry. Parameter aMediaArgs optional parameters for document reloading, see also ::com::sun::star::document::MediaDescriptor Parameter aObjectArgs optional parameters for object reloading, see also EmbeddedObjectDescriptor @thrown ::com::sun::star::lang::IllegalArgumentException one of arguments is illegal Throws com::sun::star::embed::WrongStateException the object is in wrong state Throws com::sun::star::io::IOException in case of io problems during opening\creation Throws com::sun::star::uno::Exception in case of other problems

Top of Page

Copyright © 2000, 2014 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.