tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / chart2 / source / model / main / DataPointProperties.hxx
blobfe1969bc5f15112304d82a8ddd5a5514e2b8d384
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,
72 PROP_DATAPOINT_INVERT_NEGATIVE,
74 // statistics
75 PROP_DATAPOINT_ERROR_BAR_X,
76 PROP_DATAPOINT_ERROR_BAR_Y,
77 PROP_DATAPOINT_SHOW_ERROR_BOX,
78 PROP_DATAPOINT_PERCENT_DIAGONAL,
80 // label
81 PROP_DATAPOINT_LABEL,
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 );
103 } // namespace chart
105 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */