LibreOffice
LibreOffice 7.4 SDK API Reference
XStyleSettings.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef __com_sun_star_awt_XStyleSettings_idl__
21 #define __com_sun_star_awt_XStyleSettings_idl__
22 
26 
27 
28 module com { module sun { module star { module awt {
29 
30 interface XStyleChangeListener;
31 
32 
47 interface XStyleSettings
48 {
51 
52 
54 
57 
60 
63 
66 
67 
69 
72 
75 
76 
78 
81 
84 
87 
90 
91 
93 
94 
96 
99 
102 
105 
108 
111 
114 
117 
120 
123 
126 
127 
129 
132 
135 
138 
139  // specifies the background color of menus
141 
144 
147 
148  // specifies the text color of menus
150 
153 
156 
159 
162 
165 
168 
171 
174  [attribute] boolean HighContrastMode;
175 
178 
181 
184 
187 
190 
193 
196 
199 
202 
205 
208 
211  [in] XStyleChangeListener Listener );
212 
215  [in] XStyleChangeListener Listener );
216 };
217 
218 
219 }; }; }; };
220 
221 
222 #endif
223 
224 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
to be implemented by components which wish to be notified about changes in the style of a component
Definition: XStyleChangeListener.idl:34
provides access to certain style settings within an OpenOffice.org component, such as a window,...
Definition: XStyleSettings.idl:48
::com::sun::star::util::Color WindowTextColor
specifies the text color to use for non-dialog windows
Definition: XStyleSettings.idl:167
::com::sun::star::util::Color MenuHighlightColor
specifies the background color of highlighted menu items
Definition: XStyleSettings.idl:143
FontDescriptor LabelFont
specifies the font for label controls
Definition: XStyleSettings.idl:198
FontDescriptor GroupFont
specifies the font for dialog elements used for grouping other elements
Definition: XStyleSettings.idl:195
::com::sun::star::util::Color WorkspaceColor
specifies the background color to use for document workspaces
Definition: XStyleSettings.idl:170
::com::sun::star::util::Color MonoColor
specifies the color to use for monochrome control elements such as flat borders of controls
Definition: XStyleSettings.idl:152
::com::sun::star::util::Color SeparatorColor
specifies the color of separators between UI elements
Definition: XStyleSettings.idl:158
::com::sun::star::util::Color LabelTextColor
specifies the text color of label elements in dialogs
Definition: XStyleSettings.idl:125
void addStyleChangeListener([in] XStyleChangeListener Listener)
registers a listener to be notified when the style settings change
::com::sun::star::util::Color WindowColor
specifies the background color to use for non-dialog windows
Definition: XStyleSettings.idl:164
FontDescriptor PushButtonFont
specifies the font of push buttons
Definition: XStyleSettings.idl:204
::com::sun::star::util::Color InactiveTabColor
specifies the color of inactive tabs of a tab control
Definition: XStyleSettings.idl:122
::com::sun::star::util::Color MenuTextColor
Definition: XStyleSettings.idl:149
::com::sun::star::util::Color ShadowColor
specifies the color to use for UI elements
Definition: XStyleSettings.idl:161
FontDescriptor FloatTitleFont
specifies the font to use the title of floating windows
Definition: XStyleSettings.idl:186
::com::sun::star::util::Color ActiveBorderColor
specifies the color of the border of active windows
Definition: XStyleSettings.idl:50
::com::sun::star::util::Color MenuBarTextColor
specifies the text color of menu bars
Definition: XStyleSettings.idl:134
::com::sun::star::util::Color RadioCheckTextColor
specifies the text color of radio buttons and check boxes
Definition: XStyleSettings.idl:155
void removeStyleChangeListener([in] XStyleChangeListener Listener)
registers a listener to be notified when the style settings change
::com::sun::star::util::Color DisableColor
specifies the text color for disabled UI elements
Definition: XStyleSettings.idl:89
::com::sun::star::util::Color DialogTextColor
specifies the text color of dialogs
Definition: XStyleSettings.idl:86
::com::sun::star::util::Color FaceColor
Definition: XStyleSettings.idl:92
::com::sun::star::util::Color HighlightTextColor
specifies the text color for UI elements which are highlighted
Definition: XStyleSettings.idl:119
::com::sun::star::util::Color DarkShadowColor
specifies the dark portion of the shadow to use for UI elements
Definition: XStyleSettings.idl:71
FontDescriptor ApplicationFont
specifies the application font
Definition: XStyleSettings.idl:177
::com::sun::star::util::Color ButtonRolloverTextColor
specifies the color to use for text on buttons which are hovered with the mouse
Definition: XStyleSettings.idl:62
::com::sun::star::util::Color GroupTextColor
specifies the text color for dialog elements used for grouping other elements
Definition: XStyleSettings.idl:107
::com::sun::star::util::Color ActiveColor
Definition: XStyleSettings.idl:53
::com::sun::star::util::Color ButtonTextColor
specifies the color to use for text on buttons
Definition: XStyleSettings.idl:65
::com::sun::star::util::Color ActiveTextColor
specifies the text color for active UI components
Definition: XStyleSettings.idl:59
::com::sun::star::util::Color DeactiveTextColor
specifies the text color for inactive UI components
Definition: XStyleSettings.idl:80
::com::sun::star::util::Color DeactiveBorderColor
specifies the color of the border of inactive windows
Definition: XStyleSettings.idl:74
::com::sun::star::util::Color CheckedColor
Definition: XStyleSettings.idl:68
::com::sun::star::util::Color FieldColor
specifies the background color for dialog input controls
Definition: XStyleSettings.idl:98
FontDescriptor RadioCheckFont
specifies the font of radio buttons and check boxes
Definition: XStyleSettings.idl:201
::com::sun::star::util::Color HighlightColor
specifies the background color for UI elements which are highlighted
Definition: XStyleSettings.idl:116
FontDescriptor FieldFont
specifies the font for dialog input controls
Definition: XStyleSettings.idl:207
FontDescriptor ToolFont
specifies the font to use for tool elements
Definition: XStyleSettings.idl:192
::com::sun::star::util::Color MenuBarColor
specifies the background color of menu bars
Definition: XStyleSettings.idl:131
FontDescriptor TitleFont
specifies the font to use for window titles
Definition: XStyleSettings.idl:183
::com::sun::star::util::Color FieldTextColor
specifies the text color for dialog input controls
Definition: XStyleSettings.idl:104
::com::sun::star::util::Color FieldRolloverTextColor
specifies the text color for dialog input controls which are hovered with the mouse
Definition: XStyleSettings.idl:101
::com::sun::star::util::Color HelpColor
specifies the background color for dialog elements displaying help content
Definition: XStyleSettings.idl:110
::com::sun::star::util::Color MenuColor
Definition: XStyleSettings.idl:140
FontDescriptor HelpFont
specifies the help font
Definition: XStyleSettings.idl:180
::com::sun::star::util::Color FaceGradientColor
Definition: XStyleSettings.idl:95
::com::sun::star::util::Color ActiveTabColor
specifies the color of the active tab of a tab control
Definition: XStyleSettings.idl:56
::com::sun::star::util::Color MenuHighlightTextColor
specifies the text color of highlighted menu items
Definition: XStyleSettings.idl:146
::com::sun::star::util::Color DialogColor
specifies the background color of dialogs
Definition: XStyleSettings.idl:83
::com::sun::star::util::Color LightColor
Definition: XStyleSettings.idl:128
::com::sun::star::util::Color HelpTextColor
specifies the text color for dialog elements displaying help content
Definition: XStyleSettings.idl:113
::com::sun::star::util::Color DeactiveColor
Definition: XStyleSettings.idl:77
::com::sun::star::util::Color MenuBorderColor
specifies the border color of menus
Definition: XStyleSettings.idl:137
FontDescriptor MenuFont
specifies the font to use for menus
Definition: XStyleSettings.idl:189
boolean HighContrastMode
controls whether the an UI component should use a high-contrast mode
Definition: XStyleSettings.idl:174
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:36
Definition: Ambiguous.idl:22
describes the characteristics of a font.
Definition: FontDescriptor.idl:34