LibreOffice LibreOffice 26.2 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
21module com { module sun { module star { module awt {
22
23 interface XStyleChangeListener;
24
25
40 interface XStyleSettings
41{
43 [attribute] ::com::sun::star::util::Color ActiveBorderColor;
44
45
46 [attribute] ::com::sun::star::util::Color ActiveColor;
47
49 [attribute] ::com::sun::star::util::Color ActiveTabColor;
50
52 [attribute] ::com::sun::star::util::Color ActiveTextColor;
53
55 [attribute] ::com::sun::star::util::Color ButtonRolloverTextColor;
56
58 [attribute] ::com::sun::star::util::Color ButtonTextColor;
59
60
61 [attribute] ::com::sun::star::util::Color CheckedColor;
62
64 [attribute] ::com::sun::star::util::Color DarkShadowColor;
65
67 [attribute] ::com::sun::star::util::Color DeactiveBorderColor;
68
69
70 [attribute] ::com::sun::star::util::Color DeactiveColor;
71
73 [attribute] ::com::sun::star::util::Color DeactiveTextColor;
74
76 [attribute] ::com::sun::star::util::Color DialogColor;
77
79 [attribute] ::com::sun::star::util::Color DialogTextColor;
80
82 [attribute] ::com::sun::star::util::Color DisableColor;
83
84
85 [attribute] ::com::sun::star::util::Color FaceColor;
86
87
88 [attribute, readonly] ::com::sun::star::util::Color FaceGradientColor;
89
91 [attribute] ::com::sun::star::util::Color FieldColor;
92
94 [attribute] ::com::sun::star::util::Color FieldRolloverTextColor;
95
97 [attribute] ::com::sun::star::util::Color FieldTextColor;
98
100 [attribute] ::com::sun::star::util::Color GroupTextColor;
101
103 [attribute] ::com::sun::star::util::Color HelpColor;
104
106 [attribute] ::com::sun::star::util::Color HelpTextColor;
107
109 [attribute] ::com::sun::star::util::Color HighlightColor;
110
112 [attribute] ::com::sun::star::util::Color HighlightTextColor;
113
115 [attribute] ::com::sun::star::util::Color InactiveTabColor;
116
118 [attribute] ::com::sun::star::util::Color LabelTextColor;
119
120
121 [attribute] ::com::sun::star::util::Color LightColor;
122
124 [attribute] ::com::sun::star::util::Color MenuBarColor;
125
127 [attribute] ::com::sun::star::util::Color MenuBarTextColor;
128
130 [attribute] ::com::sun::star::util::Color MenuBorderColor;
131
132 // specifies the background color of menus
133 [attribute] ::com::sun::star::util::Color MenuColor;
134
136 [attribute] ::com::sun::star::util::Color MenuHighlightColor;
137
139 [attribute] ::com::sun::star::util::Color MenuHighlightTextColor;
140
141 // specifies the text color of menus
142 [attribute] ::com::sun::star::util::Color MenuTextColor;
143
145 [attribute] ::com::sun::star::util::Color MonoColor;
146
148 [attribute] ::com::sun::star::util::Color RadioCheckTextColor;
149
151 [attribute, readonly] ::com::sun::star::util::Color SeparatorColor;
152
154 [attribute] ::com::sun::star::util::Color ShadowColor;
155
157 [attribute] ::com::sun::star::util::Color WindowColor;
158
160 [attribute] ::com::sun::star::util::Color WindowTextColor;
161
163 [attribute] ::com::sun::star::util::Color WorkspaceColor;
164
167 [attribute] boolean HighContrastMode;
168
170 [attribute] FontDescriptor ApplicationFont;
171
173 [attribute] FontDescriptor HelpFont;
174
176 [attribute] FontDescriptor TitleFont;
177
179 [attribute] FontDescriptor FloatTitleFont;
180
182 [attribute] FontDescriptor MenuFont;
183
185 [attribute] FontDescriptor ToolFont;
186
188 [attribute] FontDescriptor GroupFont;
189
191 [attribute] FontDescriptor LabelFont;
192
194 [attribute] FontDescriptor RadioCheckFont;
195
197 [attribute] FontDescriptor PushButtonFont;
198
200 [attribute] FontDescriptor FieldFont;
201
203 void addStyleChangeListener(
204 [in] XStyleChangeListener Listener );
205
207 void removeStyleChangeListener(
208 [in] XStyleChangeListener Listener );
209};
210
211
212}; }; }; };
213
214
215/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::awt::XStyleChangeListener
to be implemented by components which wish to be notified about changes in the style of a component
Definition: XStyleChangeListener.idl:29
com::sun::star::awt::XStyleSettings
provides access to certain style settings within an OpenOffice.org component, such as a window,...
Definition: XStyleSettings.idl:41
com::sun::star::awt::XStyleSettings::WindowTextColor
::com::sun::star::util::Color WindowTextColor
specifies the text color to use for non-dialog windows
Definition: XStyleSettings.idl:160
com::sun::star::awt::XStyleSettings::MenuHighlightColor
::com::sun::star::util::Color MenuHighlightColor
specifies the background color of highlighted menu items
Definition: XStyleSettings.idl:136
com::sun::star::awt::XStyleSettings::LabelFont
FontDescriptor LabelFont
specifies the font for label controls
Definition: XStyleSettings.idl:191
com::sun::star::awt::XStyleSettings::GroupFont
FontDescriptor GroupFont
specifies the font for dialog elements used for grouping other elements
Definition: XStyleSettings.idl:188
com::sun::star::awt::XStyleSettings::WorkspaceColor
::com::sun::star::util::Color WorkspaceColor
specifies the background color to use for document workspaces
Definition: XStyleSettings.idl:163
com::sun::star::awt::XStyleSettings::MonoColor
::com::sun::star::util::Color MonoColor
specifies the color to use for monochrome control elements such as flat borders of controls
Definition: XStyleSettings.idl:145
com::sun::star::awt::XStyleSettings::SeparatorColor
::com::sun::star::util::Color SeparatorColor
specifies the color of separators between UI elements
Definition: XStyleSettings.idl:151
com::sun::star::awt::XStyleSettings::LabelTextColor
::com::sun::star::util::Color LabelTextColor
specifies the text color of label elements in dialogs
Definition: XStyleSettings.idl:118
com::sun::star::awt::XStyleSettings::addStyleChangeListener
void addStyleChangeListener([in] XStyleChangeListener Listener)
registers a listener to be notified when the style settings change
com::sun::star::awt::XStyleSettings::WindowColor
::com::sun::star::util::Color WindowColor
specifies the background color to use for non-dialog windows
Definition: XStyleSettings.idl:157
com::sun::star::awt::XStyleSettings::PushButtonFont
FontDescriptor PushButtonFont
specifies the font of push buttons
Definition: XStyleSettings.idl:197
com::sun::star::awt::XStyleSettings::InactiveTabColor
::com::sun::star::util::Color InactiveTabColor
specifies the color of inactive tabs of a tab control
Definition: XStyleSettings.idl:115
com::sun::star::awt::XStyleSettings::MenuTextColor
::com::sun::star::util::Color MenuTextColor
Definition: XStyleSettings.idl:142
com::sun::star::awt::XStyleSettings::ShadowColor
::com::sun::star::util::Color ShadowColor
specifies the color to use for UI elements
Definition: XStyleSettings.idl:154
com::sun::star::awt::XStyleSettings::FloatTitleFont
FontDescriptor FloatTitleFont
specifies the font to use the title of floating windows
Definition: XStyleSettings.idl:179
com::sun::star::awt::XStyleSettings::ActiveBorderColor
::com::sun::star::util::Color ActiveBorderColor
specifies the color of the border of active windows
Definition: XStyleSettings.idl:43
com::sun::star::awt::XStyleSettings::MenuBarTextColor
::com::sun::star::util::Color MenuBarTextColor
specifies the text color of menu bars
Definition: XStyleSettings.idl:127
com::sun::star::awt::XStyleSettings::RadioCheckTextColor
::com::sun::star::util::Color RadioCheckTextColor
specifies the text color of radio buttons and check boxes
Definition: XStyleSettings.idl:148
com::sun::star::awt::XStyleSettings::removeStyleChangeListener
void removeStyleChangeListener([in] XStyleChangeListener Listener)
registers a listener to be notified when the style settings change
com::sun::star::awt::XStyleSettings::DisableColor
::com::sun::star::util::Color DisableColor
specifies the text color for disabled UI elements
Definition: XStyleSettings.idl:82
com::sun::star::awt::XStyleSettings::DialogTextColor
::com::sun::star::util::Color DialogTextColor
specifies the text color of dialogs
Definition: XStyleSettings.idl:79
com::sun::star::awt::XStyleSettings::FaceColor
::com::sun::star::util::Color FaceColor
Definition: XStyleSettings.idl:85
com::sun::star::awt::XStyleSettings::HighlightTextColor
::com::sun::star::util::Color HighlightTextColor
specifies the text color for UI elements which are highlighted
Definition: XStyleSettings.idl:112
com::sun::star::awt::XStyleSettings::DarkShadowColor
::com::sun::star::util::Color DarkShadowColor
specifies the dark portion of the shadow to use for UI elements
Definition: XStyleSettings.idl:64
com::sun::star::awt::XStyleSettings::ApplicationFont
FontDescriptor ApplicationFont
specifies the application font
Definition: XStyleSettings.idl:170
com::sun::star::awt::XStyleSettings::ButtonRolloverTextColor
::com::sun::star::util::Color ButtonRolloverTextColor
specifies the color to use for text on buttons which are hovered with the mouse
Definition: XStyleSettings.idl:55
com::sun::star::awt::XStyleSettings::GroupTextColor
::com::sun::star::util::Color GroupTextColor
specifies the text color for dialog elements used for grouping other elements
Definition: XStyleSettings.idl:100
com::sun::star::awt::XStyleSettings::ActiveColor
::com::sun::star::util::Color ActiveColor
Definition: XStyleSettings.idl:46
com::sun::star::awt::XStyleSettings::ButtonTextColor
::com::sun::star::util::Color ButtonTextColor
specifies the color to use for text on buttons
Definition: XStyleSettings.idl:58
com::sun::star::awt::XStyleSettings::ActiveTextColor
::com::sun::star::util::Color ActiveTextColor
specifies the text color for active UI components
Definition: XStyleSettings.idl:52
com::sun::star::awt::XStyleSettings::DeactiveTextColor
::com::sun::star::util::Color DeactiveTextColor
specifies the text color for inactive UI components
Definition: XStyleSettings.idl:73
com::sun::star::awt::XStyleSettings::DeactiveBorderColor
::com::sun::star::util::Color DeactiveBorderColor
specifies the color of the border of inactive windows
Definition: XStyleSettings.idl:67
com::sun::star::awt::XStyleSettings::CheckedColor
::com::sun::star::util::Color CheckedColor
Definition: XStyleSettings.idl:61
com::sun::star::awt::XStyleSettings::FieldColor
::com::sun::star::util::Color FieldColor
specifies the background color for dialog input controls
Definition: XStyleSettings.idl:91
com::sun::star::awt::XStyleSettings::RadioCheckFont
FontDescriptor RadioCheckFont
specifies the font of radio buttons and check boxes
Definition: XStyleSettings.idl:194
com::sun::star::awt::XStyleSettings::HighlightColor
::com::sun::star::util::Color HighlightColor
specifies the background color for UI elements which are highlighted
Definition: XStyleSettings.idl:109
com::sun::star::awt::XStyleSettings::FieldFont
FontDescriptor FieldFont
specifies the font for dialog input controls
Definition: XStyleSettings.idl:200
com::sun::star::awt::XStyleSettings::ToolFont
FontDescriptor ToolFont
specifies the font to use for tool elements
Definition: XStyleSettings.idl:185
com::sun::star::awt::XStyleSettings::MenuBarColor
::com::sun::star::util::Color MenuBarColor
specifies the background color of menu bars
Definition: XStyleSettings.idl:124
com::sun::star::awt::XStyleSettings::TitleFont
FontDescriptor TitleFont
specifies the font to use for window titles
Definition: XStyleSettings.idl:176
com::sun::star::awt::XStyleSettings::FieldTextColor
::com::sun::star::util::Color FieldTextColor
specifies the text color for dialog input controls
Definition: XStyleSettings.idl:97
com::sun::star::awt::XStyleSettings::FieldRolloverTextColor
::com::sun::star::util::Color FieldRolloverTextColor
specifies the text color for dialog input controls which are hovered with the mouse
Definition: XStyleSettings.idl:94
com::sun::star::awt::XStyleSettings::HelpColor
::com::sun::star::util::Color HelpColor
specifies the background color for dialog elements displaying help content
Definition: XStyleSettings.idl:103
com::sun::star::awt::XStyleSettings::MenuColor
::com::sun::star::util::Color MenuColor
Definition: XStyleSettings.idl:133
com::sun::star::awt::XStyleSettings::HelpFont
FontDescriptor HelpFont
specifies the help font
Definition: XStyleSettings.idl:173
com::sun::star::awt::XStyleSettings::FaceGradientColor
::com::sun::star::util::Color FaceGradientColor
Definition: XStyleSettings.idl:88
com::sun::star::awt::XStyleSettings::ActiveTabColor
::com::sun::star::util::Color ActiveTabColor
specifies the color of the active tab of a tab control
Definition: XStyleSettings.idl:49
com::sun::star::awt::XStyleSettings::MenuHighlightTextColor
::com::sun::star::util::Color MenuHighlightTextColor
specifies the text color of highlighted menu items
Definition: XStyleSettings.idl:139
com::sun::star::awt::XStyleSettings::DialogColor
::com::sun::star::util::Color DialogColor
specifies the background color of dialogs
Definition: XStyleSettings.idl:76
com::sun::star::awt::XStyleSettings::LightColor
::com::sun::star::util::Color LightColor
Definition: XStyleSettings.idl:121
com::sun::star::awt::XStyleSettings::HelpTextColor
::com::sun::star::util::Color HelpTextColor
specifies the text color for dialog elements displaying help content
Definition: XStyleSettings.idl:106
com::sun::star::awt::XStyleSettings::DeactiveColor
::com::sun::star::util::Color DeactiveColor
Definition: XStyleSettings.idl:70
com::sun::star::awt::XStyleSettings::MenuBorderColor
::com::sun::star::util::Color MenuBorderColor
specifies the border color of menus
Definition: XStyleSettings.idl:130
com::sun::star::awt::XStyleSettings::MenuFont
FontDescriptor MenuFont
specifies the font to use for menus
Definition: XStyleSettings.idl:182
com::sun::star::awt::XStyleSettings::HighContrastMode
boolean HighContrastMode
controls whether the an UI component should use a high-contrast mode
Definition: XStyleSettings.idl:167
com::sun::star::util::Color
long Color
describes an RGB color value with an optional alpha channel.
Definition: Color.idl:34
com
Definition: Ambiguous.idl:20
com::sun::star::awt::FontDescriptor
describes the characteristics of a font.
Definition: FontDescriptor.idl:30