LibreOffice
LibreOffice 24.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 
21 module com { module sun { module star { module ui {
22 
49 constants ItemStyle
50 {
56  const short ALIGN_LEFT = 1;
57 
63  const short ALIGN_CENTER = 2;
64 
70  const short ALIGN_RIGHT = 3;
71 
76  const short DRAW_OUT3D = 4;
77 
82  const short DRAW_IN3D = 8;
83 
88  const short DRAW_FLAT = 12;
89 
93  const short OWNER_DRAW = 16;
94 
99  const short AUTO_SIZE = 32;
100 
104  const short RADIO_CHECK = 64;
105 
119  const short ICON = 128;
120 
124  const short DROP_DOWN = 256;
125 
130  const short REPEAT = 512;
131 
136  const short DROPDOWN_ONLY = 1024;
148  const short TEXT = 2048;
149 
155  const short MANDATORY = 4096;
156 };
157 
158 }; }; }; };
159 
160 /* 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:155
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:63
Definition: Ambiguous.idl:20
const short DROPDOWN_ONLY
indicates that the item only supports a dropdown menu or toolbar for additional functions.
Definition: ItemStyle.idl:136
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:99
const short DRAW_IN3D
specifies how the implementation should draw the item.
Definition: ItemStyle.idl:82
const short DROP_DOWN
specifies that the item supports a dropdown menu or toolbar for additional functions.
Definition: ItemStyle.idl:124
const short REPEAT
indicates that the item continues to execute the command while you click and hold the mouse button...
Definition: ItemStyle.idl:130
const short TEXT
indicates if icon, text or text+icon is displayed for the item.
Definition: ItemStyle.idl:148
const short DRAW_OUT3D
specifies how the implementation should draw the item.
Definition: ItemStyle.idl:76
const short OWNER_DRAW
specifies whether or not an item is displayed using an external function.
Definition: ItemStyle.idl:93
const short RADIO_CHECK
determines whether the item unchecks neighbor entries which have also this style set.
Definition: ItemStyle.idl:104
const short ICON
specifies if an icon is placed on left side of the text, like an entry in a taskbar.
Definition: ItemStyle.idl:119
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:70
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:56
const short DRAW_FLAT
specifies how the implementation should draw the item.
Definition: ItemStyle.idl:88