nss: upgrade to release 3.73
[LibreOffice.git] / chart2 / source / model / main / DataPointProperties.hxx
blobada7907b888f1bcd5839f978cf261f839cc4e34d
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 #pragma once
21 #include <PropertyHelper.hxx>
22 #include <FastPropertyIdRanges.hxx>
24 #include <vector>
26 namespace com::sun::star::beans { struct Property; }
28 namespace chart
31 // implements service DataPointProperties
32 namespace DataPointProperties
34 // FastProperty Ids for properties
35 enum
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,
42 // common
43 PROP_DATAPOINT_COLOR = FAST_PROPERTY_ID_START_DATA_POINT,
44 PROP_DATAPOINT_TRANSPARENCY,
46 // fill
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,
62 // others
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,
73 // statistics
74 PROP_DATAPOINT_ERROR_BAR_X,
75 PROP_DATAPOINT_ERROR_BAR_Y,
76 PROP_DATAPOINT_SHOW_ERROR_BOX,
77 PROP_DATAPOINT_PERCENT_DIAGONAL,
79 // label
80 PROP_DATAPOINT_LABEL,
81 PROP_DATAPOINT_LABEL_SEPARATOR,
82 PROP_DATAPOINT_TEXT_WORD_WRAP,
83 PROP_DATAPOINT_LABEL_BORDER_STYLE,
84 PROP_DATAPOINT_LABEL_BORDER_COLOR,
85 PROP_DATAPOINT_LABEL_BORDER_WIDTH,
86 PROP_DATAPOINT_LABEL_BORDER_DASH,
87 PROP_DATAPOINT_LABEL_BORDER_DASH_NAME,
88 PROP_DATAPOINT_LABEL_BORDER_TRANS,
89 PROP_DATAPOINT_CUSTOM_LABEL_FIELDS,
90 PROP_DATAPOINT_LABEL_CUSTOM_POS
92 // additionally some properties from ::chart::LineProperties
95 void AddPropertiesToVector(
96 std::vector< css::beans::Property > & rOutProperties );
98 void AddDefaultsToMap( ::chart::tPropertyValueMap & rOutMap );
101 } // namespace chart
103 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */