Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: embed ::

constants group EmbedMisc
Description
The constant set contains flags describing miscellaneous charactetistics of embedded objects.

The constant values can be combined with 'or' operation. The first 32 bits are reserved for MS values, they are added because this API is going to be used to embed MS OLE objects into OOo documents, so there should be a possibility to transfer all the possible MS flags to container. In case own specific values should be added those bits can not be used.

See also
XEmbeddedObject

Constants
MS_EMBED_RECOMPOSEONRESIZE means that the object wish to regenerate view representation if it's view in the container is resized.  
MS_EMBED_ONLYICONIC The object has no view representation except icon.  
MS_EMBED_INSERTNOTREPLACE If the object is generated from a selection, the selection should not be removed, the object should be inserted beside the selection.  
MS_EMBED_STATIC The object is a static object that contains only representation.  
MS_EMBED_CANTLINKINSIDE  
MS_EMBED_CANLINKBYOLE1  
MS_EMBED_ISLINKOBJECT  
MS_EMBED_INSIDEOUT  
MS_EMBED_ACTIVATEWHENVISIBLE  
MS_EMBED_RENDERINGISDEVICEINDEPENDENT  
MS_EMBED_INVISIBLEATRUNTIME  
MS_EMBED_ALWAYSRUN  
MS_EMBED_ACTSLIKEBUTTON  
MS_EMBED_ACTSLIKELABEL  
MS_EMBED_NOUIACTIVATE  
MS_EMBED_ALIGNABLE  
MS_EMBED_SIMPLEFRAME  
MS_EMBED_SETCLIENTSITEFIRST  
MS_EMBED_IMEMODE  
MS_EMBED_IGNOREACTIVATEWHENVISIBLE  
MS_EMBED_WANTSTOMENUMERGE  
MS_EMBED_SUPPORTSMULTILEVELUNDO  
EMBED_ACTIVATEIMMEDIATELY  
EMBED_NEVERRESIZE  
EMBED_NEEDSSIZEONLOAD The object needs the size to be provided from the container after it is loaded to function in optimal way.  
Constants' Details
MS_EMBED_RECOMPOSEONRESIZE
const hyper MS_EMBED_RECOMPOSEONRESIZE = 1;
Description
means that the object wish to regenerate view representation if it's view in the container is resized.
MS_EMBED_ONLYICONIC
const hyper MS_EMBED_ONLYICONIC = 2;
Description
The object has no view representation except icon.
MS_EMBED_INSERTNOTREPLACE
const hyper MS_EMBED_INSERTNOTREPLACE = 4;
Description
If the object is generated from a selection, the selection should not be removed, the object should be inserted beside the selection.
MS_EMBED_STATIC
const hyper MS_EMBED_STATIC = 8;
Description
The object is a static object that contains only representation.
MS_EMBED_CANTLINKINSIDE
const hyper MS_EMBED_CANTLINKINSIDE = 16;
MS_EMBED_CANLINKBYOLE1
const hyper MS_EMBED_CANLINKBYOLE1 = 32;
MS_EMBED_ISLINKOBJECT
const hyper MS_EMBED_ISLINKOBJECT = 64;
MS_EMBED_INSIDEOUT
const hyper MS_EMBED_INSIDEOUT = 128;
MS_EMBED_ACTIVATEWHENVISIBLE
const hyper MS_EMBED_ACTIVATEWHENVISIBLE = 256;
MS_EMBED_RENDERINGISDEVICEINDEPENDENT
const hyper MS_EMBED_RENDERINGISDEVICEINDEPENDENT = 512;
MS_EMBED_INVISIBLEATRUNTIME
const hyper MS_EMBED_INVISIBLEATRUNTIME = 1024;
MS_EMBED_ALWAYSRUN
const hyper MS_EMBED_ALWAYSRUN = 2048;
MS_EMBED_ACTSLIKEBUTTON
const hyper MS_EMBED_ACTSLIKEBUTTON = 4096;
MS_EMBED_ACTSLIKELABEL
const hyper MS_EMBED_ACTSLIKELABEL = 8192;
MS_EMBED_NOUIACTIVATE
const hyper MS_EMBED_NOUIACTIVATE = 16384;
MS_EMBED_ALIGNABLE
const hyper MS_EMBED_ALIGNABLE = 32768;
MS_EMBED_SIMPLEFRAME
const hyper MS_EMBED_SIMPLEFRAME = 65536;
MS_EMBED_SETCLIENTSITEFIRST
const hyper MS_EMBED_SETCLIENTSITEFIRST = 131072;
MS_EMBED_IMEMODE
const hyper MS_EMBED_IMEMODE = 262144;
MS_EMBED_IGNOREACTIVATEWHENVISIBLE
const hyper MS_EMBED_IGNOREACTIVATEWHENVISIBLE = 524288;
MS_EMBED_WANTSTOMENUMERGE
const hyper MS_EMBED_WANTSTOMENUMERGE = 1048576;
MS_EMBED_SUPPORTSMULTILEVELUNDO
const hyper MS_EMBED_SUPPORTSMULTILEVELUNDO = 2097152;
EMBED_ACTIVATEIMMEDIATELY
const hyper EMBED_ACTIVATEIMMEDIATELY = 0x100000000;
EMBED_NEVERRESIZE
const hyper EMBED_NEVERRESIZE = 0x200000000;
EMBED_NEEDSSIZEONLOAD
const hyper EMBED_NEEDSSIZEONLOAD = 0x400000000;
Description
The object needs the size to be provided from the container after it is loaded to function in optimal way.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.