(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

constants group EmbedStates
Description
This constant set contains possible states for ::EmbeddedObject.

Constants
LOADED "Loaded" - the persistent representation of the object is loaded in memory.  
RUNNING "Running" - the object is connected and loaded.  
ACTIVE "Active" - the object is activated in separate window ( outplace activation ).  
INPLACE_ACTIVE "Inplace active" - the object has own window in the container's window.  
UI_ACTIVE "UI active" - the inplace active object that has user interface.  
Constants' Details
LOADED
const long LOADED = 0;
Description
"Loaded" - the persistent representation of the object is loaded in memory.

The object is created and assigned with a persistent entry, and a view representation ( metafile and etc. ) can be retrieved ( if there is any ).

RUNNING
const long RUNNING = 1;
Description
"Running" - the object is connected and loaded.

The object has a connection to the container client and a component loaded from persistent entry. In case of internal document it also means existing of document model that implements ::com::sun::star::frame::XModel interface.

ACTIVE
const long ACTIVE = 2;
Description
"Active" - the object is activated in separate window ( outplace activation ).
INPLACE_ACTIVE
const long INPLACE_ACTIVE = 3;
Description
"Inplace active" - the object has own window in the container's window.

The object is activated and has it's own window in the container's window that allows object to process mouse events and control own rendering.

UI_ACTIVE
const long UI_ACTIVE = 4;
Description
"UI active" - the inplace active object that has user interface.

The object is inplace active, allowed to have menues, toolbars, keyboard accelerators, and has the focus.

Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.