1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 .
21 #include <PropertyHelper.hxx>
22 #include <FastPropertyIdRanges.hxx>
26 namespace com::sun::star::beans
{ struct Property
; }
31 // implements service DataPointProperties
32 namespace DataPointProperties
34 // FastProperty Ids for properties
37 PROP_DATAPOINT_LABEL_FILL_STYLE
,
38 PROP_DATAPOINT_LABEL_FILL_COLOR
,
39 PROP_DATAPOINT_LABEL_FILL_BACKGROUND
,
40 PROP_DATAPOINT_LABEL_FILL_HATCH_NAME
,
43 PROP_DATAPOINT_COLOR
= FAST_PROPERTY_ID_START_DATA_POINT
,
44 PROP_DATAPOINT_TRANSPARENCY
,
47 PROP_DATAPOINT_FILL_STYLE
,
48 PROP_DATAPOINT_TRANSPARENCY_GRADIENT_NAME
,
49 PROP_DATAPOINT_GRADIENT_NAME
,
50 PROP_DATAPOINT_GRADIENT_STEPCOUNT
,
51 PROP_DATAPOINT_HATCH_NAME
,
52 PROP_DATAPOINT_FILL_BITMAP_NAME
,
53 PROP_DATAPOINT_FILL_BACKGROUND
,
55 // border (of filled objects)
56 PROP_DATAPOINT_BORDER_COLOR
,
57 PROP_DATAPOINT_BORDER_STYLE
,
58 PROP_DATAPOINT_BORDER_WIDTH
,
59 PROP_DATAPOINT_BORDER_DASH_NAME
,
60 PROP_DATAPOINT_BORDER_TRANSPARENCY
,
63 PROP_DATAPOINT_SYMBOL_PROP
,
64 PROP_DATAPOINT_OFFSET
,
65 PROP_DATAPOINT_GEOMETRY3D
,
66 PROP_DATAPOINT_NUMBER_FORMAT
,
67 PROP_DATAPOINT_LINK_NUMBERFORMAT_TO_SOURCE
,
68 PROP_DATAPOINT_PERCENTAGE_NUMBER_FORMAT
,
69 PROP_DATAPOINT_LABEL_PLACEMENT
,
70 PROP_DATAPOINT_REFERENCE_DIAGRAM_SIZE
,
71 PROP_DATAPOINT_TEXT_ROTATION
,
72 PROP_DATAPOINT_INVERT_NEGATIVE
,
75 PROP_DATAPOINT_ERROR_BAR_X
,
76 PROP_DATAPOINT_ERROR_BAR_Y
,
77 PROP_DATAPOINT_SHOW_ERROR_BOX
,
78 PROP_DATAPOINT_PERCENT_DIAGONAL
,
82 PROP_DATAPOINT_LABEL_SEPARATOR
,
83 PROP_DATAPOINT_TEXT_WORD_WRAP
,
84 PROP_DATAPOINT_LABEL_BORDER_STYLE
,
85 PROP_DATAPOINT_LABEL_BORDER_COLOR
,
86 PROP_DATAPOINT_LABEL_BORDER_WIDTH
,
87 PROP_DATAPOINT_LABEL_BORDER_DASH
,
88 PROP_DATAPOINT_LABEL_BORDER_DASH_NAME
,
89 PROP_DATAPOINT_LABEL_BORDER_TRANS
,
90 PROP_DATAPOINT_CUSTOM_LABEL_FIELDS
,
91 PROP_DATAPOINT_LABEL_CUSTOM_POS
,
92 PROP_DATAPOINT_LABEL_CUSTOM_SIZE
94 // additionally some properties from ::chart::LineProperties
97 void AddPropertiesToVector(
98 std::vector
< css::beans::Property
> & rOutProperties
);
100 void AddDefaultsToMap( ::chart::tPropertyValueMap
& rOutMap
);
105 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */