Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / embed / EmbedMisc.idl
blobf9fb66e555156d31fa5d4a07f14f071609911f1d
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_embed_EmbedMisc_idl__
20 #define __com_sun_star_embed_EmbedMisc_idl__
24 module com { module sun { module star { module embed {
26 /** The constant set contains flags describing miscellaneous characteristics
27 of embedded objects.
29 <p>
30 The constant values can be combined with "or" operation.
31 The first 32 bits are reserved for MS values, they are added because
32 this API is going to be used to embed MS OLE objects into OOo documents,
33 so there should be a possibility to transfer all the possible MS flags
34 to container. In case own specific values should be added those bits can
35 not be used.
36 </p>
38 @see XEmbeddedObject
40 published constants EmbedMisc
42 // analog of the MS OLEMISC enum
44 /** means that the object wish to regenerate view representation if it's
45 view in the container is resized.
47 const hyper MS_EMBED_RECOMPOSEONRESIZE = 1;
49 /** The object has no view representation except icon.
51 const hyper MS_EMBED_ONLYICONIC = 2;
53 /** If the object is generated from a selection, the selection should not
54 be removed, the object should be inserted beside the selection.
56 const hyper MS_EMBED_INSERTNOTREPLACE = 4;
58 /** The object is a static object that contains only representation.
60 const hyper MS_EMBED_STATIC = 8;
62 /**
64 const hyper MS_EMBED_CANTLINKINSIDE = 16;
66 /**
68 const hyper MS_EMBED_CANLINKBYOLE1 = 32;
70 /**
72 const hyper MS_EMBED_ISLINKOBJECT = 64;
74 /**
76 const hyper MS_EMBED_INSIDEOUT = 128;
78 /**
80 const hyper MS_EMBED_ACTIVATEWHENVISIBLE = 256;
82 /**
84 const hyper MS_EMBED_RENDERINGISDEVICEINDEPENDENT = 512;
86 /**
88 const hyper MS_EMBED_INVISIBLEATRUNTIME = 1024;
90 /**
92 const hyper MS_EMBED_ALWAYSRUN = 2048;
94 /**
96 const hyper MS_EMBED_ACTSLIKEBUTTON = 4096;
98 /**
100 const hyper MS_EMBED_ACTSLIKELABEL = 8192;
104 const hyper MS_EMBED_NOUIACTIVATE = 16384;
108 const hyper MS_EMBED_ALIGNABLE = 32768;
112 const hyper MS_EMBED_SIMPLEFRAME = 65536;
116 const hyper MS_EMBED_SETCLIENTSITEFIRST = 131072;
120 const hyper MS_EMBED_IMEMODE = 262144;
124 const hyper MS_EMBED_IGNOREACTIVATEWHENVISIBLE = 524288;
128 const hyper MS_EMBED_WANTSTOMENUMERGE = 1048576;
132 const hyper MS_EMBED_SUPPORTSMULTILEVELUNDO = 2097152;
136 const hyper EMBED_ACTIVATEIMMEDIATELY = 0x100000000;
140 const hyper EMBED_NEVERRESIZE = 0x200000000;
142 /** The object needs the size to be provided from the container after
143 it is loaded to function in optimal way.
145 const hyper EMBED_NEEDSSIZEONLOAD = 0x400000000;
150 }; }; }; };
152 #endif
154 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */