merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / drawing / framework / ConfigurationChangeEvent.idl
blobe343dd4f2298d49ab137ec32c4f2f13046436308
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: ConfigurationChangeEvent.idl,v $
10 * $Revision: 1.3 $
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 ************************************************************************/
31 #ifndef __com_sun_star_drawing_framework_ConfigurationChangeEvent_idl__
32 #define __com_sun_star_drawing_framework_ConfigurationChangeEvent_idl__
34 #ifndef __com_sun_star_lang_EventObject_idl__
35 #include <com/sun/star/lang/EventObject.idl>
36 #endif
38 module com { module sun { module star { module uno { interface XInterface; }; }; }; };
40 module com { module sun { module star { module drawing { module framework {
42 interface XConfiguration;
43 interface XConfigurationController;
44 interface XResourceId;
46 /** Objects of this class are used for notifying changes of the
47 configuration.
49 <p>They are broadcasted by the configuration controller
50 which maintains the configuration. The set of types of configuration
51 changes is not fixed and is not maintained or documented in one
52 place.</p>
54 <p>The set of used members and the exact meaning of their values is not the
55 same for all types. Therefore, the descriptions of the members are just
56 general guidelines. See <type>XConfigurationController</type> for a
57 list of event types used by the basic drawing framework.</p>
59 struct ConfigurationChangeEvent
60 : ::com::sun::star::lang::EventObject
62 /** The type of configuration change is a free-form string. This is the
63 only member that is always set. The values of the other members
64 depend on the configuration change type and may or may not be set.
66 string Type;
68 /** The current configuration, depending on the event type, either
69 before or after the change. May be an empty reference.
71 XConfiguration Configuration;
73 /** The resource id that is part of the configuration change.
75 XResourceId ResourceId;
77 /** The resource object that corresponds to the ResourceId. May
78 be an empty reference.
80 com::sun::star::uno::XInterface ResourceObject;
82 /** Each listener is called with exactly the <member>UserData</member>
83 that was given when the listener was registered.
85 any UserData;
88 }; }; }; }; }; // ::com::sun::star::drawing::framework
90 #endif