blob: d1a738d84e942238ce377c5191b1d2f3be4fae81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
|
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ChartSfxItemIds.hxx,v $
* $Revision: 1.8 $
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************/
#ifndef CHARTSFXITEMIDS_HXX
#define CHARTSFXITEMIDS_HXX
#include <sfx2/sfxdefs.hxx>
/*
// header for SID_OBJ1_START
#include <sfx2/sfxsids.hrc>
*/
// ============================================================
// SCHATTR
// ============================================================
#define SCHATTR_START 1
#define SCHATTR_DATADESCR_START SCHATTR_START
#define SCHATTR_DATADESCR_SHOW_NUMBER SCHATTR_DATADESCR_START
#define SCHATTR_DATADESCR_SHOW_PERCENTAGE (SCHATTR_DATADESCR_START + 1)
#define SCHATTR_DATADESCR_SHOW_CATEGORY (SCHATTR_DATADESCR_START + 2)
#define SCHATTR_DATADESCR_SHOW_SYMBOL (SCHATTR_DATADESCR_START + 3)
#define SCHATTR_DATADESCR_SEPARATOR (SCHATTR_DATADESCR_START + 4)
#define SCHATTR_DATADESCR_PLACEMENT (SCHATTR_DATADESCR_START + 5)
#define SCHATTR_DATADESCR_AVAILABLE_PLACEMENTS (SCHATTR_DATADESCR_START + 6)
#define SCHATTR_DATADESCR_END SCHATTR_DATADESCR_AVAILABLE_PLACEMENTS
#define SCHATTR_LEGEND_START (SCHATTR_DATADESCR_END + 1)
#define SCHATTR_LEGEND_POS SCHATTR_LEGEND_START
#define SCHATTR_LEGEND_END SCHATTR_LEGEND_POS
#define SCHATTR_TEXT_START (SCHATTR_LEGEND_END + 1)
// #define SCHATTR_TEXT_ORIENT SCHATTR_TEXT_START
// name changed:
#define SCHATTR_TEXT_STACKED SCHATTR_TEXT_START
#define SCHATTR_TEXT_ORDER (SCHATTR_TEXT_START + 1)
#define SCHATTR_TEXT_END SCHATTR_TEXT_ORDER
#define SCHATTR_Y_AXIS_START (SCHATTR_TEXT_END + 1)
#define SCHATTR_Y_AXIS_AUTO_MIN SCHATTR_Y_AXIS_START
#define SCHATTR_Y_AXIS_MIN (SCHATTR_Y_AXIS_START + 1)
#define SCHATTR_Y_AXIS_AUTO_MAX (SCHATTR_Y_AXIS_START + 2)
#define SCHATTR_Y_AXIS_MAX (SCHATTR_Y_AXIS_START + 3)
#define SCHATTR_Y_AXIS_AUTO_STEP_MAIN (SCHATTR_Y_AXIS_START + 4)
#define SCHATTR_Y_AXIS_STEP_MAIN (SCHATTR_Y_AXIS_START + 5)
#define SCHATTR_Y_AXIS_AUTO_STEP_HELP (SCHATTR_Y_AXIS_START + 6)
#define SCHATTR_Y_AXIS_STEP_HELP (SCHATTR_Y_AXIS_START + 7)
#define SCHATTR_Y_AXIS_LOGARITHM (SCHATTR_Y_AXIS_START + 8)
#define SCHATTR_Y_AXIS_AUTO_ORIGIN (SCHATTR_Y_AXIS_START + 9)
#define SCHATTR_Y_AXIS_ORIGIN (SCHATTR_Y_AXIS_START + 10)
#define SCHATTR_Y_AXIS_END SCHATTR_Y_AXIS_ORIGIN
#define SCHATTR_X_AXIS_START (SCHATTR_Y_AXIS_END + 1)
#define SCHATTR_X_AXIS_AUTO_MIN SCHATTR_X_AXIS_START
#define SCHATTR_X_AXIS_MIN (SCHATTR_X_AXIS_START + 1)
#define SCHATTR_X_AXIS_AUTO_MAX (SCHATTR_X_AXIS_START + 2)
#define SCHATTR_X_AXIS_MAX (SCHATTR_X_AXIS_START + 3)
#define SCHATTR_X_AXIS_AUTO_STEP_MAIN (SCHATTR_X_AXIS_START + 4)
#define SCHATTR_X_AXIS_STEP_MAIN (SCHATTR_X_AXIS_START + 5)
#define SCHATTR_X_AXIS_AUTO_STEP_HELP (SCHATTR_X_AXIS_START + 6)
#define SCHATTR_X_AXIS_STEP_HELP (SCHATTR_X_AXIS_START + 7)
#define SCHATTR_X_AXIS_LOGARITHM (SCHATTR_X_AXIS_START + 8)
#define SCHATTR_X_AXIS_AUTO_ORIGIN (SCHATTR_X_AXIS_START + 9)
#define SCHATTR_X_AXIS_ORIGIN (SCHATTR_X_AXIS_START + 10)
#define SCHATTR_X_AXIS_END SCHATTR_X_AXIS_ORIGIN
#define SCHATTR_Z_AXIS_START (SCHATTR_X_AXIS_END + 1)
#define SCHATTR_Z_AXIS_AUTO_MIN SCHATTR_Z_AXIS_START
#define SCHATTR_Z_AXIS_MIN (SCHATTR_Z_AXIS_START + 1)
#define SCHATTR_Z_AXIS_AUTO_MAX (SCHATTR_Z_AXIS_START + 2)
#define SCHATTR_Z_AXIS_MAX (SCHATTR_Z_AXIS_START + 3)
#define SCHATTR_Z_AXIS_AUTO_STEP_MAIN (SCHATTR_Z_AXIS_START + 4)
#define SCHATTR_Z_AXIS_STEP_MAIN (SCHATTR_Z_AXIS_START + 5)
#define SCHATTR_Z_AXIS_AUTO_STEP_HELP (SCHATTR_Z_AXIS_START + 6)
#define SCHATTR_Z_AXIS_STEP_HELP (SCHATTR_Z_AXIS_START + 7)
#define SCHATTR_Z_AXIS_LOGARITHM (SCHATTR_Z_AXIS_START + 8)
#define SCHATTR_Z_AXIS_AUTO_ORIGIN (SCHATTR_Z_AXIS_START + 9)
#define SCHATTR_Z_AXIS_ORIGIN (SCHATTR_Z_AXIS_START + 10)
#define SCHATTR_Z_AXIS_END SCHATTR_Z_AXIS_ORIGIN
// miscellaneous
#define SCHATTR_AXISTYPE (SCHATTR_Z_AXIS_END + 1)
#define SCHATTR_PERCENT_NUMBERFORMAT_VALUE (SCHATTR_Z_AXIS_END + 2)
#define SCHATTR_PERCENT_NUMBERFORMAT_SOURCE (SCHATTR_Z_AXIS_END + 3)
#define SCHATTR_STAT_START (SCHATTR_PERCENT_NUMBERFORMAT_SOURCE + 1)
#define SCHATTR_STAT_AVERAGE SCHATTR_STAT_START
#define SCHATTR_STAT_KIND_ERROR (SCHATTR_STAT_START + 1)
#define SCHATTR_STAT_PERCENT (SCHATTR_STAT_START + 2)
#define SCHATTR_STAT_BIGERROR (SCHATTR_STAT_START + 3)
#define SCHATTR_STAT_CONSTPLUS (SCHATTR_STAT_START + 4)
#define SCHATTR_STAT_CONSTMINUS (SCHATTR_STAT_START + 5)
#define SCHATTR_STAT_INDICATE (SCHATTR_STAT_START + 6)
#define SCHATTR_STAT_RANGE_POS (SCHATTR_STAT_START + 7)
#define SCHATTR_STAT_RANGE_NEG (SCHATTR_STAT_START + 8)
#define SCHATTR_STAT_END SCHATTR_STAT_RANGE_NEG
#define SCHATTR_TEXT2_START ( SCHATTR_STAT_END + 1)
#define SCHATTR_TEXT_DEGREES ( SCHATTR_TEXT2_START )
#define SCHATTR_TEXT_OVERLAP (SCHATTR_TEXT2_START +1)
#define SCHATTR_TEXT2_END ( SCHATTR_TEXT_OVERLAP )
// --------------------------------------------------------
// these attributes are for replacement of enum eChartStyle
// --------------------------------------------------------
#define SCHATTR_STYLE_START ( SCHATTR_TEXT2_END +1 )
// for whole chart
#define SCHATTR_STYLE_DEEP ( SCHATTR_STYLE_START )
#define SCHATTR_STYLE_3D ( SCHATTR_STYLE_START + 1 )
#define SCHATTR_STYLE_VERTICAL ( SCHATTR_STYLE_START + 2 )
// also for series
#define SCHATTR_STYLE_BASETYPE ( SCHATTR_STYLE_START + 3 )// Line,Area,...,Pie
#define SCHATTR_STYLE_LINES ( SCHATTR_STYLE_START + 4 )// draw line
#define SCHATTR_STYLE_PERCENT ( SCHATTR_STYLE_START + 5 )
#define SCHATTR_STYLE_STACKED ( SCHATTR_STYLE_START + 6 )
#define SCHATTR_STYLE_SPLINES ( SCHATTR_STYLE_START + 7 )
// also for data point
#define SCHATTR_STYLE_SYMBOL ( SCHATTR_STYLE_START + 8 )
#define SCHATTR_STYLE_SHAPE ( SCHATTR_STYLE_START + 9 )
#define SCHATTR_STYLE_END ( SCHATTR_STYLE_SHAPE )
// --------------------------------------------------------------------------
#define SCHATTR_AXIS (SCHATTR_STYLE_END + 1)// see chtmodel.hxx defines CHART_AXIS_PRIMARY_X, etc.
//Ummappen:
#define SCHATTR_AXIS_START (SCHATTR_AXIS + 1)
#define SCHATTR_AXIS_AUTO_MIN SCHATTR_AXIS_START
#define SCHATTR_AXIS_MIN (SCHATTR_AXIS_START + 1)
#define SCHATTR_AXIS_AUTO_MAX (SCHATTR_AXIS_START + 2)
#define SCHATTR_AXIS_MAX (SCHATTR_AXIS_START + 3)
#define SCHATTR_AXIS_AUTO_STEP_MAIN (SCHATTR_AXIS_START + 4)
#define SCHATTR_AXIS_STEP_MAIN (SCHATTR_AXIS_START + 5)
#define SCHATTR_AXIS_AUTO_STEP_HELP (SCHATTR_AXIS_START + 6)
// SCHATTR_AXIS_STEP_HELP: type changed from double to sal_Int32 !
#define SCHATTR_AXIS_STEP_HELP (SCHATTR_AXIS_START + 7)
#define SCHATTR_AXIS_LOGARITHM (SCHATTR_AXIS_START + 8)
#define SCHATTR_AXIS_AUTO_ORIGIN (SCHATTR_AXIS_START + 9)
#define SCHATTR_AXIS_ORIGIN (SCHATTR_AXIS_START + 10)
//Neu:
#define SCHATTR_AXIS_TICKS (SCHATTR_AXIS_START + 11)
#define SCHATTR_AXIS_NUMFMT (SCHATTR_AXIS_START + 12)
#define SCHATTR_AXIS_NUMFMTPERCENT (SCHATTR_AXIS_START + 13)
#define SCHATTR_AXIS_SHOWAXIS (SCHATTR_AXIS_START + 14)
#define SCHATTR_AXIS_SHOWDESCR (SCHATTR_AXIS_START + 15)
#define SCHATTR_AXIS_SHOWMAINGRID (SCHATTR_AXIS_START + 16)
#define SCHATTR_AXIS_SHOWHELPGRID (SCHATTR_AXIS_START + 17)
#define SCHATTR_AXIS_TOPDOWN (SCHATTR_AXIS_START + 18)
#define SCHATTR_AXIS_HELPTICKS (SCHATTR_AXIS_START + 19)
#define SCHATTR_AXIS_REVERSE (SCHATTR_AXIS_START + 20)
#define SCHATTR_AXIS_POSITION (SCHATTR_AXIS_START + 21)
#define SCHATTR_AXIS_POSITION_VALUE (SCHATTR_AXIS_START + 22)
#define SCHATTR_AXIS_CROSSING_MAIN_AXIS_NUMBERFORMAT (SCHATTR_AXIS_START + 23)
#define SCHATTR_AXIS_LABEL_POSITION (SCHATTR_AXIS_START + 24)
#define SCHATTR_AXIS_MARK_POSITION (SCHATTR_AXIS_START + 25)
#define SCHATTR_AXIS_END SCHATTR_AXIS_MARK_POSITION
#define SCHATTR_SYMBOL_BRUSH (SCHATTR_AXIS_END + 1)
#define SCHATTR_STOCK_VOLUME (SCHATTR_AXIS_END + 2)
#define SCHATTR_STOCK_UPDOWN (SCHATTR_AXIS_END + 3)
#define SCHATTR_SYMBOL_SIZE (SCHATTR_AXIS_END + 4)
// non persistent items (binary format)
#define SCHATTR_CHARTTYPE_START (SCHATTR_SYMBOL_SIZE + 1)
// new from New Chart
#define SCHATTR_BAR_OVERLAP (SCHATTR_CHARTTYPE_START )
#define SCHATTR_BAR_GAPWIDTH (SCHATTR_CHARTTYPE_START + 1)
#define SCHATTR_BAR_CONNECT (SCHATTR_CHARTTYPE_START + 2)
#define SCHATTR_NUM_OF_LINES_FOR_BAR (SCHATTR_CHARTTYPE_START + 3)
#define SCHATTR_SPLINE_ORDER (SCHATTR_CHARTTYPE_START + 4)
#define SCHATTR_SPLINE_RESOLUTION (SCHATTR_CHARTTYPE_START + 5)
#define SCHATTR_DIAGRAM_STYLE (SCHATTR_CHARTTYPE_START + 6)
#define SCHATTR_TEXTBREAK (SCHATTR_CHARTTYPE_START + 7)
#define SCHATTR_GROUP_BARS_PER_AXIS (SCHATTR_CHARTTYPE_START + 8)
#define SCHATTR_STARTING_ANGLE (SCHATTR_CHARTTYPE_START + 9)
#define SCHATTR_CLOCKWISE (SCHATTR_CHARTTYPE_START + 10)
#define SCHATTR_MISSING_VALUE_TREATMENT (SCHATTR_CHARTTYPE_START + 11)
#define SCHATTR_AVAILABLE_MISSING_VALUE_TREATMENTS (SCHATTR_CHARTTYPE_START + 12)
#define SCHATTR_INCLUDE_HIDDEN_CELLS (SCHATTR_CHARTTYPE_START + 13)
#define SCHATTR_CHARTTYPE_END SCHATTR_INCLUDE_HIDDEN_CELLS
// items for transporting information to dialogs
#define SCHATTR_MISC_START (SCHATTR_CHARTTYPE_END + 1)
#define SCHATTR_AXIS_FOR_ALL_SERIES (SCHATTR_MISC_START)
#define SCHATTR_MISC_END SCHATTR_AXIS_FOR_ALL_SERIES
// regression curve equation
#define SCHATTR_REGRESSION_START (SCHATTR_MISC_END + 1)
#define SCHATTR_REGRESSION_TYPE SCHATTR_REGRESSION_START
#define SCHATTR_REGRESSION_SHOW_EQUATION (SCHATTR_REGRESSION_START + 1)
#define SCHATTR_REGRESSION_SHOW_COEFF (SCHATTR_REGRESSION_START + 2)
#define SCHATTR_REGRESSION_END SCHATTR_REGRESSION_SHOW_COEFF
#define SCHATTR_END SCHATTR_REGRESSION_END
// ============================================================
// values for Items
// ============================================================
// values for SCHATTR_AXIS_TICKS and SCHATTR_AXIS_HELPTICKS items
#define CHAXIS_MARK_BOTH 3
#define CHAXIS_MARK_OUTER 2
#define CHAXIS_MARK_INNER 1
#define CHAXIS_MARK_NONE 0
// values for SCHATTR_AXISTYPE items
#define CHART_AXIS_X 0
#define CHART_AXIS_Y 1
#define CHART_AXIS_Z 2
// values for SCHATTR_STYLE_SHAPE items
#define CHART_SHAPE3D_IGNORE -2 //intern! (GetChartShapeStyle()!)
#define CHART_SHAPE3D_ANY -1 //undefinierter Typ (GetChartShapeStyle()!)
#define CHART_SHAPE3D_SQUARE 0
#define CHART_SHAPE3D_CYLINDER 1
#define CHART_SHAPE3D_CONE 2
#define CHART_SHAPE3D_PYRAMID 3 //reserved
#define CHART_SHAPE3D_HANOI 4
// values for SCHATTR_AXIS items
#define CHART_AXIS_PRIMARY_X 1
#define CHART_AXIS_PRIMARY_Y 2
#define CHART_AXIS_PRIMARY_Z 3
#define CHART_AXIS_SECONDARY_Y 4
#define CHART_AXIS_SECONDARY_X 5
// ============================================================
// ============================================================
#endif
|