update dev300-m58
[ooovba.git] / offapi / com / sun / star / embed / EmbedStates.idl
blob25c306ecb01676af7f6ac46a46e042eda04395b1
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: EmbedStates.idl,v $
10 * $Revision: 1.5 $
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_EmbedStates_idl__
31 #define __com_sun_star_embed_EmbedStates_idl__
34 //============================================================================
36 module com { module sun { module star { module embed {
38 //============================================================================
39 /** This constant set contains possible states for
40 <type>EmbeddedObject</type>.
42 constants EmbedStates
44 //------------------------------------------------------------------------
45 /** "Loaded" - the persistent representation of the object is loaded in
46 memory.
48 <p>
49 The object is created and assigned with a persistent entry,
50 and a view representation ( metafile and etc. ) can be retrieved
51 ( if there is any ).
52 </p>
54 const long LOADED = 0;
56 //------------------------------------------------------------------------
57 /** "Running" - the object is connected and loaded.
59 <p>
60 The object has a connection to the container client and a component
61 loaded from persistent entry. In case of internal document it also
62 means existing of document model that implements
63 <type scope="com::sun::star::frame">XModel</type> interface.
64 </p>
66 const long RUNNING = 1;
68 //------------------------------------------------------------------------
69 /** "Active" - the object is activated in separate window
70 ( outplace activation ).
72 const long ACTIVE = 2;
74 //------------------------------------------------------------------------
75 /** "Inplace active" - the object has own window in the container's
76 window.
78 <p>
79 The object is activated and has it's own window in the container's
80 window that allows object to process mouse events and control own
81 rendering.
82 </p>
84 const long INPLACE_ACTIVE = 3;
86 //------------------------------------------------------------------------
87 /** "UI active" - the inplace active object that has user interface.
89 <p>
90 The object is inplace active, allowed to have menues, toolbars,
91 keyboard accelerators, and has the focus.
92 </p>
94 const long UI_ACTIVE = 4;
97 //============================================================================
99 }; }; }; };
101 #endif