1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: DataPointProperties.hxx,v $
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 CHART_DATAPOINTPROPERTIES_HXX
31 #define CHART_DATAPOINTPROPERTIES_HXX
33 #include "PropertyHelper.hxx"
34 #include "FastPropertyIdRanges.hxx"
35 #include <com/sun/star/beans/Property.hpp>
42 // implements service DataPointProperties
43 class DataPointProperties
46 // FastProperty Ids for properties
50 PROP_DATAPOINT_COLOR
= FAST_PROPERTY_ID_START_DATA_POINT
,
51 PROP_DATAPOINT_TRANSPARENCY
,
54 PROP_DATAPOINT_FILL_STYLE
,
55 // PROP_DATAPOINT_TRANSPARENCY_STYLE,
56 PROP_DATAPOINT_TRANSPARENCY_GRADIENT_NAME
,
57 PROP_DATAPOINT_GRADIENT_NAME
,
58 PROP_DATAPOINT_GRADIENT_STEPCOUNT
,
59 PROP_DATAPOINT_HATCH_NAME
,
60 PROP_DATAPOINT_FILL_BITMAP_NAME
,
61 PROP_DATAPOINT_FILL_BACKGROUND
,
63 // border (of filled objects)
64 PROP_DATAPOINT_BORDER_COLOR
,
65 PROP_DATAPOINT_BORDER_STYLE
,
66 PROP_DATAPOINT_BORDER_WIDTH
,
67 PROP_DATAPOINT_BORDER_DASH_NAME
,
68 PROP_DATAPOINT_BORDER_TRANSPARENCY
,
71 PROP_DATAPOINT_SYMBOL_PROP
,
72 PROP_DATAPOINT_OFFSET
,
73 PROP_DATAPOINT_GEOMETRY3D
,
75 PROP_DATAPOINT_LABEL_SEPARATOR
,
76 PROP_DATAPOINT_NUMBER_FORMAT
,
77 PROP_DATAPOINT_PERCENTAGE_NUMBER_FORMAT
,
78 PROP_DATAPOINT_LABEL_PLACEMENT
,
79 PROP_DATAPOINT_REFERENCE_DIAGRAM_SIZE
,
80 PROP_DATAPOINT_TEXT_ROTATION
,
83 PROP_DATAPOINT_ERROR_BAR_X
,
84 PROP_DATAPOINT_ERROR_BAR_Y
,
85 PROP_DATAPOINT_SHOW_ERROR_BOX
,
86 PROP_DATAPOINT_PERCENT_DIAGONAL
88 // additionally some properites from ::chart::LineProperties
91 static void AddPropertiesToVector(
92 ::std::vector
< ::com::sun::star::beans::Property
> & rOutProperties
);
94 static void AddDefaultsToMap( ::chart::tPropertyValueMap
& rOutMap
);
98 DataPointProperties();
103 // CHART_DATAPOINTPROPERTIES_HXX