Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / DataBar.idl
blob6fbccb9dc11b3bf382e6f8291a2641026c23d2e3
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #ifndef __com_sun_star_sheet_Databar_idl__
11 #define __com_sun_star_sheet_Databar_idl__
13 #include <com/sun/star/sheet/XConditionEntry.idl>
14 #include <com/sun/star/sheet/XColorScaleEntry.idl>
15 #include <com/sun/star/sheet/DataBarAxis.idl>
16 #include <com/sun/star/util/Color.idl>
18 module com { module sun { module star { module sheet {
20 service DataBar
22 interface XConditionEntry;
24 [property] boolean ShowValue;
26 /**
27 * See com.sun.star.sheet.DataBarAxis for possible values
29 [property] long AxisPosition;
31 [property] boolean UseGradient;
33 [property] com::sun::star::util::Color Color;
35 [property] com::sun::star::util::Color AxisColor;
37 [property] boolean UseNegativeColor;
39 [property, optional] com::sun::star::util::Color NegativeColor;
41 [property] sequence<XDataBarEntry> DataBarEntries;
43 /**
44 * Minimum databar length in percent of cell width.
46 * Allowed values are [0, 100) but smaller than MaximumLength.
48 [property] double MinimumLength;
50 /**
51 * Maximum databar length in percent of cell width.
53 * Allowed values are (0, 1000) but larger than MinimumLength.
55 [property] double MaximumLength;
59 }; }; }; };
61 #endif
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */