Update ooo320-m1
[ooovba.git] / offapi / com / sun / star / chart2 / LegendExpansion.idl
blobbf2f943e9049a018bcf09ab34ae1333e0e0262eb
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: LegendExpansion.idl,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 #ifndef com_sun_star_chart_LegendExpansion_idl
31 #define com_sun_star_chart_LegendExpansion_idl
33 module com
35 module sun
37 module star
39 module chart2
42 /**
44 enum LegendExpansion
46 /** The legend is laid out such that it is wider that high. The
47 aspect ratio is greater than 1.
49 <p>This is usually used for legends that are displayed at the
50 top or bottom of the page.</p>
52 WIDE,
54 /** The legend is laid out such that it is higher that wide. The
55 aspect ratio is less than 1.
57 <p>This is usually used for legends that are displayed on the
58 left or right hand side of the page.</p>
60 HIGH,
62 /** The legend is laid out such that height and width are not
63 differing too much. It is not guaranteed to have an aspect
64 ratio of 1.
66 BALANCED,
68 /** The aspect ratio of the legend is given explicitly
70 CUSTOM
73 } ; // chart2
74 } ; // com
75 } ; // sun
76 } ; // star
78 #endif