Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_sch / schattr.hxx
blob88a9be87572c099d4fa99ac043865a3ff7f6f6ac
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: schattr.hxx,v $
10 * $Revision: 1.4 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef _SCHATTR_HXX
32 #define _SCHATTR_HXX
34 #ifndef _SFXDEFS_HXX //autogen
35 #include <bf_sfx2/sfxdefs.hxx>
36 #endif
38 #include "chattr.hxx"
39 namespace binfilter {
41 #define SCHATTR_START 1
43 #define SCHATTR_DATADESCR_START SCHATTR_START
44 #define SCHATTR_DATADESCR_DESCR SCHATTR_DATADESCR_START
45 #define SCHATTR_DATADESCR_SHOW_SYM (SCHATTR_DATADESCR_START + 1) //2
46 #define SCHATTR_DATADESCR_END SCHATTR_DATADESCR_SHOW_SYM
48 #define SCHATTR_LEGEND_START (SCHATTR_DATADESCR_END + 1) //3
49 #define SCHATTR_LEGEND_POS SCHATTR_LEGEND_START
50 #define SCHATTR_LEGEND_END SCHATTR_LEGEND_POS
52 #define SCHATTR_TEXT_START (SCHATTR_LEGEND_END + 1) //4
53 #define SCHATTR_TEXT_ORIENT SCHATTR_TEXT_START
54 #define SCHATTR_TEXT_ORDER (SCHATTR_TEXT_START + 1) //5
55 #define SCHATTR_TEXT_END SCHATTR_TEXT_ORDER
57 #define SCHATTR_Y_AXIS_START (SCHATTR_TEXT_END + 1) //6
58 #define SCHATTR_Y_AXIS_AUTO_MIN SCHATTR_Y_AXIS_START
59 #define SCHATTR_Y_AXIS_MIN (SCHATTR_Y_AXIS_START + 1) //7
60 #define SCHATTR_Y_AXIS_AUTO_MAX (SCHATTR_Y_AXIS_START + 2) //8
61 #define SCHATTR_Y_AXIS_MAX (SCHATTR_Y_AXIS_START + 3) //9
62 #define SCHATTR_Y_AXIS_AUTO_STEP_MAIN (SCHATTR_Y_AXIS_START + 4) //10
63 #define SCHATTR_Y_AXIS_STEP_MAIN (SCHATTR_Y_AXIS_START + 5) //11
64 #define SCHATTR_Y_AXIS_AUTO_STEP_HELP (SCHATTR_Y_AXIS_START + 6) //12
65 #define SCHATTR_Y_AXIS_STEP_HELP (SCHATTR_Y_AXIS_START + 7) //13
66 #define SCHATTR_Y_AXIS_LOGARITHM (SCHATTR_Y_AXIS_START + 8) //14
67 #define SCHATTR_Y_AXIS_AUTO_ORIGIN (SCHATTR_Y_AXIS_START + 9) //15
68 #define SCHATTR_Y_AXIS_ORIGIN (SCHATTR_Y_AXIS_START + 10) //16
69 #define SCHATTR_Y_AXIS_END SCHATTR_Y_AXIS_ORIGIN
71 #define SCHATTR_X_AXIS_START (SCHATTR_Y_AXIS_END + 1) //17
72 #define SCHATTR_X_AXIS_AUTO_MIN SCHATTR_X_AXIS_START //17
73 #define SCHATTR_X_AXIS_MIN (SCHATTR_X_AXIS_START + 1) //18
74 #define SCHATTR_X_AXIS_AUTO_MAX (SCHATTR_X_AXIS_START + 2) //19
75 #define SCHATTR_X_AXIS_MAX (SCHATTR_X_AXIS_START + 3) //20
76 #define SCHATTR_X_AXIS_AUTO_STEP_MAIN (SCHATTR_X_AXIS_START + 4) //21
77 #define SCHATTR_X_AXIS_STEP_MAIN (SCHATTR_X_AXIS_START + 5) //22
78 #define SCHATTR_X_AXIS_AUTO_STEP_HELP (SCHATTR_X_AXIS_START + 6) //23
79 #define SCHATTR_X_AXIS_STEP_HELP (SCHATTR_X_AXIS_START + 7) //24
80 #define SCHATTR_X_AXIS_LOGARITHM (SCHATTR_X_AXIS_START + 8) //25
81 #define SCHATTR_X_AXIS_AUTO_ORIGIN (SCHATTR_X_AXIS_START + 9) //26
82 #define SCHATTR_X_AXIS_ORIGIN (SCHATTR_X_AXIS_START + 10) //27
83 #define SCHATTR_X_AXIS_END SCHATTR_X_AXIS_ORIGIN
85 #define SCHATTR_Z_AXIS_START (SCHATTR_X_AXIS_END + 1) //28
86 #define SCHATTR_Z_AXIS_AUTO_MIN SCHATTR_Z_AXIS_START //28
87 #define SCHATTR_Z_AXIS_MIN (SCHATTR_Z_AXIS_START + 1) //29
88 #define SCHATTR_Z_AXIS_AUTO_MAX (SCHATTR_Z_AXIS_START + 2) //30
89 #define SCHATTR_Z_AXIS_MAX (SCHATTR_Z_AXIS_START + 3) //31
90 #define SCHATTR_Z_AXIS_AUTO_STEP_MAIN (SCHATTR_Z_AXIS_START + 4) //32
91 #define SCHATTR_Z_AXIS_STEP_MAIN (SCHATTR_Z_AXIS_START + 5) //33
92 #define SCHATTR_Z_AXIS_AUTO_STEP_HELP (SCHATTR_Z_AXIS_START + 6) //34
93 #define SCHATTR_Z_AXIS_STEP_HELP (SCHATTR_Z_AXIS_START + 7) //35
94 #define SCHATTR_Z_AXIS_LOGARITHM (SCHATTR_Z_AXIS_START + 8) //36
95 #define SCHATTR_Z_AXIS_AUTO_ORIGIN (SCHATTR_Z_AXIS_START + 9) //37
96 #define SCHATTR_Z_AXIS_ORIGIN (SCHATTR_Z_AXIS_START + 10) //38
97 #define SCHATTR_Z_AXIS_END SCHATTR_Z_AXIS_ORIGIN
99 // miscellaneous
101 #define SCHATTR_AXISTYPE (SCHATTR_Z_AXIS_END + 1) //39
102 #define SCHATTR_DUMMY0 (SCHATTR_Z_AXIS_END + 2) //40
103 #define SCHATTR_DUMMY1 (SCHATTR_Z_AXIS_END + 3) //41
104 #define SCHATTR_DUMMY2 (SCHATTR_Z_AXIS_END + 4) //42
105 #define SCHATTR_DUMMY3 (SCHATTR_Z_AXIS_END + 5) //43
106 #define SCHATTR_DUMMY_END (SCHATTR_Z_AXIS_END + 6) //44
108 #define SCHATTR_STAT_START (SCHATTR_DUMMY_END + 1) //45
109 #define SCHATTR_STAT_AVERAGE SCHATTR_STAT_START
110 #define SCHATTR_STAT_KIND_ERROR (SCHATTR_STAT_START + 1) //46
111 #define SCHATTR_STAT_PERCENT (SCHATTR_STAT_START + 2) //47
112 #define SCHATTR_STAT_BIGERROR (SCHATTR_STAT_START + 3) //48
113 #define SCHATTR_STAT_CONSTPLUS (SCHATTR_STAT_START + 4) //49
114 #define SCHATTR_STAT_CONSTMINUS (SCHATTR_STAT_START + 5) //50
115 #define SCHATTR_STAT_REGRESSTYPE (SCHATTR_STAT_START + 6) //51
116 #define SCHATTR_STAT_INDICATE (SCHATTR_STAT_START + 7) //52
117 #define SCHATTR_STAT_END SCHATTR_STAT_INDICATE
119 #define SCHATTR_TEXT2_START ( SCHATTR_STAT_END + 1) //53
120 #define SCHATTR_TEXT_DEGREES ( SCHATTR_TEXT2_START )
121 #define SCHATTR_TEXT_OVERLAP (SCHATTR_TEXT2_START +1) //54
122 #define SCHATTR_TEXT_DUMMY0 (SCHATTR_TEXT2_START + 2)//55
123 #define SCHATTR_TEXT_DUMMY1 (SCHATTR_TEXT2_START + 3)//56
124 #define SCHATTR_TEXT_DUMMY2 (SCHATTR_TEXT2_START + 4)//57
125 #define SCHATTR_TEXT_DUMMY3 (SCHATTR_TEXT2_START + 5)//58
126 #define SCHATTR_TEXT2_END ( SCHATTR_TEXT_DUMMY3 )
128 // --------------------------------------------------------
129 // these attributes are for replacement of enum eChartStyle
130 // --------------------------------------------------------
132 #define SCHATTR_STYLE_START ( SCHATTR_TEXT2_END +1 ) //59
134 // for whole chart
135 #define SCHATTR_STYLE_DEEP ( SCHATTR_STYLE_START )//59
136 #define SCHATTR_STYLE_3D ( SCHATTR_STYLE_START + 1 )//60
137 #define SCHATTR_STYLE_VERTICAL ( SCHATTR_STYLE_START + 2 )//61
139 // also for series
140 #define SCHATTR_STYLE_BASETYPE ( SCHATTR_STYLE_START + 3 )//62 Line,Area,...,Pie
141 #define SCHATTR_STYLE_LINES ( SCHATTR_STYLE_START + 4 )//63 draw line
142 #define SCHATTR_STYLE_PERCENT ( SCHATTR_STYLE_START + 5 )//64
143 #define SCHATTR_STYLE_STACKED ( SCHATTR_STYLE_START + 6 )//65
144 #define SCHATTR_STYLE_SPLINES ( SCHATTR_STYLE_START + 7 )//66
146 // also for data point
147 #define SCHATTR_STYLE_SYMBOL ( SCHATTR_STYLE_START + 8 )//67
148 #define SCHATTR_STYLE_SHAPE ( SCHATTR_STYLE_START + 9 )//68
149 #define SCHATTR_STYLE_END ( SCHATTR_STYLE_SHAPE )
151 // --------------------------------------------------------------------------
153 #define SCHATTR_AXIS (SCHATTR_STYLE_END + 1)//69 see chtmodel.hxx defines CHART_AXIS_PRIMARY_X, etc.
154 //Ummappen:
155 #define SCHATTR_AXIS_START (SCHATTR_AXIS + 1) //70
156 #define SCHATTR_AXIS_AUTO_MIN SCHATTR_AXIS_START
157 #define SCHATTR_AXIS_MIN (SCHATTR_AXIS_START + 1)//71
158 #define SCHATTR_AXIS_AUTO_MAX (SCHATTR_AXIS_START + 2)//72
159 #define SCHATTR_AXIS_MAX (SCHATTR_AXIS_START + 3)//73
160 #define SCHATTR_AXIS_AUTO_STEP_MAIN (SCHATTR_AXIS_START + 4)//74
161 #define SCHATTR_AXIS_STEP_MAIN (SCHATTR_AXIS_START + 5)//75
162 #define SCHATTR_AXIS_AUTO_STEP_HELP (SCHATTR_AXIS_START + 6)//76
163 #define SCHATTR_AXIS_STEP_HELP (SCHATTR_AXIS_START + 7)//77
164 #define SCHATTR_AXIS_LOGARITHM (SCHATTR_AXIS_START + 8)//78
165 #define SCHATTR_AXIS_AUTO_ORIGIN (SCHATTR_AXIS_START + 9)//79
166 #define SCHATTR_AXIS_ORIGIN (SCHATTR_AXIS_START + 10)//80
167 //Neu:
168 #define SCHATTR_AXIS_TICKS (SCHATTR_AXIS_START + 11)//81
169 #define SCHATTR_AXIS_NUMFMT (SCHATTR_AXIS_START + 12)//82
170 #define SCHATTR_AXIS_NUMFMTPERCENT (SCHATTR_AXIS_START + 13)//83
171 #define SCHATTR_AXIS_SHOWAXIS (SCHATTR_AXIS_START + 14)//84
172 #define SCHATTR_AXIS_SHOWDESCR (SCHATTR_AXIS_START + 15)//85
173 #define SCHATTR_AXIS_SHOWMAINGRID (SCHATTR_AXIS_START + 16)//86
174 #define SCHATTR_AXIS_SHOWHELPGRID (SCHATTR_AXIS_START + 17)//87
175 #define SCHATTR_AXIS_TOPDOWN (SCHATTR_AXIS_START + 18)//88
176 #define SCHATTR_AXIS_HELPTICKS (SCHATTR_AXIS_START + 19)//89
178 #define SCHATTR_AXIS_DUMMY0 (SCHATTR_AXIS_START + 20)//90
179 #define SCHATTR_AXIS_DUMMY1 (SCHATTR_AXIS_START + 21)//91
180 #define SCHATTR_AXIS_DUMMY2 (SCHATTR_AXIS_START + 22)//92
181 #define SCHATTR_AXIS_DUMMY3 (SCHATTR_AXIS_START + 23)//93
182 #define SCHATTR_BAR_OVERLAP (SCHATTR_AXIS_START + 24)//94
183 #define SCHATTR_BAR_GAPWIDTH (SCHATTR_AXIS_START + 25)//95
184 #define SCHATTR_AXIS_END SCHATTR_BAR_GAPWIDTH
186 #define SCHATTR_SYMBOL_BRUSH (SCHATTR_AXIS_END + 1) //96
187 #define SCHATTR_STOCK_VOLUME (SCHATTR_AXIS_END + 2) //97
188 #define SCHATTR_STOCK_UPDOWN (SCHATTR_AXIS_END + 3) //98
189 #define SCHATTR_SYMBOL_SIZE (SCHATTR_AXIS_END + 4) //99
191 // non persistent items (binary format)
192 #define SCHATTR_NONPERSISTENT_START (SCHATTR_SYMBOL_SIZE + 1) //100
193 #define SCHATTR_USER_DEFINED_ATTR SCHATTR_NONPERSISTENT_START //100
194 #define SCHATTR_NONPERSISTENT_END SCHATTR_USER_DEFINED_ATTR
196 #define SCHATTR_END SCHATTR_NONPERSISTENT_END
198 } //namespace binfilter
199 #endif // _SCHATTR_HXX