xref: /trunk/main/sc/inc/scitems.hxx (revision 38d50f7b)
1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 #ifndef SC_ITEMS_HXX
25 #define SC_ITEMS_HXX
26 
27 #ifndef _SVX_SVXIDS_HRC
28 #include <svx/svxids.hrc>
29 #endif
30 
31 //	EditEngine darf nicht ihre eigenen ITEMID's definieren
32 #define _EEITEMID_HXX
33 
34 //--------------------------
35 // Item-IDs fuer UI-MsgPool:
36 //--------------------------
37 
38 //!	sollten auch nach unter 1000 verschoben werden!
39 
40 #define MSGPOOL_START				1100
41 //--------------------------------------
42 #define SCITEM_STRING       		1100
43 #define SCITEM_SEARCHDATA			1101
44 #define SCITEM_SORTDATA				1102
45 #define SCITEM_QUERYDATA			1103
46 #define SCITEM_SUBTDATA     		1104
47 #define SCITEM_CONSOLIDATEDATA      1105
48 #define SCITEM_PIVOTDATA		    1106
49 #define SCITEM_SOLVEDATA            1107
50 #define SCITEM_USERLIST             1108
51 #define SCITEM_PRINTWARN            1109
52 //--------------------------------------
53 #define MSGPOOL_END                 1109
54 
55 //-------------------------
56 // Item-IDs fuer Attribute:
57 //-------------------------
58 #define ATTR_STARTINDEX			100		// Anfang Attribute
59 
60 #define ATTR_PATTERN_START		100		// Anfang Zellattribut-Pattern
61 
62 #define ATTR_FONT				100		// Anfang Zellattribute
63 #define ATTR_FONT_HEIGHT 		101
64 #define ATTR_FONT_WEIGHT		102
65 #define	ATTR_FONT_POSTURE		103
66 #define	ATTR_FONT_UNDERLINE		104
67 #define	ATTR_FONT_OVERLINE		105
68 #define	ATTR_FONT_CROSSEDOUT	106
69 #define ATTR_FONT_CONTOUR		107
70 #define ATTR_FONT_SHADOWED		108
71 #define ATTR_FONT_COLOR			109
72 #define ATTR_FONT_LANGUAGE		110
73 #define ATTR_CJK_FONT			111
74 #define ATTR_CJK_FONT_HEIGHT 	112
75 #define ATTR_CJK_FONT_WEIGHT	113
76 #define	ATTR_CJK_FONT_POSTURE	114
77 #define ATTR_CJK_FONT_LANGUAGE	115
78 #define ATTR_CTL_FONT			116
79 #define ATTR_CTL_FONT_HEIGHT 	117
80 #define ATTR_CTL_FONT_WEIGHT	118
81 #define	ATTR_CTL_FONT_POSTURE	119
82 #define ATTR_CTL_FONT_LANGUAGE	120
83 #define ATTR_FONT_EMPHASISMARK	121
84 #define ATTR_USERDEF			122		// not saved in binary files
85 #define ATTR_FONT_WORDLINE		123
86 #define ATTR_FONT_RELIEF		124
87 #define ATTR_HYPHENATE			125
88 #define ATTR_SCRIPTSPACE		126
89 #define ATTR_HANGPUNCTUATION	127
90 #define ATTR_FORBIDDEN_RULES	128
91 #define	ATTR_HOR_JUSTIFY		129
92 #define ATTR_INDENT				130
93 #define	ATTR_VER_JUSTIFY		131
94 #define ATTR_STACKED            132
95 #define ATTR_ROTATE_VALUE		133
96 #define ATTR_ROTATE_MODE		134
97 #define ATTR_VERTICAL_ASIAN		135
98 #define ATTR_WRITINGDIR			136
99 #define ATTR_LINEBREAK			137
100 #define ATTR_SHRINKTOFIT        138
101 #define ATTR_BORDER_TLBR        139
102 #define ATTR_BORDER_BLTR        140
103 #define ATTR_MARGIN             141
104 #define ATTR_MERGE              142
105 #define ATTR_MERGE_FLAG         143
106 #define ATTR_VALUE_FORMAT       144
107 #define ATTR_LANGUAGE_FORMAT    145
108 #define ATTR_BACKGROUND         146
109 #define ATTR_PROTECTION         147
110 #define ATTR_BORDER             148
111 #define ATTR_BORDER_INNER       149     // innen, wg. Vorlagen-EditDialog
112 #define ATTR_SHADOW             150
113 #define ATTR_VALIDDATA          151
114 #define ATTR_CONDITIONAL        152
115 
116 #define ATTR_PATTERN_END        152     // Ende Zellattribut-Pattern
117 
118 #define ATTR_PATTERN            153
119 										// Seitenattribute
120 #define ATTR_LRSPACE            154     // Editor: PageDesc-TabPage
121 #define ATTR_ULSPACE            155
122 #define ATTR_PAGE               156
123 #define ATTR_PAGE_PAPERTRAY     157
124 #define ATTR_PAGE_PAPERBIN      158
125 #define ATTR_PAGE_SIZE          159
126 #define ATTR_PAGE_MAXSIZE       160
127 #define ATTR_PAGE_HORCENTER     161
128 #define ATTR_PAGE_VERCENTER     162
129 
130 #define ATTR_PAGE_ON            163     // Editor: Header/Footer-Page
131 #define ATTR_PAGE_DYNAMIC       164
132 #define ATTR_PAGE_SHARED        165
133 
134 #define ATTR_PAGE_NOTES         166     // Editor: Tabelle
135 #define ATTR_PAGE_GRID          167
136 #define ATTR_PAGE_HEADERS       168
137 #define ATTR_PAGE_CHARTS        169
138 #define ATTR_PAGE_OBJECTS       170
139 #define ATTR_PAGE_DRAWINGS      171
140 #define ATTR_PAGE_TOPDOWN       172
141 #define ATTR_PAGE_SCALE         173
142 #define ATTR_PAGE_SCALETOPAGES  174
143 #define ATTR_PAGE_FIRSTPAGENO   175
144 
145 #define ATTR_PAGE_PRINTAREA     176     // Editor: Druckbereiche
146 #define ATTR_PAGE_REPEATROW     177
147 #define ATTR_PAGE_REPEATCOL     178
148 #define ATTR_PAGE_PRINTTABLES   179
149 
150 #define ATTR_PAGE_HEADERLEFT    180     // Inhalte der Kopf-/
151 #define ATTR_PAGE_FOOTERLEFT    181     // Fusszeilen (links)
152 #define ATTR_PAGE_HEADERRIGHT   182     // Inhalte der Kopf-/
153 #define ATTR_PAGE_FOOTERRIGHT   183     // Fusszeilen (rechts)
154 #define ATTR_PAGE_HEADERSET     184     // die Sets dazu...
155 #define ATTR_PAGE_FOOTERSET     185
156 
157 #define ATTR_PAGE_FORMULAS      186
158 #define ATTR_PAGE_NULLVALS      187
159 
160 #define ATTR_PAGE_SCALETO       188     // #i8868# scale printout to with/height
161 
162 #define ATTR_ENDINDEX           ATTR_PAGE_SCALETO        // Ende Pool-Range
163 
164 //--------------------------------
165 // Dummy Slot-IDs fuer Dialoge
166 //--------------------------------
167 #define SID_SCATTR_PAGE_NOTES			ATTR_PAGE_NOTES
168 #define SID_SCATTR_PAGE_GRID			ATTR_PAGE_GRID
169 #define SID_SCATTR_PAGE_HEADERS			ATTR_PAGE_HEADERS
170 #define SID_SCATTR_PAGE_CHARTS			ATTR_PAGE_CHARTS
171 #define SID_SCATTR_PAGE_OBJECTS			ATTR_PAGE_OBJECTS
172 #define SID_SCATTR_PAGE_DRAWINGS		ATTR_PAGE_DRAWINGS
173 #define SID_SCATTR_PAGE_TOPDOWN			ATTR_PAGE_TOPDOWN
174 #define SID_SCATTR_PAGE_SCALE			ATTR_PAGE_SCALE
175 #define SID_SCATTR_PAGE_SCALETOPAGES	ATTR_PAGE_SCALETOPAGES
176 #define SID_SCATTR_PAGE_FIRSTPAGENO		ATTR_PAGE_FIRSTPAGENO
177 #define SID_SCATTR_PAGE_PRINTAREA		ATTR_PAGE_PRINTAREA
178 #define SID_SCATTR_PAGE_REPEATROW		ATTR_PAGE_REPEATROW
179 #define SID_SCATTR_PAGE_REPEATCOL		ATTR_PAGE_REPEATCOL
180 #define SID_SCATTR_PAGE_PRINTTABLES		ATTR_PAGE_PRINTTABLES
181 #define SID_SCATTR_PAGE_HEADERLEFT		ATTR_PAGE_HEADERLEFT
182 #define SID_SCATTR_PAGE_FOOTERLEFT		ATTR_PAGE_FOOTERLEFT
183 #define SID_SCATTR_PAGE_HEADERRIGHT		ATTR_PAGE_HEADERRIGHT
184 #define SID_SCATTR_PAGE_FOOTERRIGHT		ATTR_PAGE_FOOTERRIGHT
185 #define	SID_SCATTR_PAGE_FORMULAS		ATTR_PAGE_FORMULAS
186 #define SID_SCATTR_PAGE_NULLVALS	 	ATTR_PAGE_NULLVALS
187 #define SID_SCATTR_PAGE_SCALETO         ATTR_PAGE_SCALETO
188 
189 #endif
190 
191 
192