fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / chart2 / source / controller / itemsetwrapper / SchWhichPairs.hxx
blob2fdc76eec8088600e41fe92ada991f2147ed8280
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 INCLUDED_CHART2_SOURCE_CONTROLLER_ITEMSETWRAPPER_SCHWHICHPAIRS_HXX
20 #define INCLUDED_CHART2_SOURCE_CONTROLLER_ITEMSETWRAPPER_SCHWHICHPAIRS_HXX
22 #include <svx/svxids.hrc>
23 #include <svx/xdef.hxx>
24 #include <svx/svddef.hxx>
25 #include <editeng/eeitem.hxx>
27 #include "chartview/ChartSfxItemIds.hxx"
29 namespace
32 #define CHARACTER_WHICHPAIRS \
33 EE_ITEMS_START, EE_ITEMS_END, \
34 SID_CHAR_DLG_PREVIEW_STRING, SID_CHAR_DLG_PREVIEW_STRING
36 const sal_uInt16 nTitleWhichPairs[] =
38 SCHATTR_TEXT_START, SCHATTR_TEXT_END,
39 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 svx/xdef.hxx
40 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1018 - 1046 svx/xdef.hxx
41 SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST, // 1067 - 1078 svx/svddef.hxx
42 CHARACTER_WHICHPAIRS,
46 const sal_uInt16 nAxisWhichPairs[] =
48 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 svx/xdef.hxx
49 CHARACTER_WHICHPAIRS,
50 SID_ATTR_NUMBERFORMAT_VALUE, SID_ATTR_NUMBERFORMAT_VALUE, // 10585 - 10585 svx/svxids.hrc
51 SID_ATTR_NUMBERFORMAT_SOURCE, SID_ATTR_NUMBERFORMAT_SOURCE, // 11432 svx/svxids.hrc
52 SCHATTR_AXIS_START, SCHATTR_AXIS_END,
53 SCHATTR_TEXT_START, SCHATTR_TEXT_END,
57 const sal_uInt16 nAllAxisWhichPairs[] =
59 XATTR_LINE_FIRST, XATTR_LINE_LAST,
60 CHARACTER_WHICHPAIRS,
61 SCHATTR_AXIS_LABEL_START, SCHATTR_AXIS_LABEL_END,
62 SCHATTR_TEXT_START, SCHATTR_TEXT_END,
66 const sal_uInt16 nGridWhichPairs[] =
68 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 svx/xdef.hxx
72 const sal_uInt16 nLegendWhichPairs[] =
74 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 svx/xdef.hxx
75 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1018 - 1046 svx/xdef.hxx
76 SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST, // 1067 - 1078 svx/svddef.hxx
77 CHARACTER_WHICHPAIRS,
78 SCHATTR_LEGEND_START, SCHATTR_LEGEND_END, // 3 - 3 sch/schattr.hxx
82 const sal_uInt16 nDataLabelWhichPairs[] =
84 SCHATTR_DATADESCR_START, SCHATTR_DATADESCR_END,
85 SID_ATTR_NUMBERFORMAT_VALUE, SID_ATTR_NUMBERFORMAT_INFO, /* 10585 - 10585 svx/svxids.hrc */ \
86 SID_ATTR_NUMBERFORMAT_SOURCE, SID_ATTR_NUMBERFORMAT_SOURCE, /* 11432 svx/svxids.hrc */ \
87 SCHATTR_TEXT_DEGREES,SCHATTR_TEXT_DEGREES,
88 EE_PARA_WRITINGDIR,EE_PARA_WRITINGDIR,
92 #define CHART_POINT_WHICHPAIRS \
93 XATTR_LINE_FIRST, XATTR_LINE_LAST, /* 1000 - 1016 svx/xdef.hxx */ \
94 XATTR_FILL_FIRST, XATTR_FILL_LAST, /* 1018 - 1046 svx/xdef.hxx */ \
95 EE_ITEMS_START, EE_ITEMS_END, /* 3994 - 4037 editeng/eeitem.hxx */ \
96 SID_CHAR_DLG_PREVIEW_STRING, SID_CHAR_DLG_PREVIEW_STRING, \
97 SCHATTR_DATADESCR_START, SCHATTR_DATADESCR_END, /* 1 - 2 sch/schattr.hxx*/ \
98 SID_ATTR_NUMBERFORMAT_VALUE, SID_ATTR_NUMBERFORMAT_INFO, /* 10585 - 10585 svx/svxids.hrc */ \
99 SID_ATTR_NUMBERFORMAT_SOURCE, SID_ATTR_NUMBERFORMAT_SOURCE, /* 11432 svx/svxids.hrc */ \
100 SCHATTR_TEXT_DEGREES, SCHATTR_TEXT_DEGREES, \
101 SCHATTR_STYLE_START,SCHATTR_STYLE_END, /* 59 - 68 sch/schattr.hxx*/ \
102 SCHATTR_SYMBOL_BRUSH,SCHATTR_SYMBOL_BRUSH, /* 94 sch/schattr.hxx*/ \
103 SCHATTR_SYMBOL_SIZE,SCHATTR_SYMBOL_SIZE, /* 97 sch/schattr.hxx*/ \
104 SDRATTR_3D_FIRST, SDRATTR_3D_LAST /* 1244 - 1334 svx/svddef.hxx */
106 const sal_uInt16 nDataPointWhichPairs[] =
108 CHART_POINT_WHICHPAIRS,
112 const sal_uInt16 nTextLabelWhichPairs[] =
114 XATTR_LINESTYLE, XATTR_LINECOLOR,
115 XATTR_LINETRANSPARENCE, XATTR_LINETRANSPARENCE,
116 EE_ITEMS_START, EE_ITEMS_END,
117 SID_CHAR_DLG_PREVIEW_STRING, SID_CHAR_DLG_PREVIEW_STRING,
118 SCHATTR_DATADESCR_START, SCHATTR_DATADESCR_END,
119 SID_ATTR_NUMBERFORMAT_VALUE, SID_ATTR_NUMBERFORMAT_INFO,
120 SID_ATTR_NUMBERFORMAT_SOURCE, SID_ATTR_NUMBERFORMAT_SOURCE,
121 SCHATTR_TEXT_DEGREES, SCHATTR_TEXT_DEGREES,
122 SCHATTR_STYLE_SYMBOL, SCHATTR_STYLE_SYMBOL,
123 SCHATTR_SYMBOL_BRUSH, SCHATTR_SYMBOL_BRUSH,
124 SCHATTR_SYMBOL_SIZE, SCHATTR_SYMBOL_SIZE,
128 #define CHART_SERIES_OPTIONS_WHICHPAIRS \
129 SCHATTR_AXIS,SCHATTR_AXIS, /* 69 sch/schattr.hxx*/ \
130 SCHATTR_BAR_OVERLAP,SCHATTR_BAR_CONNECT, /* 98 - 100 (incl. SCHATTR_GAPWIDTH) */ \
131 SCHATTR_GROUP_BARS_PER_AXIS,SCHATTR_AXIS_FOR_ALL_SERIES, \
132 SCHATTR_STARTING_ANGLE,SCHATTR_STARTING_ANGLE, \
133 SCHATTR_CLOCKWISE,SCHATTR_CLOCKWISE, \
134 SCHATTR_MISSING_VALUE_TREATMENT,SCHATTR_MISSING_VALUE_TREATMENT, \
135 SCHATTR_AVAILABLE_MISSING_VALUE_TREATMENTS,SCHATTR_AVAILABLE_MISSING_VALUE_TREATMENTS, \
136 SCHATTR_INCLUDE_HIDDEN_CELLS,SCHATTR_INCLUDE_HIDDEN_CELLS
138 const sal_uInt16 nSeriesOptionsWhichPairs[] =
140 CHART_SERIES_OPTIONS_WHICHPAIRS,
144 const sal_uInt16 nRowWhichPairs[] =
146 CHART_POINT_WHICHPAIRS,
147 CHART_SERIES_OPTIONS_WHICHPAIRS,
151 const sal_uInt16 nAreaWhichPairs[] =
153 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 svx/xdef.hxx
154 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1000 - 1016 svx/xdef.hxx
155 SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST, // 1067 - 1078 svx/svddef.hxx
159 const sal_uInt16 nTextWhichPairs[] =
161 CHARACTER_WHICHPAIRS,
162 SCHATTR_TEXT_START, SCHATTR_TEXT_END,
166 const sal_uInt16 nTextOrientWhichPairs[] =
168 CHARACTER_WHICHPAIRS,
169 SCHATTR_TEXT_START, SCHATTR_TEXT_END,
173 const sal_uInt16 nStatWhichPairs[]=
175 SCHATTR_STAT_START, SCHATTR_STAT_END, // 45 - 52 sch/schattr.hxx
176 SCHATTR_REGRESSION_START, SCHATTR_REGRESSION_END, // 108 - 109
180 const sal_uInt16 nErrorBarWhichPairs[]=
182 SCHATTR_STAT_START, SCHATTR_STAT_END, // 45 - 52 sch/schattr.hxx
183 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 svx/xdef.hxx
187 // for CharacterProperties
189 const sal_uInt16 nCharacterPropertyWhichPairs[] =
191 CHARACTER_WHICHPAIRS,
195 const sal_uInt16 nLinePropertyWhichPairs[] =
197 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 svx/xdef.hxx
201 const sal_uInt16 nFillPropertyWhichPairs[] =
203 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1000 - 1016 svx/xdef.hxx
204 SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST, // 1067 - 1078 svx/svddef.hxx
208 const sal_uInt16 nLineAndFillPropertyWhichPairs[] =
210 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 svx/xdef.hxx
211 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1000 - 1016 svx/xdef.hxx
212 SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST, // 1067 - 1078 svx/svddef.hxx
216 const sal_uInt16 nChartStyleWhichPairs[] =
218 SCHATTR_DIAGRAM_STYLE, SCHATTR_DIAGRAM_STYLE,
219 SCHATTR_STYLE_SHAPE, SCHATTR_STYLE_SHAPE,
220 SCHATTR_NUM_OF_LINES_FOR_BAR, SCHATTR_NUM_OF_LINES_FOR_BAR,
221 SCHATTR_SPLINE_ORDER, SCHATTR_SPLINE_ORDER,
222 SCHATTR_SPLINE_RESOLUTION, SCHATTR_SPLINE_RESOLUTION,
226 const sal_uInt16 nRegressionCurveWhichPairs[] =
228 SCHATTR_REGRESSION_START, SCHATTR_REGRESSION_END, // 108 - 109
229 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 svx/xdef.hxx
233 const sal_uInt16 nRegEquationWhichPairs[] =
235 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 svx/xdef.hxx
236 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1018 - 1046 svx/xdef.hxx
237 SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST, // 1067 - 1078 svx/svddef.hxx
238 CHARACTER_WHICHPAIRS,
239 SID_ATTR_NUMBERFORMAT_VALUE, SID_ATTR_NUMBERFORMAT_VALUE, // 10585 - 10585 svx/svxids.hrc
243 } // anonymous namespace
245 // INCLUDED_CHART2_SOURCE_CONTROLLER_ITEMSETWRAPPER_SCHWHICHPAIRS_HXX
246 #endif
248 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */