1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23#ifndef __com_sun_star_embed_EmbedMisc_idl__ 24#define __com_sun_star_embed_EmbedMisc_idl__ 25 26 27//============================================================================ 28 29module com { module sun { module star { module embed { 30 31//============================================================================ 32/** The constant set contains flags describing miscellaneous charactetistics 33 of embedded objects. 34 35 <p> 36 The constant values can be combined with 'or' operation. 37 The first 32 bits are reserved for MS values, they are added because 38 this API is going to be used to embed MS OLE objects into OpenOffice documents, 39 so there should be a possibility to transfer all the possible MS flags 40 to container. In case own specific values should be added those bits can 41 not be used. 42 </p> 43 44 @see XEmbeddedObject 45*/ 46published constants EmbedMisc 47{ 48 // analog of the MS OLEMISC enum 49 50 // ---------------------------------------------------------------------- 51 /** means that the object wish to regenerate view representation if it's 52 view in the container is resized. 53 */ 54 const hyper MS_EMBED_RECOMPOSEONRESIZE = 1; 55 56 // ---------------------------------------------------------------------- 57 /** The object has no view representation except icon. 58 */ 59 const hyper MS_EMBED_ONLYICONIC = 2; 60 61 // ---------------------------------------------------------------------- 62 /** If the object is generated from a selection, the selection should not 63 be removed, the object should be inserted beside the selection. 64 */ 65 const hyper MS_EMBED_INSERTNOTREPLACE = 4; 66 67 // ---------------------------------------------------------------------- 68 /** The object is a static object that contains only representation. 69 */ 70 const hyper MS_EMBED_STATIC = 8; 71 72 // ---------------------------------------------------------------------- 73 /** 74 */ 75 const hyper MS_EMBED_CANTLINKINSIDE = 16; 76 77 // ---------------------------------------------------------------------- 78 /** 79 */ 80 const hyper MS_EMBED_CANLINKBYOLE1 = 32; 81 82 // ---------------------------------------------------------------------- 83 /** 84 */ 85 const hyper MS_EMBED_ISLINKOBJECT = 64; 86 87 // ---------------------------------------------------------------------- 88 /** 89 */ 90 const hyper MS_EMBED_INSIDEOUT = 128; 91 92 // ---------------------------------------------------------------------- 93 /** 94 */ 95 const hyper MS_EMBED_ACTIVATEWHENVISIBLE = 256; 96 97 // ---------------------------------------------------------------------- 98 /** 99 */ 100 const hyper MS_EMBED_RENDERINGISDEVICEINDEPENDENT = 512; 101 102 // ---------------------------------------------------------------------- 103 /** 104 */ 105 const hyper MS_EMBED_INVISIBLEATRUNTIME = 1024; 106 107 // ---------------------------------------------------------------------- 108 /** 109 */ 110 const hyper MS_EMBED_ALWAYSRUN = 2048; 111 112 // ---------------------------------------------------------------------- 113 /** 114 */ 115 const hyper MS_EMBED_ACTSLIKEBUTTON = 4096; 116 117 // ---------------------------------------------------------------------- 118 /** 119 */ 120 const hyper MS_EMBED_ACTSLIKELABEL = 8192; 121 122 // ---------------------------------------------------------------------- 123 /** 124 */ 125 const hyper MS_EMBED_NOUIACTIVATE = 16384; 126 127 // ---------------------------------------------------------------------- 128 /** 129 */ 130 const hyper MS_EMBED_ALIGNABLE = 32768; 131 132 // ---------------------------------------------------------------------- 133 /** 134 */ 135 const hyper MS_EMBED_SIMPLEFRAME = 65536; 136 137 // ---------------------------------------------------------------------- 138 /** 139 */ 140 const hyper MS_EMBED_SETCLIENTSITEFIRST = 131072; 141 142 // ---------------------------------------------------------------------- 143 /** 144 */ 145 const hyper MS_EMBED_IMEMODE = 262144; 146 147 // ---------------------------------------------------------------------- 148 /** 149 */ 150 const hyper MS_EMBED_IGNOREACTIVATEWHENVISIBLE = 524288; 151 152 // ---------------------------------------------------------------------- 153 /** 154 */ 155 const hyper MS_EMBED_WANTSTOMENUMERGE = 1048576; 156 157 // ---------------------------------------------------------------------- 158 /** 159 */ 160 const hyper MS_EMBED_SUPPORTSMULTILEVELUNDO = 2097152; 161 162 // ---------------------------------------------------------------------- 163 /** 164 */ 165 const hyper EMBED_ACTIVATEIMMEDIATELY = 0x100000000; 166 167 // ---------------------------------------------------------------------- 168 /** 169 */ 170 const hyper EMBED_NEVERRESIZE = 0x200000000; 171 172 // ---------------------------------------------------------------------- 173 /** The object needs the size to be provided from the container after 174 it is loaded to function in optimal way. 175 */ 176 const hyper EMBED_NEEDSSIZEONLOAD = 0x400000000; 177 178}; 179 180//============================================================================= 181 182}; }; }; }; 183 184#endif 185