1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: EmbedMisc.idl,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef __com_sun_star_embed_EmbedMisc_idl__
31 #define __com_sun_star_embed_EmbedMisc_idl__
34 //============================================================================
36 module com
{ module sun
{ module star
{ module embed
{
38 //============================================================================
39 /** The constant set contains flags describing miscellaneous charactetistics
43 The constant values can be combined with 'or' operation.
44 The first 32 bits are reserved for MS values, they are added because
45 this API is going to be used to embed MS OLE objects into OOo documents,
46 so there should be a possibility to transfer all the possible MS flags
47 to container. In case own specific values should be added those bits can
55 // analog of the MS OLEMISC enum
57 // ----------------------------------------------------------------------
58 /** means that the object wish to regenerate view representation if it's
59 view in the container is resized.
61 const hyper MS_EMBED_RECOMPOSEONRESIZE
= 1;
63 // ----------------------------------------------------------------------
64 /** The object has no view representation except icon.
66 const hyper MS_EMBED_ONLYICONIC
= 2;
68 // ----------------------------------------------------------------------
69 /** If the object is generated from a selection, the selection should not
70 be removed, the object should be inserted beside the selection.
72 const hyper MS_EMBED_INSERTNOTREPLACE
= 4;
74 // ----------------------------------------------------------------------
75 /** The object is a static object that contains only representation.
77 const hyper MS_EMBED_STATIC
= 8;
79 // ----------------------------------------------------------------------
82 const hyper MS_EMBED_CANTLINKINSIDE
= 16;
84 // ----------------------------------------------------------------------
87 const hyper MS_EMBED_CANLINKBYOLE1
= 32;
89 // ----------------------------------------------------------------------
92 const hyper MS_EMBED_ISLINKOBJECT
= 64;
94 // ----------------------------------------------------------------------
97 const hyper MS_EMBED_INSIDEOUT
= 128;
99 // ----------------------------------------------------------------------
102 const hyper MS_EMBED_ACTIVATEWHENVISIBLE
= 256;
104 // ----------------------------------------------------------------------
107 const hyper MS_EMBED_RENDERINGISDEVICEINDEPENDENT
= 512;
109 // ----------------------------------------------------------------------
112 const hyper MS_EMBED_INVISIBLEATRUNTIME
= 1024;
114 // ----------------------------------------------------------------------
117 const hyper MS_EMBED_ALWAYSRUN
= 2048;
119 // ----------------------------------------------------------------------
122 const hyper MS_EMBED_ACTSLIKEBUTTON
= 4096;
124 // ----------------------------------------------------------------------
127 const hyper MS_EMBED_ACTSLIKELABEL
= 8192;
129 // ----------------------------------------------------------------------
132 const hyper MS_EMBED_NOUIACTIVATE
= 16384;
134 // ----------------------------------------------------------------------
137 const hyper MS_EMBED_ALIGNABLE
= 32768;
139 // ----------------------------------------------------------------------
142 const hyper MS_EMBED_SIMPLEFRAME
= 65536;
144 // ----------------------------------------------------------------------
147 const hyper MS_EMBED_SETCLIENTSITEFIRST
= 131072;
149 // ----------------------------------------------------------------------
152 const hyper MS_EMBED_IMEMODE
= 262144;
154 // ----------------------------------------------------------------------
157 const hyper MS_EMBED_IGNOREACTIVATEWHENVISIBLE
= 524288;
159 // ----------------------------------------------------------------------
162 const hyper MS_EMBED_WANTSTOMENUMERGE
= 1048576;
164 // ----------------------------------------------------------------------
167 const hyper MS_EMBED_SUPPORTSMULTILEVELUNDO
= 2097152;
169 // ----------------------------------------------------------------------
172 const hyper EMBED_ACTIVATEIMMEDIATELY
= 0x100000000;
174 // ----------------------------------------------------------------------
177 const hyper EMBED_NEVERRESIZE
= 0x200000000;
179 // ----------------------------------------------------------------------
180 /** The object needs the size to be provided from the container after
181 it is loaded to function in optimal way.
183 const hyper EMBED_NEEDSSIZEONLOAD
= 0x400000000;
187 //=============================================================================