Update ooo320-m1
[ooovba.git] / binfilter / inc / bf_sch / chattr.hxx
blob53966344c724fead30204ca2e584a9e03660126f
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: chattr.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 _SCH_CHATTR_HXX
32 #define _SCH_CHATTR_HXX
34 // header for SID_OBJ1_START
35 #ifndef _SFXSIDS_HRC
36 #include <bf_sfx2/sfxsids.hrc>
37 #endif
38 namespace binfilter {
40 /*--------------------------------------------------
42 These Slot-IDs are for internal use only.
43 They are not relevant for the file format
45 --------------------------------------------------*/
47 // SID_OBJ1_START == 30000 + 512
49 #define CHATTR_START (SID_OBJ1_START + 150) // 30662
51 // diagram attributes
52 #define CHATTR_DIAGRAM_START CHATTR_START // 30662
53 #define CHATTR_DIAGRAM_STYLE CHATTR_DIAGRAM_START
54 #define CHATTR_DIAGRAM_GAPWIDTH (CHATTR_DIAGRAM_START + 1)
55 #define CHATTR_DIAGRAM_OVERLAP (CHATTR_DIAGRAM_START + 2)
56 #define CHATTR_DIAGRAM_END CHATTR_DIAGRAM_OVERLAP // 30664
58 // title attributes
59 #define CHATTR_TITLE_START (CHATTR_DIAGRAM_END + 1) // 30665
60 #define CHATTR_TITLE_SHOW_MAIN CHATTR_TITLE_START
61 #define CHATTR_TITLE_MAIN (CHATTR_TITLE_START + 1)
62 #define CHATTR_TITLE_SHOW_SUB (CHATTR_TITLE_START + 2)
63 #define CHATTR_TITLE_SUB (CHATTR_TITLE_START + 3)
64 #define CHATTR_TITLE_SHOW_X_AXIS (CHATTR_TITLE_START + 4)
65 #define CHATTR_TITLE_X_AXIS (CHATTR_TITLE_START + 5)
66 #define CHATTR_TITLE_SHOW_Y_AXIS (CHATTR_TITLE_START + 6)
67 #define CHATTR_TITLE_Y_AXIS (CHATTR_TITLE_START + 7)
68 #define CHATTR_TITLE_SHOW_Z_AXIS (CHATTR_TITLE_START + 8)
69 #define CHATTR_TITLE_Z_AXIS (CHATTR_TITLE_START + 9)
70 #define CHATTR_TITLE_END CHATTR_TITLE_Z_AXIS // 30674
72 // axis and grid attributes
73 #define CHATTR_AXISGRID_START (CHATTR_TITLE_END + 1) // 30675
74 #define CHATTR_AXISGRID_SHOW_X_AXIS CHATTR_AXISGRID_START
75 #define CHATTR_AXISGRID_SHOW_X_MAIN (CHATTR_AXISGRID_START + 1)
76 #define CHATTR_AXISGRID_SHOW_X_HELP (CHATTR_AXISGRID_START + 2)
77 #define CHATTR_AXISGRID_SHOW_X_DESCR (CHATTR_AXISGRID_START + 3)
78 #define CHATTR_AXISGRID_SHOW_Y_AXIS (CHATTR_AXISGRID_START + 4)
79 #define CHATTR_AXISGRID_SHOW_Y_MAIN (CHATTR_AXISGRID_START + 5)
80 #define CHATTR_AXISGRID_SHOW_Y_HELP (CHATTR_AXISGRID_START + 6)
81 #define CHATTR_AXISGRID_SHOW_Y_DESCR (CHATTR_AXISGRID_START + 7)
82 #define CHATTR_AXISGRID_SHOW_Z_AXIS (CHATTR_AXISGRID_START + 8)
83 #define CHATTR_AXISGRID_SHOW_Z_MAIN (CHATTR_AXISGRID_START + 9)
84 #define CHATTR_AXISGRID_SHOW_Z_HELP (CHATTR_AXISGRID_START + 10)
85 #define CHATTR_AXISGRID_SHOW_Z_DESCR (CHATTR_AXISGRID_START + 11)
86 #define CHATTR_AXIS_AUTO_ORIGIN (CHATTR_AXISGRID_START + 12)
87 #define CHATTR_AXISGRID_END CHATTR_AXIS_AUTO_ORIGIN // 30687
89 // legend attributes
90 #define CHATTR_LEGEND_START (CHATTR_AXISGRID_END + 1) // 30688
91 #define CHATTR_LEGEND_POS CHATTR_LEGEND_START
92 #define CHATTR_LEGEND_END CHATTR_LEGEND_POS // 30688
94 // data attributes
95 #define CHATTR_DATA_START (CHATTR_LEGEND_END + 1) // 30689
96 #define CHATTR_DATA_SWITCH CHATTR_DATA_START
97 #define CHATTR_DATA_END CHATTR_DATA_SWITCH // 30689
99 #define CHATTR_AXISGRID_SHOW_2Y_AXIS (CHATTR_DATA_END + 1) // 30690
100 #define CHATTR_AXISGRID_SHOW_2Y_DESCR (CHATTR_DATA_END + 2)
101 #define CHATTR_AXISGRID_SHOW_2X_AXIS (CHATTR_DATA_END + 3)
102 #define CHATTR_AXISGRID_SHOW_2X_DESCR (CHATTR_DATA_END + 4) // 30693
104 #define CHATTR_STYLE_SHAPE (CHATTR_DATA_END + 5) // #67610#
106 #define CHATTR_DEFCOLORS (CHATTR_DATA_END + 6) // ListItem of default colors
108 #define CHATTR_REGRESSION_PROPS (CHATTR_DATA_END + 7) // #70231#
109 #define CHATTR_ERROR_PROPS (CHATTR_DATA_END + 8)
110 #define CHATTR_AVERAGE_PROPS (CHATTR_DATA_END + 9)
112 #define CHATTR_NUM_OF_LINES_FOR_BAR (CHATTR_DATA_END + 10)
114 #define CHATTR_PIE_SEGMENT_OFFSET (CHATTR_DATA_END + 11)
116 #define CHATTR_ADDR_CATEGORIES (CHATTR_DATA_END + 12)
117 #define CHATTR_ADDR_SERIES (CHATTR_DATA_END + 13)
118 #define CHATTR_ADDR_MAIN_TITLE (CHATTR_DATA_END + 14)
119 #define CHATTR_ADDR_SUB_TITLE (CHATTR_DATA_END + 15)
120 #define CHATTR_ADDR_CHART (CHATTR_DATA_END + 16)
121 #define CHATTR_TABLE_NUMBER_LIST (CHATTR_DATA_END + 17)
122 #define CHATTR_EXPORT_TABLE (CHATTR_DATA_END + 18)
123 #define CHATTR_FIRST_COL_LABELS (CHATTR_DATA_END + 19)
124 #define CHATTR_FIRST_ROW_LABELS (CHATTR_DATA_END + 20) // 30709
125 #define CHATTR_SPLINE_ORDER (CHATTR_DATA_END + 21) // 30710
126 #define CHATTR_SPLINE_RESOLUTION (CHATTR_DATA_END + 22) // 30711
127 #define CHATTR_ADDITIONAL_SHAPES (CHATTR_DATA_END + 23) // 30712
129 #define CHATTR_HAS_TRANSLATED_COLS (CHATTR_DATA_END + 24) // 30713
130 #define CHATTR_HAS_TRANSLATED_ROWS (CHATTR_DATA_END + 25) // 30714
131 #define CHATTR_TRANSLATED_COLS (CHATTR_DATA_END + 26) // 30715
132 #define CHATTR_TRANSLATED_ROWS (CHATTR_DATA_END + 27) // 30716
134 #define CHATTR_ATTRIBUTED_DATA_POINTS (CHATTR_DATA_END + 28) // 30717
136 #define CHATTR_END CHATTR_ATTRIBUTED_DATA_POINTS // 30717
138 //Diese Items sollten früher oder später in den Pool als SCHATTR_*
139 //Derzeit werden sie nur für StarOne zum Datenaustauch benutzt,
140 //speichern ist streng verboten , externe Verwendung
141 //(nicht innerhalb des Chart) ebenfalls
143 #define CHATTR_TMP_START CHATTR_DATA_END + 30 // 30719
145 #define CHATTR_BARWIDTH CHATTR_TMP_START
146 #define CHATTR_BARCONNECT CHATTR_TMP_START+1
148 #define CHATTR_TMP_END CHATTR_BARCONNECT // 30720
150 } //namespace binfilter
151 #endif // _SCH_CHATTR_HXX