1*de7b3f82SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*de7b3f82SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*de7b3f82SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*de7b3f82SAndrew Rist  * distributed with this work for additional information
6*de7b3f82SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*de7b3f82SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*de7b3f82SAndrew Rist  * "License"); you may not use this file except in compliance
9*de7b3f82SAndrew Rist  * with the License.  You may obtain a copy of the License at
10*de7b3f82SAndrew Rist  *
11*de7b3f82SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*de7b3f82SAndrew Rist  *
13*de7b3f82SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*de7b3f82SAndrew Rist  * software distributed under the License is distributed on an
15*de7b3f82SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*de7b3f82SAndrew Rist  * KIND, either express or implied.  See the License for the
17*de7b3f82SAndrew Rist  * specific language governing permissions and limitations
18*de7b3f82SAndrew Rist  * under the License.
19*de7b3f82SAndrew Rist  *
20*de7b3f82SAndrew Rist  *************************************************************/
21*de7b3f82SAndrew Rist 
22*de7b3f82SAndrew Rist 
23cdf0e10cSrcweir #ifndef CHARTSFXITEMIDS_HXX
24cdf0e10cSrcweir #define CHARTSFXITEMIDS_HXX
25cdf0e10cSrcweir 
26cdf0e10cSrcweir // ============================================================
27cdf0e10cSrcweir // SCHATTR
28cdf0e10cSrcweir // ============================================================
29cdf0e10cSrcweir 
30cdf0e10cSrcweir #define SCHATTR_START						1
31cdf0e10cSrcweir 
32cdf0e10cSrcweir #define SCHATTR_DATADESCR_START	   			SCHATTR_START
33cdf0e10cSrcweir #define SCHATTR_DATADESCR_SHOW_NUMBER 		SCHATTR_DATADESCR_START
34cdf0e10cSrcweir #define SCHATTR_DATADESCR_SHOW_PERCENTAGE	(SCHATTR_DATADESCR_START + 1)
35cdf0e10cSrcweir #define SCHATTR_DATADESCR_SHOW_CATEGORY		(SCHATTR_DATADESCR_START + 2)
36cdf0e10cSrcweir #define SCHATTR_DATADESCR_SHOW_SYMBOL		(SCHATTR_DATADESCR_START + 3)
37cdf0e10cSrcweir #define SCHATTR_DATADESCR_SEPARATOR         (SCHATTR_DATADESCR_START + 4)
38cdf0e10cSrcweir #define SCHATTR_DATADESCR_PLACEMENT         (SCHATTR_DATADESCR_START + 5)
39cdf0e10cSrcweir #define SCHATTR_DATADESCR_AVAILABLE_PLACEMENTS   (SCHATTR_DATADESCR_START + 6)
40cdf0e10cSrcweir #define SCHATTR_DATADESCR_NO_PERCENTVALUE   (SCHATTR_DATADESCR_START + 7) //percentage values should not be offered
41cdf0e10cSrcweir #define SCHATTR_PERCENT_NUMBERFORMAT_VALUE  (SCHATTR_DATADESCR_START + 8)
42cdf0e10cSrcweir #define SCHATTR_PERCENT_NUMBERFORMAT_SOURCE (SCHATTR_DATADESCR_START + 9)
43cdf0e10cSrcweir #define SCHATTR_DATADESCR_END               SCHATTR_PERCENT_NUMBERFORMAT_SOURCE
44cdf0e10cSrcweir 
45cdf0e10cSrcweir //legend
46cdf0e10cSrcweir #define SCHATTR_LEGEND_START	   			(SCHATTR_DATADESCR_END + 1)
47cdf0e10cSrcweir #define SCHATTR_LEGEND_POS		   			SCHATTR_LEGEND_START
48cdf0e10cSrcweir #define SCHATTR_LEGEND_SHOW		   			(SCHATTR_LEGEND_START + 1)
49cdf0e10cSrcweir #define SCHATTR_LEGEND_END		 			SCHATTR_LEGEND_SHOW
50cdf0e10cSrcweir 
51cdf0e10cSrcweir //text
52cdf0e10cSrcweir #define SCHATTR_TEXT_START                  (SCHATTR_LEGEND_END + 1)
53cdf0e10cSrcweir #define SCHATTR_TEXT_DEGREES                SCHATTR_TEXT_START
54cdf0e10cSrcweir #define SCHATTR_TEXT_STACKED				(SCHATTR_TEXT_START + 1)
55cdf0e10cSrcweir #define SCHATTR_TEXT_END                    SCHATTR_TEXT_STACKED
56cdf0e10cSrcweir 
57cdf0e10cSrcweir // statistic
58cdf0e10cSrcweir #define SCHATTR_STAT_START                  (SCHATTR_TEXT_END + 1)
59cdf0e10cSrcweir #define SCHATTR_STAT_AVERAGE                SCHATTR_STAT_START
60cdf0e10cSrcweir #define SCHATTR_STAT_KIND_ERROR             (SCHATTR_STAT_START + 1)
61cdf0e10cSrcweir #define SCHATTR_STAT_PERCENT                (SCHATTR_STAT_START + 2)
62cdf0e10cSrcweir #define SCHATTR_STAT_BIGERROR               (SCHATTR_STAT_START + 3)
63cdf0e10cSrcweir #define SCHATTR_STAT_CONSTPLUS              (SCHATTR_STAT_START + 4)
64cdf0e10cSrcweir #define SCHATTR_STAT_CONSTMINUS             (SCHATTR_STAT_START + 5)
65cdf0e10cSrcweir #define SCHATTR_STAT_INDICATE               (SCHATTR_STAT_START + 6)
66cdf0e10cSrcweir #define SCHATTR_STAT_RANGE_POS              (SCHATTR_STAT_START + 7)
67cdf0e10cSrcweir #define SCHATTR_STAT_RANGE_NEG              (SCHATTR_STAT_START + 8)
68cdf0e10cSrcweir #define SCHATTR_STAT_END                    SCHATTR_STAT_RANGE_NEG
69cdf0e10cSrcweir 
70cdf0e10cSrcweir // --------------------------------------------------------
71cdf0e10cSrcweir // these attributes are for replacement of enum eChartStyle
72cdf0e10cSrcweir // --------------------------------------------------------
73cdf0e10cSrcweir 
74cdf0e10cSrcweir #define SCHATTR_STYLE_START             ( SCHATTR_STAT_END +1 )
75cdf0e10cSrcweir 
76cdf0e10cSrcweir // for whole chart
77cdf0e10cSrcweir #define SCHATTR_STYLE_DEEP              ( SCHATTR_STYLE_START     )
78cdf0e10cSrcweir #define SCHATTR_STYLE_3D                ( SCHATTR_STYLE_START + 1 )
79cdf0e10cSrcweir #define SCHATTR_STYLE_VERTICAL          ( SCHATTR_STYLE_START + 2 )
80cdf0e10cSrcweir 
81cdf0e10cSrcweir // also for series
82cdf0e10cSrcweir #define SCHATTR_STYLE_BASETYPE          ( SCHATTR_STYLE_START + 3 )// Line,Area,...,Pie
83cdf0e10cSrcweir #define SCHATTR_STYLE_LINES             ( SCHATTR_STYLE_START + 4 )// draw line
84cdf0e10cSrcweir #define SCHATTR_STYLE_PERCENT           ( SCHATTR_STYLE_START + 5 )
85cdf0e10cSrcweir #define SCHATTR_STYLE_STACKED           ( SCHATTR_STYLE_START + 6 )
86cdf0e10cSrcweir #define SCHATTR_STYLE_SPLINES           ( SCHATTR_STYLE_START + 7 )
87cdf0e10cSrcweir 
88cdf0e10cSrcweir // also for data point
89cdf0e10cSrcweir #define SCHATTR_STYLE_SYMBOL            ( SCHATTR_STYLE_START + 8 )
90cdf0e10cSrcweir #define SCHATTR_STYLE_SHAPE				( SCHATTR_STYLE_START + 9 )
91cdf0e10cSrcweir #define SCHATTR_STYLE_END               ( SCHATTR_STYLE_SHAPE )
92cdf0e10cSrcweir 
93cdf0e10cSrcweir // --------------------------------------------------------------------------
94cdf0e10cSrcweir 
95cdf0e10cSrcweir #define SCHATTR_AXIS					(SCHATTR_STYLE_END + 1)// see chtmodel.hxx defines CHART_AXIS_PRIMARY_X, etc.
96cdf0e10cSrcweir //Ummappen:
97cdf0e10cSrcweir #define SCHATTR_AXIS_START				(SCHATTR_AXIS + 1)
98cdf0e10cSrcweir //axis scale
99cdf0e10cSrcweir #define SCHATTR_AXISTYPE				 SCHATTR_AXIS_START
100cdf0e10cSrcweir #define SCHATTR_AXIS_REVERSE            (SCHATTR_AXIS_START + 1)
101cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_MIN			(SCHATTR_AXIS_START + 2)
102cdf0e10cSrcweir #define SCHATTR_AXIS_MIN				(SCHATTR_AXIS_START + 3)
103cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_MAX	  		(SCHATTR_AXIS_START + 4)
104cdf0e10cSrcweir #define SCHATTR_AXIS_MAX				(SCHATTR_AXIS_START + 5)
105cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_STEP_MAIN		(SCHATTR_AXIS_START + 6)
106cdf0e10cSrcweir #define SCHATTR_AXIS_STEP_MAIN			(SCHATTR_AXIS_START + 7)
107cdf0e10cSrcweir #define SCHATTR_AXIS_MAIN_TIME_UNIT		(SCHATTR_AXIS_START + 8)
108cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_STEP_HELP		(SCHATTR_AXIS_START + 9)
109cdf0e10cSrcweir #define SCHATTR_AXIS_STEP_HELP			(SCHATTR_AXIS_START + 10)
110cdf0e10cSrcweir #define SCHATTR_AXIS_HELP_TIME_UNIT 	(SCHATTR_AXIS_START + 11)
111cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_TIME_RESOLUTION   (SCHATTR_AXIS_START + 12)
112cdf0e10cSrcweir #define SCHATTR_AXIS_TIME_RESOLUTION	(SCHATTR_AXIS_START + 13)
113cdf0e10cSrcweir #define SCHATTR_AXIS_LOGARITHM			(SCHATTR_AXIS_START + 14)
114cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_DATEAXIS		(SCHATTR_AXIS_START + 15)
115cdf0e10cSrcweir #define SCHATTR_AXIS_ALLOW_DATEAXIS		(SCHATTR_AXIS_START + 16)
116cdf0e10cSrcweir #define SCHATTR_AXIS_AUTO_ORIGIN		(SCHATTR_AXIS_START + 17)
117cdf0e10cSrcweir #define SCHATTR_AXIS_ORIGIN				(SCHATTR_AXIS_START + 18)
118cdf0e10cSrcweir //axis position
119cdf0e10cSrcweir #define SCHATTR_AXIS_POSITION_START     (SCHATTR_AXIS_ORIGIN +1)
120cdf0e10cSrcweir #define SCHATTR_AXIS_TICKS				SCHATTR_AXIS_POSITION_START
121cdf0e10cSrcweir #define SCHATTR_AXIS_HELPTICKS			(SCHATTR_AXIS_POSITION_START + 1)
122cdf0e10cSrcweir #define SCHATTR_AXIS_POSITION           (SCHATTR_AXIS_POSITION_START + 2)
123cdf0e10cSrcweir #define SCHATTR_AXIS_POSITION_VALUE     (SCHATTR_AXIS_POSITION_START + 3)
124cdf0e10cSrcweir #define SCHATTR_AXIS_CROSSING_MAIN_AXIS_NUMBERFORMAT    (SCHATTR_AXIS_POSITION_START + 4)
125cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_POSITION     (SCHATTR_AXIS_POSITION_START + 5)
126cdf0e10cSrcweir #define SCHATTR_AXIS_MARK_POSITION      (SCHATTR_AXIS_POSITION_START + 6)
127cdf0e10cSrcweir //axis label
128cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_START        (SCHATTR_AXIS_MARK_POSITION +1)
129cdf0e10cSrcweir #define SCHATTR_AXIS_SHOWDESCR			SCHATTR_AXIS_LABEL_START
130cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_ORDER		(SCHATTR_AXIS_LABEL_START + 1)
131cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_OVERLAP      (SCHATTR_AXIS_LABEL_START + 2)
132cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_BREAK        (SCHATTR_AXIS_LABEL_START + 3)
133cdf0e10cSrcweir #define SCHATTR_AXIS_LABEL_END          SCHATTR_AXIS_LABEL_BREAK
134cdf0e10cSrcweir 
135cdf0e10cSrcweir #define SCHATTR_AXIS_END                SCHATTR_AXIS_LABEL_END
136cdf0e10cSrcweir 
137cdf0e10cSrcweir #define SCHATTR_SYMBOL_BRUSH			(SCHATTR_AXIS_END + 1)
138cdf0e10cSrcweir #define SCHATTR_STOCK_VOLUME			(SCHATTR_AXIS_END + 2)
139cdf0e10cSrcweir #define SCHATTR_STOCK_UPDOWN			(SCHATTR_AXIS_END + 3)
140cdf0e10cSrcweir #define SCHATTR_SYMBOL_SIZE				(SCHATTR_AXIS_END + 4)
141cdf0e10cSrcweir 
142cdf0e10cSrcweir // non persistent items (binary format)
143cdf0e10cSrcweir #define SCHATTR_CHARTTYPE_START         (SCHATTR_SYMBOL_SIZE + 1)
144cdf0e10cSrcweir 
145cdf0e10cSrcweir // new from New Chart
146cdf0e10cSrcweir #define SCHATTR_BAR_OVERLAP				(SCHATTR_CHARTTYPE_START )
147cdf0e10cSrcweir #define SCHATTR_BAR_GAPWIDTH			(SCHATTR_CHARTTYPE_START + 1)
148cdf0e10cSrcweir #define SCHATTR_BAR_CONNECT			    (SCHATTR_CHARTTYPE_START + 2)
149cdf0e10cSrcweir #define SCHATTR_NUM_OF_LINES_FOR_BAR    (SCHATTR_CHARTTYPE_START + 3)
150cdf0e10cSrcweir #define SCHATTR_SPLINE_ORDER            (SCHATTR_CHARTTYPE_START + 4)
151cdf0e10cSrcweir #define SCHATTR_SPLINE_RESOLUTION       (SCHATTR_CHARTTYPE_START + 5)
152cdf0e10cSrcweir #define SCHATTR_DIAGRAM_STYLE           (SCHATTR_CHARTTYPE_START + 6)
153cdf0e10cSrcweir #define SCHATTR_GROUP_BARS_PER_AXIS     (SCHATTR_CHARTTYPE_START + 7)
154cdf0e10cSrcweir #define SCHATTR_STARTING_ANGLE          (SCHATTR_CHARTTYPE_START + 8)
155cdf0e10cSrcweir #define SCHATTR_CLOCKWISE               (SCHATTR_CHARTTYPE_START + 9)
156cdf0e10cSrcweir #define SCHATTR_MISSING_VALUE_TREATMENT     (SCHATTR_CHARTTYPE_START + 10)
157cdf0e10cSrcweir #define SCHATTR_AVAILABLE_MISSING_VALUE_TREATMENTS (SCHATTR_CHARTTYPE_START + 11)
158cdf0e10cSrcweir #define SCHATTR_INCLUDE_HIDDEN_CELLS    (SCHATTR_CHARTTYPE_START + 12)
159cdf0e10cSrcweir 
160cdf0e10cSrcweir #define SCHATTR_CHARTTYPE_END           SCHATTR_INCLUDE_HIDDEN_CELLS
161cdf0e10cSrcweir 
162cdf0e10cSrcweir // items for transporting information to dialogs
163cdf0e10cSrcweir #define SCHATTR_MISC_START              (SCHATTR_CHARTTYPE_END + 1)
164cdf0e10cSrcweir #define SCHATTR_AXIS_FOR_ALL_SERIES     (SCHATTR_MISC_START)
165cdf0e10cSrcweir #define SCHATTR_MISC_END                 SCHATTR_AXIS_FOR_ALL_SERIES
166cdf0e10cSrcweir 
167cdf0e10cSrcweir // regression curve equation
168cdf0e10cSrcweir #define SCHATTR_REGRESSION_START         (SCHATTR_MISC_END + 1)
169cdf0e10cSrcweir #define SCHATTR_REGRESSION_TYPE           SCHATTR_REGRESSION_START
170cdf0e10cSrcweir #define SCHATTR_REGRESSION_SHOW_EQUATION (SCHATTR_REGRESSION_START + 1)
171cdf0e10cSrcweir #define SCHATTR_REGRESSION_SHOW_COEFF    (SCHATTR_REGRESSION_START + 2)
172cdf0e10cSrcweir #define SCHATTR_REGRESSION_END            SCHATTR_REGRESSION_SHOW_COEFF
173cdf0e10cSrcweir 
174cdf0e10cSrcweir #define SCHATTR_END                     SCHATTR_REGRESSION_END
175cdf0e10cSrcweir 
176cdf0e10cSrcweir // ============================================================
177cdf0e10cSrcweir // values for Items
178cdf0e10cSrcweir // ============================================================
179cdf0e10cSrcweir 
180cdf0e10cSrcweir // values for SCHATTR_AXIS_TICKS and SCHATTR_AXIS_HELPTICKS items
181cdf0e10cSrcweir #define CHAXIS_MARK_BOTH   3
182cdf0e10cSrcweir #define CHAXIS_MARK_OUTER  2
183cdf0e10cSrcweir #define CHAXIS_MARK_INNER  1
184cdf0e10cSrcweir #define CHAXIS_MARK_NONE   0
185cdf0e10cSrcweir 
186cdf0e10cSrcweir // values for SCHATTR_AXISTYPE items
187cdf0e10cSrcweir #define CHART_AXIS_REALNUMBER   0
188cdf0e10cSrcweir #define CHART_AXIS_PERCENT      1
189cdf0e10cSrcweir #define CHART_AXIS_CATEGORY     2
190cdf0e10cSrcweir #define CHART_AXIS_SERIES       3
191cdf0e10cSrcweir #define CHART_AXIS_DATE         4
192cdf0e10cSrcweir 
193cdf0e10cSrcweir // values for SCHATTR_STYLE_SHAPE items
194cdf0e10cSrcweir #define CHART_SHAPE3D_IGNORE  -2 //intern! (GetChartShapeStyle()!)
195cdf0e10cSrcweir #define CHART_SHAPE3D_ANY	  -1 //undefinierter Typ (GetChartShapeStyle()!)
196cdf0e10cSrcweir #define CHART_SHAPE3D_SQUARE   0
197cdf0e10cSrcweir #define CHART_SHAPE3D_CYLINDER 1
198cdf0e10cSrcweir #define CHART_SHAPE3D_CONE     2
199cdf0e10cSrcweir #define CHART_SHAPE3D_PYRAMID  3 //reserved
200cdf0e10cSrcweir #define CHART_SHAPE3D_HANOI	   4
201cdf0e10cSrcweir 
202cdf0e10cSrcweir // values for SCHATTR_AXIS items
203cdf0e10cSrcweir #define CHART_AXIS_PRIMARY_X	1
204cdf0e10cSrcweir #define CHART_AXIS_PRIMARY_Y	2
205cdf0e10cSrcweir #define CHART_AXIS_PRIMARY_Z	3
206cdf0e10cSrcweir #define CHART_AXIS_SECONDARY_Y	4
207cdf0e10cSrcweir #define CHART_AXIS_SECONDARY_X	5
208cdf0e10cSrcweir 
209cdf0e10cSrcweir // ============================================================
210cdf0e10cSrcweir // ============================================================
211cdf0e10cSrcweir 
212cdf0e10cSrcweir #endif
213