bump product version to 4.1.6.2
[LibreOffice.git] / chart2 / source / model / main / DataPointProperties.hxx
blobf5f8db58d74cebb31be2900b6aabbc712e6b9461
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/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef CHART_DATAPOINTPROPERTIES_HXX
20 #define CHART_DATAPOINTPROPERTIES_HXX
22 #include "PropertyHelper.hxx"
23 #include "FastPropertyIdRanges.hxx"
24 #include <com/sun/star/beans/Property.hpp>
26 #include <vector>
28 namespace chart
31 // implements service DataPointProperties
32 class DataPointProperties
34 public:
35 // FastProperty Ids for properties
36 enum
38 // common
39 PROP_DATAPOINT_COLOR = FAST_PROPERTY_ID_START_DATA_POINT,
40 PROP_DATAPOINT_TRANSPARENCY,
42 // fill
43 PROP_DATAPOINT_FILL_STYLE,
44 PROP_DATAPOINT_TRANSPARENCY_GRADIENT_NAME,
45 PROP_DATAPOINT_GRADIENT_NAME,
46 PROP_DATAPOINT_GRADIENT_STEPCOUNT,
47 PROP_DATAPOINT_HATCH_NAME,
48 PROP_DATAPOINT_FILL_BITMAP_NAME,
49 PROP_DATAPOINT_FILL_BACKGROUND,
51 // border (of filled objects)
52 PROP_DATAPOINT_BORDER_COLOR,
53 PROP_DATAPOINT_BORDER_STYLE,
54 PROP_DATAPOINT_BORDER_WIDTH,
55 PROP_DATAPOINT_BORDER_DASH_NAME,
56 PROP_DATAPOINT_BORDER_TRANSPARENCY,
58 // others
59 PROP_DATAPOINT_SYMBOL_PROP,
60 PROP_DATAPOINT_OFFSET,
61 PROP_DATAPOINT_GEOMETRY3D,
62 PROP_DATAPOINT_LABEL,
63 PROP_DATAPOINT_LABEL_SEPARATOR,
64 PROP_DATAPOINT_NUMBER_FORMAT,
65 PROP_DATAPOINT_PERCENTAGE_NUMBER_FORMAT,
66 PROP_DATAPOINT_LABEL_PLACEMENT,
67 PROP_DATAPOINT_REFERENCE_DIAGRAM_SIZE,
68 PROP_DATAPOINT_TEXT_ROTATION,
70 // statistics
71 PROP_DATAPOINT_ERROR_BAR_X,
72 PROP_DATAPOINT_ERROR_BAR_Y,
73 PROP_DATAPOINT_SHOW_ERROR_BOX,
74 PROP_DATAPOINT_PERCENT_DIAGONAL
76 // additionally some properites from ::chart::LineProperties
79 static void AddPropertiesToVector(
80 ::std::vector< ::com::sun::star::beans::Property > & rOutProperties );
82 static void AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap );
84 private:
85 // not implemented
86 DataPointProperties();
89 } // namespace chart
91 // CHART_DATAPOINTPROPERTIES_HXX
92 #endif
94 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */