/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ #ifndef __com_sun_star_embed_EmbeddedObjectDescriptor_idl__ #define __com_sun_star_embed_EmbeddedObjectDescriptor_idl__ #ifndef __com_sun_star_io_XInputStream_idl__ #include #endif #ifndef __com_sun_star_awt_Rectangle_idl__ #include #endif #ifndef __com_sun_star_util_URL_idl__ #include #endif #ifndef __com_sun_star_task_XInteractionHandler_idl__ #include #endif #ifndef __com_sun_star_task_XStatusIndicator_idl__ #include #endif #ifndef __com_sun_star_frame_XDispatchProviderInterceptor_idl__ #include #endif #include //============================================================================ module com { module sun { module star { module embed { //============================================================================ /** describes properties of an embedded object

This service may be represented by a PropertyValue. Such descriptors will be passed to different functions, included into possible load/save proccesses. Every member of such process can use this descriptor and may change it to actualize the informations about the object. So this descriptor should be used as an in/out parameter.

@see com::sun::star::beans::PropertyValue */ published service EmbeddedObjectDescriptor { //------------------------------------------------------------------------ /** lets the graphical representation of embedded document be stored.

Setting of this property to true tells the embedded object that controlls the document to store or not to store the graphical representation of the document in to the object persistence. If this property is not set the object makes the decision itself.

*/ [optional,property] boolean StoreVisualReplacement; //------------------------------------------------------------------------ /** allows to provide a dispatch interceptor for outplace activation. */ [optional,property] ::com::sun::star::frame::XDispatchProviderInterceptor OutplaceDispatchInterceptor; /** denotes the storage from which the embedded object is to be recovered.

Upon activating the embedded object, it is normally loaded from a storage as denoted by the parameters to the XEmbedObjectCreator method calls.

You can pass a non- RecoveryStorage in the object descriptor if you wish to load the embedded object from an alternate storage.

The object will still be based on the storage denoted in the XEmbedObjectCreator method call, i.e., subsequent save operations will still use that storage. RecoveryStorage is used at loading time only, and then discarded.

*/ [optional, property] XStorage RecoveryStorage; }; //============================================================================ }; }; }; }; #endif