xref: /AOO41X/main/chart2/source/inc/chartview/ChartSfxItemIds.hxx (revision cdf0e10c4e3984b49a9502b011690b615761d4a3)
1*cdf0e10cSrcweir /*************************************************************************
2*cdf0e10cSrcweir  *
3*cdf0e10cSrcweir  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir  *
5*cdf0e10cSrcweir  * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir  *
7*cdf0e10cSrcweir  * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir  *
9*cdf0e10cSrcweir  * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir  *
11*cdf0e10cSrcweir  * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir  * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir  * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir  *
15*cdf0e10cSrcweir  * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir  * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir  * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir  *
21*cdf0e10cSrcweir  * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir  * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir  * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir  * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir  *
26*cdf0e10cSrcweir  ************************************************************************/
27*cdf0e10cSrcweir #ifndef CHARTSFXITEMIDS_HXX
28*cdf0e10cSrcweir #define CHARTSFXITEMIDS_HXX
29*cdf0e10cSrcweir 
30*cdf0e10cSrcweir // ============================================================
31*cdf0e10cSrcweir // SCHATTR
32*cdf0e10cSrcweir // ============================================================
33*cdf0e10cSrcweir 
34*cdf0e10cSrcweir #define SCHATTR_START						1
35*cdf0e10cSrcweir 
36*cdf0e10cSrcweir #define SCHATTR_DATADESCR_START	   			SCHATTR_START
37*cdf0e10cSrcweir #define SCHATTR_DATADESCR_SHOW_NUMBER 		SCHATTR_DATADESCR_START
38*cdf0e10cSrcweir #define SCHATTR_DATADESCR_SHOW_PERCENTAGE	(SCHATTR_DATADESCR_START + 1)
39*cdf0e10cSrcweir #define SCHATTR_DATADESCR_SHOW_CATEGORY		(SCHATTR_DATADESCR_START + 2)
40*cdf0e10cSrcweir #define SCHATTR_DATADESCR_SHOW_SYMBOL		(SCHATTR_DATADESCR_START + 3)
41*cdf0e10cSrcweir #define SCHATTR_DATADESCR_SEPARATOR         (SCHATTR_DATADESCR_START + 4)
42*cdf0e10cSrcweir #define SCHATTR_DATADESCR_PLACEMENT         (SCHATTR_DATADESCR_START + 5)
43*cdf0e10cSrcweir #define SCHATTR_DATADESCR_AVAILABLE_PLACEMENTS   (SCHATTR_DATADESCR_START + 6)
44*cdf0e10cSrcweir #define SCHATTR_DATADESCR_NO_PERCENTVALUE   (SCHATTR_DATADESCR_START + 7) //percentage values should not be offered
45*cdf0e10cSrcweir #define SCHATTR_PERCENT_NUMBERFORMAT_VALUE  (SCHATTR_DATADESCR_START + 8)
46*cdf0e10cSrcweir #define SCHATTR_PERCENT_NUMBERFORMAT_SOURCE (SCHATTR_DATADESCR_START + 9)
47*cdf0e10cSrcweir #define SCHATTR_DATADESCR_END               SCHATTR_PERCENT_NUMBERFORMAT_SOURCE
48*cdf0e10cSrcweir 
49*cdf0e10cSrcweir //legend
50*cdf0e10cSrcweir #define SCHATTR_LEGEND_START	   			(SCHATTR_DATADESCR_END + 1)
51*cdf0e10cSrcweir #define SCHATTR_LEGEND_POS		   			SCHATTR_LEGEND_START
52*cdf0e10cSrcweir #define SCHATTR_LEGEND_SHOW		   			(SCHATTR_LEGEND_START + 1)
53*cdf0e10cSrcweir #define SCHATTR_LEGEND_END		 			SCHATTR_LEGEND_SHOW
54*cdf0e10cSrcweir 
55*cdf0e10cSrcweir //text
56*cdf0e10cSrcweir #define SCHATTR_TEXT_START                  (SCHATTR_LEGEND_END + 1)
57*cdf0e10cSrcweir #define SCHATTR_TEXT_DEGREES                SCHATTR_TEXT_START
58*cdf0e10cSrcweir #define SCHATTR_TEXT_STACKED				(SCHATTR_TEXT_START + 1)
59*cdf0e10cSrcweir #define SCHATTR_TEXT_END                    SCHATTR_TEXT_STACKED
60*cdf0e10cSrcweir 
61*cdf0e10cSrcweir // statistic
62*cdf0e10cSrcweir #define SCHATTR_STAT_START                  (SCHATTR_TEXT_END + 1)
63*cdf0e10cSrcweir #define SCHATTR_STAT_AVERAGE                SCHATTR_STAT_START
64*cdf0e10cSrcweir #define SCHATTR_STAT_KIND_ERROR             (SCHATTR_STAT_START + 1)
65*cdf0e10cSrcweir #define SCHATTR_STAT_PERCENT                (SCHATTR_STAT_START + 2)
66*cdf0e10cSrcweir #define SCHATTR_STAT_BIGERROR               (SCHATTR_STAT_START + 3)
67*cdf0e10cSrcweir #define SCHATTR_STAT_CONSTPLUS              (SCHATTR_STAT_START + 4)
68*cdf0e10cSrcweir #define SCHATTR_STAT_CONSTMINUS             (SCHATTR_STAT_START + 5)
69*cdf0e10cSrcweir #define SCHATTR_STAT_INDICATE               (SCHATTR_STAT_START + 6)
70*cdf0e10cSrcweir #define SCHATTR_STAT_RANGE_POS              (SCHATTR_STAT_START + 7)
71*cdf0e10cSrcweir #define SCHATTR_STAT_RANGE_NEG              (SCHATTR_STAT_START + 8)
72*cdf0e10cSrcweir #define SCHATTR_STAT_END                    SCHATTR_STAT_RANGE_NEG
73*cdf0e10cSrcweir 
74*cdf0e10cSrcweir // --------------------------------------------------------
75*cdf0e10cSrcweir // these attributes are for replacement of enum eChartStyle
76*cdf0e10cSrcweir // --------------------------------------------------------
77*cdf0e10cSrcweir 
78*cdf0e10cSrcweir #define SCHATTR_STYLE_START             ( SCHATTR_STAT_END +1 )
79*cdf0e10cSrcweir 
80*cdf0e10cSrcweir // for whole chart
81*cdf0e10cSrcweir #define SCHATTR_STYLE_DEEP              ( SCHATTR_STYLE_START     )
82*cdf0e10cSrcweir #define SCHATTR_STYLE_3D                ( SCHATTR_STYLE_START + 1 )
83*cdf0e10cSrcweir #define SCHATTR_STYLE_VERTICAL          ( SCHATTR_STYLE_START + 2 )
84*cdf0e10cSrcweir 
85*cdf0e10cSrcweir // also for series
86*cdf0e10cSrcweir #define SCHATTR_STYLE_BASETYPE          ( SCHATTR_STYLE_START + 3 )// Line,Area,...,Pie
87*cdf0e10cSrcweir #define SCHATTR_STYLE_LINES             ( SCHATTR_STYLE_START + 4 )// draw line
88*cdf0e10cSrcweir #define SCHATTR_STYLE_PERCENT           ( SCHATTR_STYLE_START + 5 )
89*cdf0e10cSrcweir #define SCHATTR_STYLE_STACKED           ( SCHATTR_STYLE_START + 6 )
90*cdf0e10cSrcweir #define SCHATTR_STYLE_SPLINES           ( SCHATTR_STYLE_START + 7 )
91*cdf0e10cSrcweir 
92*cdf0e10cSrcweir // also for data point
93*cdf0e10cSrcweir #define SCHATTR_STYLE_SYMBOL            ( SCHATTR_STYLE_START + 8 )
94*cdf0e10cSrcweir #define SCHATTR_STYLE_SHAPE				( SCHATTR_STYLE_START + 9 )
95*cdf0e10cSrcweir #define SCHATTR_STYLE_END               ( SCHATTR_STYLE_SHAPE )
96*cdf0e10cSrcweir 
97*cdf0e10cSrcweir // --------------------------------------------------------------------------
98*cdf0e10cSrcweir 
99*cdf0e10cSrcweir #define SCHATTR_AXIS					(SCHATTR_STYLE_END + 1)// see chtmodel.hxx defines CHART_AXIS_PRIMARY_X, etc.
100*cdf0e10cSrcweir //Ummappen:
101*cdf0e10cSrcweir #define SCHATTR_AXIS_START				(SCHATTR_AXIS + 1)
102*cdf0e10cSrcweir //axis scale
103*cdf0e10cSrcweir #define SCHATTR_AXISTYPE				 SCHATTR_AXIS_START
104*cdf0e10cSrcweir #define SCHATTR_AXIS_REVERSE            (SCHATTR_AXIS_START + 1)
105*cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_MIN			(SCHATTR_AXIS_START + 2)
106*cdf0e10cSrcweir #define SCHATTR_AXIS_MIN				(SCHATTR_AXIS_START + 3)
107*cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_MAX	  		(SCHATTR_AXIS_START + 4)
108*cdf0e10cSrcweir #define SCHATTR_AXIS_MAX				(SCHATTR_AXIS_START + 5)
109*cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_STEP_MAIN		(SCHATTR_AXIS_START + 6)
110*cdf0e10cSrcweir #define SCHATTR_AXIS_STEP_MAIN			(SCHATTR_AXIS_START + 7)
111*cdf0e10cSrcweir #define SCHATTR_AXIS_MAIN_TIME_UNIT		(SCHATTR_AXIS_START + 8)
112*cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_STEP_HELP		(SCHATTR_AXIS_START + 9)
113*cdf0e10cSrcweir #define SCHATTR_AXIS_STEP_HELP			(SCHATTR_AXIS_START + 10)
114*cdf0e10cSrcweir #define SCHATTR_AXIS_HELP_TIME_UNIT 	(SCHATTR_AXIS_START + 11)
115*cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_TIME_RESOLUTION   (SCHATTR_AXIS_START + 12)
116*cdf0e10cSrcweir #define SCHATTR_AXIS_TIME_RESOLUTION	(SCHATTR_AXIS_START + 13)
117*cdf0e10cSrcweir #define SCHATTR_AXIS_LOGARITHM			(SCHATTR_AXIS_START + 14)
118*cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_DATEAXIS		(SCHATTR_AXIS_START + 15)
119*cdf0e10cSrcweir #define SCHATTR_AXIS_ALLOW_DATEAXIS		(SCHATTR_AXIS_START + 16)
120*cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_ORIGIN		(SCHATTR_AXIS_START + 17)
121*cdf0e10cSrcweir #define SCHATTR_AXIS_ORIGIN				(SCHATTR_AXIS_START + 18)
122*cdf0e10cSrcweir //axis position
123*cdf0e10cSrcweir #define SCHATTR_AXIS_POSITION_START     (SCHATTR_AXIS_ORIGIN +1)
124*cdf0e10cSrcweir #define SCHATTR_AXIS_TICKS				SCHATTR_AXIS_POSITION_START
125*cdf0e10cSrcweir #define SCHATTR_AXIS_HELPTICKS			(SCHATTR_AXIS_POSITION_START + 1)
126*cdf0e10cSrcweir #define SCHATTR_AXIS_POSITION           (SCHATTR_AXIS_POSITION_START + 2)
127*cdf0e10cSrcweir #define SCHATTR_AXIS_POSITION_VALUE     (SCHATTR_AXIS_POSITION_START + 3)
128*cdf0e10cSrcweir #define SCHATTR_AXIS_CROSSING_MAIN_AXIS_NUMBERFORMAT    (SCHATTR_AXIS_POSITION_START + 4)
129*cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_POSITION     (SCHATTR_AXIS_POSITION_START + 5)
130*cdf0e10cSrcweir #define SCHATTR_AXIS_MARK_POSITION      (SCHATTR_AXIS_POSITION_START + 6)
131*cdf0e10cSrcweir //axis label
132*cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_START        (SCHATTR_AXIS_MARK_POSITION +1)
133*cdf0e10cSrcweir #define SCHATTR_AXIS_SHOWDESCR			SCHATTR_AXIS_LABEL_START
134*cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_ORDER		(SCHATTR_AXIS_LABEL_START + 1)
135*cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_OVERLAP      (SCHATTR_AXIS_LABEL_START + 2)
136*cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_BREAK        (SCHATTR_AXIS_LABEL_START + 3)
137*cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_END          SCHATTR_AXIS_LABEL_BREAK
138*cdf0e10cSrcweir 
139*cdf0e10cSrcweir #define SCHATTR_AXIS_END                SCHATTR_AXIS_LABEL_END
140*cdf0e10cSrcweir 
141*cdf0e10cSrcweir #define SCHATTR_SYMBOL_BRUSH			(SCHATTR_AXIS_END + 1)
142*cdf0e10cSrcweir #define SCHATTR_STOCK_VOLUME			(SCHATTR_AXIS_END + 2)
143*cdf0e10cSrcweir #define SCHATTR_STOCK_UPDOWN			(SCHATTR_AXIS_END + 3)
144*cdf0e10cSrcweir #define SCHATTR_SYMBOL_SIZE				(SCHATTR_AXIS_END + 4)
145*cdf0e10cSrcweir 
146*cdf0e10cSrcweir // non persistent items (binary format)
147*cdf0e10cSrcweir #define SCHATTR_CHARTTYPE_START         (SCHATTR_SYMBOL_SIZE + 1)
148*cdf0e10cSrcweir 
149*cdf0e10cSrcweir // new from New Chart
150*cdf0e10cSrcweir #define SCHATTR_BAR_OVERLAP				(SCHATTR_CHARTTYPE_START )
151*cdf0e10cSrcweir #define SCHATTR_BAR_GAPWIDTH			(SCHATTR_CHARTTYPE_START + 1)
152*cdf0e10cSrcweir #define SCHATTR_BAR_CONNECT			    (SCHATTR_CHARTTYPE_START + 2)
153*cdf0e10cSrcweir #define SCHATTR_NUM_OF_LINES_FOR_BAR    (SCHATTR_CHARTTYPE_START + 3)
154*cdf0e10cSrcweir #define SCHATTR_SPLINE_ORDER            (SCHATTR_CHARTTYPE_START + 4)
155*cdf0e10cSrcweir #define SCHATTR_SPLINE_RESOLUTION       (SCHATTR_CHARTTYPE_START + 5)
156*cdf0e10cSrcweir #define SCHATTR_DIAGRAM_STYLE           (SCHATTR_CHARTTYPE_START + 6)
157*cdf0e10cSrcweir #define SCHATTR_GROUP_BARS_PER_AXIS     (SCHATTR_CHARTTYPE_START + 7)
158*cdf0e10cSrcweir #define SCHATTR_STARTING_ANGLE          (SCHATTR_CHARTTYPE_START + 8)
159*cdf0e10cSrcweir #define SCHATTR_CLOCKWISE               (SCHATTR_CHARTTYPE_START + 9)
160*cdf0e10cSrcweir #define SCHATTR_MISSING_VALUE_TREATMENT     (SCHATTR_CHARTTYPE_START + 10)
161*cdf0e10cSrcweir #define SCHATTR_AVAILABLE_MISSING_VALUE_TREATMENTS (SCHATTR_CHARTTYPE_START + 11)
162*cdf0e10cSrcweir #define SCHATTR_INCLUDE_HIDDEN_CELLS    (SCHATTR_CHARTTYPE_START + 12)
163*cdf0e10cSrcweir 
164*cdf0e10cSrcweir #define SCHATTR_CHARTTYPE_END           SCHATTR_INCLUDE_HIDDEN_CELLS
165*cdf0e10cSrcweir 
166*cdf0e10cSrcweir // items for transporting information to dialogs
167*cdf0e10cSrcweir #define SCHATTR_MISC_START              (SCHATTR_CHARTTYPE_END + 1)
168*cdf0e10cSrcweir #define SCHATTR_AXIS_FOR_ALL_SERIES     (SCHATTR_MISC_START)
169*cdf0e10cSrcweir #define SCHATTR_MISC_END                 SCHATTR_AXIS_FOR_ALL_SERIES
170*cdf0e10cSrcweir 
171*cdf0e10cSrcweir // regression curve equation
172*cdf0e10cSrcweir #define SCHATTR_REGRESSION_START         (SCHATTR_MISC_END + 1)
173*cdf0e10cSrcweir #define SCHATTR_REGRESSION_TYPE           SCHATTR_REGRESSION_START
174*cdf0e10cSrcweir #define SCHATTR_REGRESSION_SHOW_EQUATION (SCHATTR_REGRESSION_START + 1)
175*cdf0e10cSrcweir #define SCHATTR_REGRESSION_SHOW_COEFF    (SCHATTR_REGRESSION_START + 2)
176*cdf0e10cSrcweir #define SCHATTR_REGRESSION_END            SCHATTR_REGRESSION_SHOW_COEFF
177*cdf0e10cSrcweir 
178*cdf0e10cSrcweir #define SCHATTR_END                     SCHATTR_REGRESSION_END
179*cdf0e10cSrcweir 
180*cdf0e10cSrcweir // ============================================================
181*cdf0e10cSrcweir // values for Items
182*cdf0e10cSrcweir // ============================================================
183*cdf0e10cSrcweir 
184*cdf0e10cSrcweir // values for SCHATTR_AXIS_TICKS and SCHATTR_AXIS_HELPTICKS items
185*cdf0e10cSrcweir #define CHAXIS_MARK_BOTH   3
186*cdf0e10cSrcweir #define CHAXIS_MARK_OUTER  2
187*cdf0e10cSrcweir #define CHAXIS_MARK_INNER  1
188*cdf0e10cSrcweir #define CHAXIS_MARK_NONE   0
189*cdf0e10cSrcweir 
190*cdf0e10cSrcweir // values for SCHATTR_AXISTYPE items
191*cdf0e10cSrcweir #define CHART_AXIS_REALNUMBER   0
192*cdf0e10cSrcweir #define CHART_AXIS_PERCENT      1
193*cdf0e10cSrcweir #define CHART_AXIS_CATEGORY     2
194*cdf0e10cSrcweir #define CHART_AXIS_SERIES       3
195*cdf0e10cSrcweir #define CHART_AXIS_DATE         4
196*cdf0e10cSrcweir 
197*cdf0e10cSrcweir // values for SCHATTR_STYLE_SHAPE items
198*cdf0e10cSrcweir #define CHART_SHAPE3D_IGNORE  -2 //intern! (GetChartShapeStyle()!)
199*cdf0e10cSrcweir #define CHART_SHAPE3D_ANY	  -1 //undefinierter Typ (GetChartShapeStyle()!)
200*cdf0e10cSrcweir #define CHART_SHAPE3D_SQUARE   0
201*cdf0e10cSrcweir #define CHART_SHAPE3D_CYLINDER 1
202*cdf0e10cSrcweir #define CHART_SHAPE3D_CONE     2
203*cdf0e10cSrcweir #define CHART_SHAPE3D_PYRAMID  3 //reserved
204*cdf0e10cSrcweir #define CHART_SHAPE3D_HANOI	   4
205*cdf0e10cSrcweir 
206*cdf0e10cSrcweir // values for SCHATTR_AXIS items
207*cdf0e10cSrcweir #define CHART_AXIS_PRIMARY_X	1
208*cdf0e10cSrcweir #define CHART_AXIS_PRIMARY_Y	2
209*cdf0e10cSrcweir #define CHART_AXIS_PRIMARY_Z	3
210*cdf0e10cSrcweir #define CHART_AXIS_SECONDARY_Y	4
211*cdf0e10cSrcweir #define CHART_AXIS_SECONDARY_X	5
212*cdf0e10cSrcweir 
213*cdf0e10cSrcweir // ============================================================
214*cdf0e10cSrcweir // ============================================================
215*cdf0e10cSrcweir 
216*cdf0e10cSrcweir #endif
217