sync master with lastest vba changes
[ooovba.git] / binfilter / inc / bf_sch / pairs.hxx
blob837e9d1157e14386422e145e64dd0de556ade0d4
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: pairs.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 ************************************************************************/
30 #ifndef _SVX_SVXIDS_HRC
31 #include <bf_svx/svxids.hrc>
32 #endif
34 #ifndef _SFXDEFS_HXX //autogen
35 #include <bf_sfx2/sfxdefs.hxx>
36 #endif
37 #ifndef _XDEF_HXX //autogen
38 #include <bf_svx/xdef.hxx>
39 #endif
40 #ifndef _SVDDEF_HXX //autogen
41 #include <bf_svx/svddef.hxx>
42 #endif
43 #ifndef _EEITEM_HXX //autogen
44 #include <bf_svx/eeitem.hxx>
45 #endif
47 #ifndef _SFXMODULE_HXX //autogen
48 #include <bf_sfx2/module.hxx>
49 #endif
50 #ifndef _TOOLS_RESMGR_HXX //autogen
51 #include <tools/resmgr.hxx>
52 #endif
56 #include "schattr.hxx"
57 #include "app.hrc" // z.Z. fuer SID_TEXTBREAK
58 namespace binfilter {
61 const USHORT nTitleWhichPairs[] =
63 SCHATTR_TEXT_ORIENT, SCHATTR_TEXT_ORIENT, // 4 sch/schattr.hxx
64 SCHATTR_TEXT_DEGREES,SCHATTR_TEXT_DEGREES, // 53 sch/schattr.hxx
65 SCHATTR_USER_DEFINED_ATTR, SCHATTR_USER_DEFINED_ATTR, // 100 sch/schattr.hxx
66 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 bf_svx/xdef.hxx
67 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1018 - 1046 bf_svx/xdef.hxx
68 SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST, // 1067 - 1078 bf_svx/svddef.hxx
69 EE_ITEMS_START, EE_ITEMS_END, // 3994 - 4037 bf_svx/eeitem.hxx
73 const USHORT nAxisWhichPairs[] =
75 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 bf_svx/xdef.hxx
76 EE_ITEMS_START, EE_ITEMS_END, // 3994 - 4037 bf_svx/eeitem.hxx
77 SID_ATTR_NUMBERFORMAT_VALUE, SID_ATTR_NUMBERFORMAT_VALUE, // 10585 - 10585 bf_svx/svxids.hrc
78 SID_ATTR_NUMBERFORMAT_SOURCE, SID_ATTR_NUMBERFORMAT_SOURCE, // 11432 bf_svx/svxids.hrc
79 SCHATTR_AXISTYPE, SCHATTR_AXISTYPE, // 39 sch/schattr.hxx
80 SCHATTR_TEXT_START, SCHATTR_TEXT_END, // 4 - 6 sch/schattr.hxx
81 SCHATTR_TEXT_DEGREES,SCHATTR_TEXT_DEGREES, // 53 sch/schattr.hxx
82 SCHATTR_TEXT_OVERLAP, SCHATTR_TEXT_OVERLAP, // 54 sch/schattr.hxx
83 SCHATTR_AXIS_START, SCHATTR_AXIS_END, // 70 - 95 sch/schattr.hxx
84 SCHATTR_USER_DEFINED_ATTR, SCHATTR_USER_DEFINED_ATTR, // 100 sch/schattr.hxx
85 SID_TEXTBREAK, SID_TEXTBREAK, // 30587 sch/app.hrc
88 const USHORT nAllAxisWhichPairs[] =
90 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 bf_svx/xdef.hxx
91 EE_ITEMS_START, EE_ITEMS_END, // 3994 - 4037 bf_svx/eeitem.hxx
92 SCHATTR_TEXT_ORIENT, SCHATTR_TEXT_ORIENT, // 4 sch/schattr.hxx
93 SCHATTR_TEXT_DEGREES,SCHATTR_TEXT_DEGREES, // 53 sch/schattr.hxx
94 SCHATTR_TEXT_OVERLAP, SCHATTR_TEXT_OVERLAP, // 54 sch/schattr.hxx
95 SCHATTR_AXIS_SHOWDESCR, SCHATTR_AXIS_SHOWDESCR, // 85 sch/schattr.hxx
96 SID_TEXTBREAK, SID_TEXTBREAK, // 30587 sch/app.hrc
100 const USHORT nGridWhichPairs[] =
102 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 bf_svx/xdef.hxx
103 SCHATTR_USER_DEFINED_ATTR, SCHATTR_USER_DEFINED_ATTR, // 100 sch/schattr.hxx
107 const USHORT nChartWhichPairs[] =
109 SCHATTR_STYLE_START,SCHATTR_STYLE_END, // 59 - 68 sch/schattr.hxx
110 SCHATTR_USER_DEFINED_ATTR, SCHATTR_USER_DEFINED_ATTR, // 100 sch/schattr.hxx
113 const USHORT nDiagramAreaWhichPairs[] =
115 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 bf_svx/xdef.hxx
116 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1018 - 1046 bf_svx/xdef.hxx
117 SCHATTR_USER_DEFINED_ATTR, SCHATTR_USER_DEFINED_ATTR, // 100 sch/schattr.hxx
120 const USHORT nAreaAndChartWhichPairs[] = //Diese Pairs umfassen Chart und Area-Whichpairs!!!
122 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 bf_svx/xdef.hxx
123 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1018 - 1046 bf_svx/xdef.hxx
124 SCHATTR_STYLE_START,SCHATTR_STYLE_END, // 59 - 68 sch/schattr.hxx
125 SCHATTR_USER_DEFINED_ATTR, SCHATTR_USER_DEFINED_ATTR, // 100 sch/schattr.hxx
128 const USHORT nLegendWhichPairs[] =
130 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 bf_svx/xdef.hxx
131 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1018 - 1046 bf_svx/xdef.hxx
132 SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST, // 1067 - 1078 bf_svx/svddef.hxx
133 EE_ITEMS_START, EE_ITEMS_END, // 3994 - 4037 bf_svx/eeitem.hxx
134 SCHATTR_LEGEND_START, SCHATTR_LEGEND_END, // 3 - 3 sch/schattr.hxx
135 SCHATTR_USER_DEFINED_ATTR, SCHATTR_USER_DEFINED_ATTR, // 100 sch/schattr.hxx
139 #define CHART_ROW_WHICHPAIRS \
140 XATTR_LINE_FIRST, XATTR_LINE_LAST, /* 1000 - 1016 bf_svx/xdef.hxx */ \
141 XATTR_FILL_FIRST, XATTR_FILL_LAST, /* 1018 - 1046 bf_svx/xdef.hxx */ \
142 EE_ITEMS_START, EE_ITEMS_END, /* 3994 - 4037 bf_svx/eeitem.hxx */ \
143 SCHATTR_DATADESCR_START, SCHATTR_DATADESCR_END, /* 1 - 2 sch/schattr.hxx*/ \
144 SCHATTR_DUMMY0, SCHATTR_DUMMY0, /* 40 sch/schattr.hxx*/ \
145 SCHATTR_DUMMY1, SCHATTR_DUMMY1, /* 41 sch/schattr.hxx*/ \
146 SCHATTR_STAT_START, SCHATTR_STAT_END, /* 45 - 52 sch/schattr.hxx*/ \
147 SCHATTR_STYLE_START,SCHATTR_STYLE_END, /* 59 - 68 sch/schattr.hxx*/ \
148 SCHATTR_AXIS,SCHATTR_AXIS, /* 69 sch/schattr.hxx*/ \
149 SCHATTR_SYMBOL_BRUSH,SCHATTR_SYMBOL_BRUSH, /* 96 sch/schattr.hxx*/ \
150 SCHATTR_SYMBOL_SIZE,SCHATTR_USER_DEFINED_ATTR, /* 99 - 100 sch/schattr.hxx*/ \
151 SDRATTR_3D_FIRST, SDRATTR_3D_LAST /* 1244 - 1334 bf_svx/svddef.hxx */
153 const USHORT nRowWhichPairs[] =
155 CHART_ROW_WHICHPAIRS,0
158 const USHORT nAreaWhichPairs[] =
160 XATTR_LINE_FIRST, XATTR_LINE_LAST, // 1000 - 1016 bf_svx/xdef.hxx
161 XATTR_FILL_FIRST, XATTR_FILL_LAST, // 1000 - 1016 bf_svx/xdef.hxx
162 SDRATTR_SHADOW_FIRST, SDRATTR_SHADOW_LAST, // 1067 - 1078 bf_svx/svddef.hxx
163 SCHATTR_USER_DEFINED_ATTR, SCHATTR_USER_DEFINED_ATTR, // 100 sch/schattr.hxx
167 const USHORT nTextWhichPairs[] =
169 EE_ITEMS_START, EE_ITEMS_END, // 3994 - 4037 bf_svx/eeitem.hxx
170 SCHATTR_TEXT_ORIENT, SCHATTR_TEXT_ORIENT, // 4 sch/schattr.hxx
171 SCHATTR_TEXT_DEGREES,SCHATTR_TEXT_DEGREES, // 53 sch/schattr.hxx
172 SCHATTR_USER_DEFINED_ATTR, SCHATTR_USER_DEFINED_ATTR, // 100 sch/schattr.hxx
176 const USHORT nTextOrientWhichPairs[] =
178 EE_ITEMS_START, EE_ITEMS_END, // 3994 - 4037 bf_svx/eeitem.hxx
179 SCHATTR_TEXT_ORIENT, SCHATTR_TEXT_ORIENT, // 4 sch/schattr.hxx
180 SCHATTR_TEXT_DEGREES,SCHATTR_TEXT_DEGREES, // 53 sch/schattr.hxx
184 const USHORT nStatWhichPairs[]=
186 SCHATTR_STAT_START, SCHATTR_STAT_END, // 45 - 52 sch/schattr.hxx
191 } //namespace binfilter