xref: /aoo41x/main/sc/inc/scitems.hxx (revision cdf0e10c)
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  *
5  * Copyright 2000, 2010 Oracle and/or its affiliates.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * This file is part of OpenOffice.org.
10  *
11  * OpenOffice.org is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU Lesser General Public License version 3
13  * only, as published by the Free Software Foundation.
14  *
15  * OpenOffice.org is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU Lesser General Public License version 3 for more details
19  * (a copy is included in the LICENSE file that accompanied this code).
20  *
21  * You should have received a copy of the GNU Lesser General Public License
22  * version 3 along with OpenOffice.org.  If not, see
23  * <http://www.openoffice.org/license.html>
24  * for a copy of the LGPLv3 License.
25  *
26  ************************************************************************/
27 
28 #ifndef SC_ITEMS_HXX
29 #define SC_ITEMS_HXX
30 
31 #ifndef _SVX_SVXIDS_HRC
32 #include <svx/svxids.hrc>
33 #endif
34 
35 //	EditEngine darf nicht ihre eigenen ITEMID's definieren
36 #define _EEITEMID_HXX
37 
38 //--------------------------
39 // Item-IDs fuer UI-MsgPool:
40 //--------------------------
41 
42 //!	sollten auch nach unter 1000 verschoben werden!
43 
44 #define MSGPOOL_START				1100
45 //--------------------------------------
46 #define SCITEM_STRING       		1100
47 #define SCITEM_SEARCHDATA			1101
48 #define SCITEM_SORTDATA				1102
49 #define SCITEM_QUERYDATA			1103
50 #define SCITEM_SUBTDATA     		1104
51 #define SCITEM_CONSOLIDATEDATA      1105
52 #define SCITEM_PIVOTDATA		    1106
53 #define SCITEM_SOLVEDATA            1107
54 #define SCITEM_USERLIST             1108
55 #define SCITEM_PRINTWARN            1109
56 //--------------------------------------
57 #define MSGPOOL_END                 1109
58 
59 //-------------------------
60 // Item-IDs fuer Attribute:
61 //-------------------------
62 #define ATTR_STARTINDEX			100		// Anfang Attribute
63 
64 #define ATTR_PATTERN_START		100		// Anfang Zellattribut-Pattern
65 
66 #define ATTR_FONT				100		// Anfang Zellattribute
67 #define ATTR_FONT_HEIGHT 		101
68 #define ATTR_FONT_WEIGHT		102
69 #define	ATTR_FONT_POSTURE		103
70 #define	ATTR_FONT_UNDERLINE		104
71 #define	ATTR_FONT_OVERLINE		105
72 #define	ATTR_FONT_CROSSEDOUT	106
73 #define ATTR_FONT_CONTOUR		107
74 #define ATTR_FONT_SHADOWED		108
75 #define ATTR_FONT_COLOR			109
76 #define ATTR_FONT_LANGUAGE		110
77 #define ATTR_CJK_FONT			111
78 #define ATTR_CJK_FONT_HEIGHT 	112
79 #define ATTR_CJK_FONT_WEIGHT	113
80 #define	ATTR_CJK_FONT_POSTURE	114
81 #define ATTR_CJK_FONT_LANGUAGE	115
82 #define ATTR_CTL_FONT			116
83 #define ATTR_CTL_FONT_HEIGHT 	117
84 #define ATTR_CTL_FONT_WEIGHT	118
85 #define	ATTR_CTL_FONT_POSTURE	119
86 #define ATTR_CTL_FONT_LANGUAGE	120
87 #define ATTR_FONT_EMPHASISMARK	121
88 #define ATTR_USERDEF			122		// not saved in binary files
89 #define ATTR_FONT_WORDLINE		123
90 #define ATTR_FONT_RELIEF		124
91 #define ATTR_HYPHENATE			125
92 #define ATTR_SCRIPTSPACE		126
93 #define ATTR_HANGPUNCTUATION	127
94 #define ATTR_FORBIDDEN_RULES	128
95 #define	ATTR_HOR_JUSTIFY		129
96 #define ATTR_INDENT				130
97 #define	ATTR_VER_JUSTIFY		131
98 #define ATTR_STACKED            132
99 #define ATTR_ROTATE_VALUE		133
100 #define ATTR_ROTATE_MODE		134
101 #define ATTR_VERTICAL_ASIAN		135
102 #define ATTR_WRITINGDIR			136
103 #define ATTR_LINEBREAK			137
104 #define ATTR_SHRINKTOFIT        138
105 #define ATTR_BORDER_TLBR        139
106 #define ATTR_BORDER_BLTR        140
107 #define ATTR_MARGIN             141
108 #define ATTR_MERGE              142
109 #define ATTR_MERGE_FLAG         143
110 #define ATTR_VALUE_FORMAT       144
111 #define ATTR_LANGUAGE_FORMAT    145
112 #define ATTR_BACKGROUND         146
113 #define ATTR_PROTECTION         147
114 #define ATTR_BORDER             148
115 #define ATTR_BORDER_INNER       149     // innen, wg. Vorlagen-EditDialog
116 #define ATTR_SHADOW             150
117 #define ATTR_VALIDDATA          151
118 #define ATTR_CONDITIONAL        152
119 
120 #define ATTR_PATTERN_END        152     // Ende Zellattribut-Pattern
121 
122 #define ATTR_PATTERN            153
123 										// Seitenattribute
124 #define ATTR_LRSPACE            154     // Editor: PageDesc-TabPage
125 #define ATTR_ULSPACE            155
126 #define ATTR_PAGE               156
127 #define ATTR_PAGE_PAPERTRAY     157
128 #define ATTR_PAGE_PAPERBIN      158
129 #define ATTR_PAGE_SIZE          159
130 #define ATTR_PAGE_MAXSIZE       160
131 #define ATTR_PAGE_HORCENTER     161
132 #define ATTR_PAGE_VERCENTER     162
133 
134 #define ATTR_PAGE_ON            163     // Editor: Header/Footer-Page
135 #define ATTR_PAGE_DYNAMIC       164
136 #define ATTR_PAGE_SHARED        165
137 
138 #define ATTR_PAGE_NOTES         166     // Editor: Tabelle
139 #define ATTR_PAGE_GRID          167
140 #define ATTR_PAGE_HEADERS       168
141 #define ATTR_PAGE_CHARTS        169
142 #define ATTR_PAGE_OBJECTS       170
143 #define ATTR_PAGE_DRAWINGS      171
144 #define ATTR_PAGE_TOPDOWN       172
145 #define ATTR_PAGE_SCALE         173
146 #define ATTR_PAGE_SCALETOPAGES  174
147 #define ATTR_PAGE_FIRSTPAGENO   175
148 
149 #define ATTR_PAGE_PRINTAREA     176     // Editor: Druckbereiche
150 #define ATTR_PAGE_REPEATROW     177
151 #define ATTR_PAGE_REPEATCOL     178
152 #define ATTR_PAGE_PRINTTABLES   179
153 
154 #define ATTR_PAGE_HEADERLEFT    180     // Inhalte der Kopf-/
155 #define ATTR_PAGE_FOOTERLEFT    181     // Fusszeilen (links)
156 #define ATTR_PAGE_HEADERRIGHT   182     // Inhalte der Kopf-/
157 #define ATTR_PAGE_FOOTERRIGHT   183     // Fusszeilen (rechts)
158 #define ATTR_PAGE_HEADERSET     184     // die Sets dazu...
159 #define ATTR_PAGE_FOOTERSET     185
160 
161 #define ATTR_PAGE_FORMULAS      186
162 #define ATTR_PAGE_NULLVALS      187
163 
164 #define ATTR_PAGE_SCALETO       188     // #i8868# scale printout to with/height
165 
166 #define ATTR_ENDINDEX           ATTR_PAGE_SCALETO        // Ende Pool-Range
167 
168 //--------------------------------
169 // Dummy Slot-IDs fuer Dialoge
170 //--------------------------------
171 #define SID_SCATTR_PAGE_NOTES			ATTR_PAGE_NOTES
172 #define SID_SCATTR_PAGE_GRID			ATTR_PAGE_GRID
173 #define SID_SCATTR_PAGE_HEADERS			ATTR_PAGE_HEADERS
174 #define SID_SCATTR_PAGE_CHARTS			ATTR_PAGE_CHARTS
175 #define SID_SCATTR_PAGE_OBJECTS			ATTR_PAGE_OBJECTS
176 #define SID_SCATTR_PAGE_DRAWINGS		ATTR_PAGE_DRAWINGS
177 #define SID_SCATTR_PAGE_TOPDOWN			ATTR_PAGE_TOPDOWN
178 #define SID_SCATTR_PAGE_SCALE			ATTR_PAGE_SCALE
179 #define SID_SCATTR_PAGE_SCALETOPAGES	ATTR_PAGE_SCALETOPAGES
180 #define SID_SCATTR_PAGE_FIRSTPAGENO		ATTR_PAGE_FIRSTPAGENO
181 #define SID_SCATTR_PAGE_PRINTAREA		ATTR_PAGE_PRINTAREA
182 #define SID_SCATTR_PAGE_REPEATROW		ATTR_PAGE_REPEATROW
183 #define SID_SCATTR_PAGE_REPEATCOL		ATTR_PAGE_REPEATCOL
184 #define SID_SCATTR_PAGE_PRINTTABLES		ATTR_PAGE_PRINTTABLES
185 #define SID_SCATTR_PAGE_HEADERLEFT		ATTR_PAGE_HEADERLEFT
186 #define SID_SCATTR_PAGE_FOOTERLEFT		ATTR_PAGE_FOOTERLEFT
187 #define SID_SCATTR_PAGE_HEADERRIGHT		ATTR_PAGE_HEADERRIGHT
188 #define SID_SCATTR_PAGE_FOOTERRIGHT		ATTR_PAGE_FOOTERRIGHT
189 #define	SID_SCATTR_PAGE_FORMULAS		ATTR_PAGE_FORMULAS
190 #define SID_SCATTR_PAGE_NULLVALS	 	ATTR_PAGE_NULLVALS
191 #define SID_SCATTR_PAGE_SCALETO         ATTR_PAGE_SCALETO
192 
193 #endif
194 
195 
196