merged tag ooo/OOO330_m14
[LibreOffice.git] / offapi / com / sun / star / chart2 / LegendSymbolStyle.idl
blob13d47ee3a7c9c59358cfbde44b713ca2e93672d0
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 #ifndef com_sun_star_chart_LegendSymbolStyle_idl
28 #define com_sun_star_chart_LegendSymbolStyle_idl
30 #include <com/sun/star/uno/XInterface.idl>
32 #include <com/sun/star/chart2/XTitle.idl>
34 module com
36 module sun
38 module star
40 module chart2
43 /**
45 enum LegendSymbolStyle
47 /** A square box with border.
49 BOX,
51 /** A rectangle that is wider than high with border.
53 BAR,
55 /** A square box with border, that may change its aspect ratio if
56 the layout of the legend requires this.
58 RECTANGLE,
60 /** A filled rectangle with no border that uses all the space
61 available for the legend entry's symbol, leaving no padding
62 space. This is especially useful for legends representing a
63 color-scale.
65 STRETCHED_RECTANGLE,
67 /** A line extending from the left edge to the right edge
69 HORIZONTAL_LINE,
71 /** A line extending from the top edge to the bottom edge
73 VERTICAL_LINE,
75 /** A line spanning the diagonal of the box you would get with
76 <member>BOX</member>.
78 DIAGONAL_LINE,
80 /** A line like with <member>LINE</member>, but with a small
81 bordered square box in the middle.
83 LINE_WITH_BOX,
85 /** A line like with <member>LINE</member>, but with the symbol
86 that is returned by <member>XLegendEntry::getSymbol</member>
87 (see also <member>USER_DEFINED</member>).
89 LINE_WITH_SYMBOL,
91 /** A bordered circle which has the same bounding-box as the
92 <member>BOX</member>.
94 CIRCLE,
96 /** Use the symbol that is returned by
97 <member>XLegendEntry::getSymbol</member>.
99 USER_DEFINED
102 } ; // chart2
103 } ; // com
104 } ; // sun
105 } ; // star
107 #endif