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_chart2_Symbol_idl
28 #define com_sun_star_chart2_Symbol_idl
30 #ifndef __com_sun_star_drawing_PolyPolygonBezierCoords_idl__
31 #include
<com
/sun
/star
/drawing
/PolyPolygonBezierCoords.idl
>
34 #include
<com
/sun
/star
/awt
/Size.idl
>
35 #include
<com
/sun
/star
/graphic
/XGraphic.idl
>
37 #include
<com
/sun
/star
/chart2
/SymbolStyle.idl
>
39 //=============================================================================
41 module com
{ module sun
{ module star
{ module chart2
{
43 //=============================================================================
45 /** properties that are used for DataSeries that display symbols.
49 /** determines which of the following members determines the
50 appearance of the symbol.
54 /** The given polygon is used as symbol.
56 com
::sun
::star
::drawing
::PolyPolygonBezierCoords PolygonCoords
;
58 /** Use the nth standard symbol, if <member>Style</member> is set
59 to <member>SymbolStlye::STANDARD</member>.
61 <p>If n is the number of standard symbols available in an
62 implementation, the symbol number is
63 <member>StandardSymbol</member> modulo n.</p>
65 <p>The default implementation for example currently uses 8 different
66 standard symbols that are matched to the numbers 0 to 7.
68 <table border=1 rules="groups">
70 <tr><th> value StandardSymbol </th><th> visible Symbol </th></tr>
73 <tr><td><code>0</code></td><td>square</td></tr>
74 <tr><td><code>1</code></td><td>diamond</td></tr>
75 <tr><td><code>2</code></td><td>down arrow</td></tr>
76 <tr><td><code>3</code></td><td>up arrow</td></tr>
77 <tr><td><code>4</code></td><td>right arrow</td></tr>
78 <tr><td><code>5</code></td><td>left arrow</td></tr>
79 <tr><td><code>6</code></td><td>bowtie</td></tr>
80 <tr><td><code>7</code></td><td>sandglass</td></tr>
88 /** use this graphic as symbol
90 com
::sun
::star
::graphic
::XGraphic Graphic
;
92 /** The size of the symbol in 100th of a mm.
94 @todo use a structure using doubles insted of longs
96 com
::sun
::star
::awt
::Size Size
;
98 /** The color used for drawing the border of symbols.
100 <p>Only effective if <member>Style</member> is
101 <member>SymbolStyle::AUTO</member>,
102 <member>SymbolStyle::STANDARD</member> or
103 <member>SymbolStyle::POLYGON</member>.</p>
107 /** The color used for filling symbols that contain closed polygons.
109 <p>Only effective if <member>Style</member> is
110 <member>SymbolStyle::AUTO</member>,
111 <member>SymbolStyle::STANDARD</member> or
112 <member>SymbolStyle::POLYGON</member>.</p>
117 //=============================================================================