1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 #ifndef __com_sun_star_ui_XModuleUIConfigurationManager_idl__
29 #define __com_sun_star_ui_XModuleUIConfigurationManager_idl__
31 #ifndef __com_sun_star_container_XIndexContainer_idl__
32 #include
<com
/sun
/star
/container
/XIndexContainer.idl
>
35 #ifndef __com_sun_star_container_XIndexAccess_idl__
36 #include
<com
/sun
/star
/container
/XIndexAccess.idl
>
39 #ifndef __com_sun_star_container_NoSuchElementException_idl__
40 #include
<com
/sun
/star
/container
/NoSuchElementException.idl
>
43 #ifndef __com_sun_star_lang_IllegalArgumentException_idl__
44 #include
<com
/sun
/star
/lang
/IllegalArgumentException.idl
>
47 #ifndef __com_sun_star_lang_IllegalAccessException_idl__
48 #include
<com
/sun
/star
/lang
/IllegalAccessException.idl
>
51 module com
{ module sun
{ module star
{ module ui
{
53 /** specifies specific functions of a module based user interface
54 configuration manager interface.
57 A module user interface configuration manager supports, unlike a
58 document based ui configration manager, two layers of configuration
60 1. Layer: A module default user interface configuration which
61 describe all user interface elements settings that are
62 used by OpenOffice. It is not possible to insert, remove
63 or changeelements settings in this layer through the
65 2. Layer: A module user interface configuration which only contains
66 customized user interface elements and user-defined ones.
67 All changes on user interface element settings are done on
68 this layer. This layer is the same as the document ui
69 configuration manager uses.</br>
75 interface XModuleUIConfigurationManager
: ::com
::sun
::star
::uno
::XInterface
77 /** determine if the settings of a user interface element is part
78 of the default layer of the user interface configuration manager.
81 a resource URL which identifies the user interface element. A
82 resourcce URL must meet the following syntax:
83 "private:resource/$type/$name. It is only allowed to use ascii
84 characters for type and name.
87 <TRUE/> if settings have been found in the default layer,
90 boolean isDefaultSettings
( [in] string ResourceURL
) raises
( com
::sun
::star
::lang
::IllegalArgumentException
);
92 /** retrieves the settings from the default layer of the user interface
93 configuration manager if it has a default layer.
96 a resource URL which identifies the user interface element. A
97 resourcce URL must meet the following syntax:
98 "private:resource/$type/$name. It is only allowed to use ascii
99 characters for type and name.
102 <TRUE/> if default settings have been found in the default layer,
105 ::com
::sun
::star
::container
::XIndexAccess getDefaultSettings
( [in] string ResourceURL
) raises
( com
::sun
::star
::container
::NoSuchElementException
, com
::sun
::star
::lang
::IllegalArgumentException
);
109 //=============================================================================