merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / awt / UnoControl.idl
blobb0ae8d4d56522e7400340308b30f432bbdce9c48
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: UnoControl.idl,v $
10 * $Revision: 1.9 $
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_awt_UnoControl_idl__
31 #define __com_sun_star_awt_UnoControl_idl__
33 #ifndef __com_sun_star_lang_XComponent_idl__
34 #include <com/sun/star/lang/XComponent.idl>
35 #endif
37 #ifndef __com_sun_star_awt_XControl_idl__
38 #include <com/sun/star/awt/XControl.idl>
39 #endif
41 #ifndef __com_sun_star_awt_XWindow_idl__
42 #include <com/sun/star/awt/XWindow.idl>
43 #endif
45 #ifndef __com_sun_star_awt_XView_idl__
46 #include <com/sun/star/awt/XView.idl>
47 #endif
49 #ifndef __com_sun_star_accessibility_XAccessible_idl__
50 #include <com/sun/star/accessibility/XAccessible.idl>
51 #endif
54 //=============================================================================
56 module com { module sun { module star { module awt {
58 //=============================================================================
60 /** specifies an abstract control.
62 <p>All components which implement this service can
63 be integrated in a windowing environment. This service describes
64 the controller of the Smalltalk model view controller design.</p>
66 <p>You must set a model and a stub to the UnoControl before using
67 other methods. The implementation only allows the change of the
68 graphics (<type>XView</type>) if the window is not visible. The
69 change of the graphics in visible state should redirect the output
70 to these graphics, but this behavior is implementation-specific.</p>
72 <p>The change of data directly at the control may not affect the
73 model data. To ensure this behavior, modify the data of the model.</p>
75 published service UnoControl
77 interface com::sun::star::lang::XComponent;
79 interface com::sun::star::awt::XControl;
81 interface com::sun::star::awt::XWindow;
83 interface com::sun::star::awt::XView;
85 /** provides access to the accessible context associated with this object.
87 @since OOo 1.1.2
89 [optional] interface com::sun::star::accessibility::XAccessible;
91 };
93 //=============================================================================
95 }; }; }; };
97 #endif