LibreOffice
LibreOffice 6.2 SDK API Reference
ItemStyle.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_ui_ItemStyle_idl__
21 #define __com_sun_star_ui_ItemStyle_idl__
22 
23 
24 module com { module sun { module star { module ui {
25 
52 constants ItemStyle
53 {
59  const short ALIGN_LEFT = 1;
60 
66  const short ALIGN_CENTER = 2;
67 
73  const short ALIGN_RIGHT = 3;
74 
79  const short DRAW_OUT3D = 4;
80 
85  const short DRAW_IN3D = 8;
86 
91  const short DRAW_FLAT = 12;
92 
96  const short OWNER_DRAW = 16;
97 
102  const short AUTO_SIZE = 32;
103 
107  const short RADIO_CHECK = 64;
108 
122  const short ICON = 128;
123 
127  const short DROP_DOWN = 256;
128 
133  const short REPEAT = 512;
134 
139  const short DROPDOWN_ONLY = 1024;
151  const short TEXT = 2048;
152 
158  const short MANDATORY = 4096;
159 };
160 
161 }; }; }; };
162 
163 #endif
164 
165 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const short MANDATORY
marks always visible element which can not be removed when statusbar width is not sufficient...
Definition: ItemStyle.idl:158
const short ALIGN_CENTER
specifies how the output of the item is aligned in the bounding box of the user interface element...
Definition: ItemStyle.idl:66
Definition: Ambiguous.idl:22
const short DROPDOWN_ONLY
indicates that the item only supports a dropdown menu or toolbar for additional functions.
Definition: ItemStyle.idl:139
const short AUTO_SIZE
specifies whether or not the size of the item is set automatically by the parent user interface eleme...
Definition: ItemStyle.idl:102
const short DRAW_IN3D
specifies how the implementation should draw the item.
Definition: ItemStyle.idl:85
const short DROP_DOWN
specifies that the item supports a dropdown menu or toolbar for additional functions.
Definition: ItemStyle.idl:127
const short REPEAT
indicates that the item continues to execute the command while you click and hold the mouse button...
Definition: ItemStyle.idl:133
const short TEXT
indicates if icon, text or text+icon is displayed for the item.
Definition: ItemStyle.idl:151
const short DRAW_OUT3D
specifies how the implementation should draw the item.
Definition: ItemStyle.idl:79
const short OWNER_DRAW
specifies whether or not a item is displayed using an external function.
Definition: ItemStyle.idl:96
const short RADIO_CHECK
determines whether the item unchecks neighbor entries which have also this style set.
Definition: ItemStyle.idl:107
const short ICON
specifies if an icon is placed on left side of the text, like an entry in a taskbar.
Definition: ItemStyle.idl:122
const short ALIGN_RIGHT
specifies how the output of the item is aligned in the bounding box of the user interface element...
Definition: ItemStyle.idl:73
const short ALIGN_LEFT
specifies how the output of the item is aligned in the bounding box of the user interface element...
Definition: ItemStyle.idl:59
const short DRAW_FLAT
specifies how the implementation should draw the item.
Definition: ItemStyle.idl:91