2 * This file is part of the LibreOffice project.
4 * This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 * This file incorporates work covered by the following license notice:
10 * Licensed to the Apache Software Foundation (ASF) under one or more
11 * contributor license agreements. See the NOTICE file distributed
12 * with this work for additional information regarding copyright
13 * ownership. The ASF licenses this file to you under the Apache
14 * License, Version 2.0 (the "License"); you may not use this file
15 * except in compliance with the License. You may obtain a copy of
16 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
22 #include <sfx2/sfx.hrc> // ->#include <solar.hrc>
23 #include <svx/dialogs.hrc> // ->Svx-IDs
25 #include "sfx2/sfxcommands.h"
26 #include "svx/svxcommands.h"
27 #include "sccommands.h"
30 #define VAR_ARGS 30 // variable Parameter in scfuncs.src
31 #define PAIRED_VAR_ARGS (VAR_ARGS + VAR_ARGS)
35 #define SC_VIEW_START (SID_SC_START)
36 // SC_VIEW_END (SID_SC_START + 99)
37 #define SC_MESSAGE_START (SID_SC_START + 100)
38 // SC_MESSAGE_END (SID_SC_START + 199)
39 #define SC_FUNCTION_START (SID_SC_START + 200)
40 // SC_FUNCTION_END (SID_SC_START + 299)
41 #define SC_PARAM_START (SID_SC_START + 300)
42 // SC_PARAM_END (SID_SC_START + 399)
44 // stay compatible to the past
45 #define SC_RESOURCE_START (RID_APP_START+5000)
48 // calc has a range of 2000 IDs
49 // the functions need 11*90 = 990 IDs
51 #define HID_SC_SHEET_START (HID_SC_START + 1010)
52 #define HID_SC_SHELL_START (HID_SC_START + 1030)
54 // help IDs for templates
55 #define HID_SC_SHEET_CELL_STD (HID_SC_SHEET_START +0 )
56 #define HID_SC_SHEET_CELL_ERG (HID_SC_SHEET_START +1 )
57 #define HID_SC_SHEET_CELL_ERG1 (HID_SC_SHEET_START +2 )
58 #define HID_SC_SHEET_CELL_UEB (HID_SC_SHEET_START +3 )
59 #define HID_SC_SHEET_CELL_UEB1 (HID_SC_SHEET_START +4 )
60 #define HID_SC_SHEET_PAGE_STD (HID_SC_SHEET_START +10 )
61 #define HID_SC_SHEET_PAGE_REP (HID_SC_SHEET_START +11 )
63 // help IDs for shells (helper) (max. 20)
64 #define HID_SCSHELL_DOCSH (HID_SC_SHELL_START +1 )
65 #define HID_SCSHELL_DRAWSH (HID_SC_SHELL_START +2 )
66 #define HID_SCSHELL_DRTXTOB (HID_SC_SHELL_START +3 )
67 #define HID_SCSHELL_PIVOTSH (HID_SC_SHELL_START +4 )
68 #define HID_SCSHELL_PREVWSH (HID_SC_SHELL_START +5 )
69 #define HID_SCSHELL_TABVWSH (HID_SC_SHELL_START +6 )
70 #define HID_SCSHELL_AUDIT (HID_SC_SHELL_START +7 )
71 #define HID_SCSHELL_DRAWFORMSH (HID_SC_SHELL_START +8 )
72 #define HID_SCSHELL_CELLSH (HID_SC_SHELL_START +9 )
73 #define HID_SCSHELL_FORMATSH (HID_SC_SHELL_START +10)
74 #define HID_SCSHELL_OLEOBEJCTSH (HID_SC_SHELL_START +11)
75 #define HID_SCSHELL_CHARTSH (HID_SC_SHELL_START +12)
76 #define HID_SCSHELL_GRAPHIC (HID_SC_SHELL_START +13)
77 #define HID_SCSHELL_PAGEBREAK (HID_SC_SHELL_START +14)
78 #define HID_SCSHELL_MEDIA (HID_SC_SHELL_START +15)
80 // view-functions (max. 100)
81 #define FID_SCALESTATUS (SC_VIEW_START + 10)
82 #define SID_UPDATECHART (SC_VIEW_START + 13)
85 #define SID_SCFORMULAOPTIONS (SC_VIEW_START + 20)
86 #define SID_SCDEFAULTSOPTIONS (SC_VIEW_START + 21)
88 // slot-IDs for attributes
89 #define SID_SCATTR_PROTECTION (SC_VIEW_START + 36) // protection-page
92 #define SID_SCUSERLISTS (SC_VIEW_START + 37) // user defined lists
93 #define RES_TBX_DUMMY (SC_VIEW_START + 38) // dummy-item
94 #define SID_SCVIEWOPTIONS (SC_VIEW_START + 39)
95 #define SID_SCDOCOPTIONS (SC_VIEW_START + 40)
97 // cursor movements as properties:
98 #define SID_CURRENTCELL (SC_VIEW_START + 41)
99 #define SID_CURRENTTAB (SC_VIEW_START + 42)
100 #define SID_CURRENTDOC (SC_VIEW_START + 43)
101 #define SID_CURRENTOBJECT (SC_VIEW_START + 44)
103 // slot-IDs for special toolbox functions:
104 #define SID_NUMBER_CURRENCY (SC_VIEW_START + 45)
105 #define SID_NUMBER_PERCENT (SC_VIEW_START + 46)
107 // "slot" IDs for input images:
108 #define SID_INPUT_FUNCTION (SC_VIEW_START + 47)
109 #define SID_INPUT_SUM (SC_VIEW_START + 48)
110 #define SID_INPUT_EQUAL (SC_VIEW_START + 49)
111 #define SID_INPUT_CANCEL (SC_VIEW_START + 50)
112 #define SID_INPUT_OK (SC_VIEW_START + 51)
114 #define SID_NUMBER_STANDARD (SC_VIEW_START + 52)
115 #define SID_NUMBER_DATE (SC_VIEW_START + 53)
116 #define SID_NUMBER_TWODEC (SC_VIEW_START + 54)
117 #define SID_NUMBER_SCIENTIFIC (SC_VIEW_START + 55)
118 #define SID_NUMBER_TIME (SC_VIEW_START + 56)
119 #define SID_NUMBER_INCDEC (SC_VIEW_START + 57)
120 #define SID_NUMBER_DECDEC (SC_VIEW_START + 58)
123 #define SID_LINKS (SC_VIEW_START + 60)
124 #define SID_INSERT_SIMAGE (SC_VIEW_START + 61)
125 #define SID_INSERT_SMATH (SC_VIEW_START + 63)
126 #define SID_STANDARD_FONTS (SC_VIEW_START + 64)
127 #define SID_MIRROR_VERTICAL (SC_VIEW_START + 65)
128 #define SID_MIRROR_HORIZONTAL (SC_VIEW_START + 66)
129 #define SID_CELL_FORMAT_RESET (SC_VIEW_START + 67)
130 #define SID_SCPRINTOPTIONS (SC_VIEW_START + 68)
131 #define SID_WINDOW_SPLIT (SC_VIEW_START + 69)
132 #define SID_WINDOW_FIX (SC_VIEW_START + 70)
133 #ifdef SID_DRAW_CHART
134 #undef SID_DRAW_CHART
136 #define SID_DRAW_CHART (SC_VIEW_START + 71)
137 #define SID_UPDATETABLINKS (SC_VIEW_START + 72)
140 #define SID_SC_INPUT_SELECTION (SC_VIEW_START + 73)
141 #define SID_SC_INPUT_SELECTIONPOS (SC_VIEW_START + 74)
142 #define SID_SC_INPUT_EDITMODE (SC_VIEW_START + 75)
143 #define SID_SC_INPUT_FMT_EXPAND (SC_VIEW_START + 76)
144 #define SID_SC_INPUT_RANGEFINDER (SC_VIEW_START + 77)
145 #define SID_SC_INPUT_REF_EXPAND (SC_VIEW_START + 78)
146 #define SID_SC_INPUT_MARK_HEADER (SC_VIEW_START + 79)
148 #define SID_REIMPORT_AFTER_LOAD (SC_VIEW_START + 80)
149 #define SID_DRAW_NOTEEDIT (SC_VIEW_START + 81)
151 #define SID_CHOOSE_DESIGN (SC_VIEW_START + 82)
152 #define SID_EURO_CONVERTER (SC_VIEW_START + 83)
153 #define SID_COLLABORATION (SC_VIEW_START + 84)
154 #define SID_EXTERNAL_SOURCE (SC_VIEW_START + 85)
156 #define SID_SC_INPUT_TEXTWYSIWYG (SC_VIEW_START + 86)
158 #define SID_ENABLE_HYPHENATION (SC_VIEW_START + 87)
160 #define SID_RENAME_OBJECT (SC_VIEW_START + 88)
161 #define SID_FOCUS_INPUTLINE (SC_VIEW_START + 89)
162 #define SID_SELECT_TABLES (SC_VIEW_START + 90)
164 // new entry "Filter..." in DP popup menu
165 #define SID_DP_FILTER (SC_VIEW_START + 91)
167 // replace cell contents warning
168 #define SID_SC_INPUT_REPLCELLSWARN (SC_VIEW_START + 92)
170 // additional IDs for list/range validity
171 #define FID_VALID_LISTTYPE (SC_VIEW_START + 93)
173 // #i68101# ID for changing title & description of an object
174 #define SID_TITLE_DESCRIPTION_OBJECT (SC_VIEW_START + 94)
176 // #i59082# assign macro to shape
177 #define SID_ASSIGNMACRO (SC_VIEW_START + 95)
179 // #i66550# hyperlinks in shapes
180 #define SID_DRAW_HLINK_EDIT (SC_VIEW_START + 96)
181 #define SID_DRAW_HLINK_DELETE (SC_VIEW_START + 97)
183 // "Zoom / Synchronize sheets" in options dialog
184 #define SID_SC_OPT_SYNCZOOM (SC_VIEW_START + 98)
186 #define SID_SC_OPT_KEY_BINDING_COMPAT (SC_VIEW_START + 99)
188 // NOTE: last valid ID is (SC_VIEW_START + 99)
192 #define FID_INPUTLINE_STATUS (SC_MESSAGE_START)
193 #define FID_INPUTLINE_ENTER (SC_MESSAGE_START + 1)
194 #define FID_REPAINT (SC_MESSAGE_START + 2)
195 #define FID_DATACHANGED (SC_MESSAGE_START + 3)
196 #define FID_REFMODECHANGED (SC_MESSAGE_START + 4)
197 #define FID_KILLEDITVIEW (SC_MESSAGE_START + 5)
198 #define SID_SOLVE (SC_MESSAGE_START + 6)
199 #define FID_FILTER_OK (SC_MESSAGE_START + 8)
200 #define SC_HINT_DRWLAYER_NEW (SC_MESSAGE_START + 9)
201 #define FID_INPUTLINE_MATRIX (SC_MESSAGE_START + 11)
202 #define SID_DLG_RETOK (SC_MESSAGE_START + 12)
203 #define FID_ANYDATACHANGED (SC_MESSAGE_START + 13)
204 #define SID_STATUS_DOCPOS (SC_MESSAGE_START + 14)
205 #define SID_STATUS_PAGESTYLE (SC_MESSAGE_START + 15)
206 #define SID_STATUS_SELMODE (SC_MESSAGE_START + 16)
207 #define FID_KILLEDITVIEW_NOPAINT (SC_MESSAGE_START + 17)
208 #define SID_DLG_MATRIX (SC_MESSAGE_START + 18)
209 #define SC_HINT_DBAREAS_CHANGED (SC_MESSAGE_START + 19)
210 #define SC_HINT_AREAS_CHANGED (SC_MESSAGE_START + 20)
211 #define SC_HINT_TABLES_CHANGED (SC_MESSAGE_START + 21)
213 #define SID_STATUS_SELMODE_ERG (SC_MESSAGE_START + 22)
214 #define SID_STATUS_SELMODE_ERW (SC_MESSAGE_START + 23)
215 #define SID_STATUS_SELMODE_NORM (SC_MESSAGE_START + 24)
217 #define SID_CHART_SOURCE (SC_MESSAGE_START + 25)
218 #define SID_CHART_NAME (SC_MESSAGE_START + 26)
219 #define SID_CHART_ADDSOURCE (SC_MESSAGE_START + 27)
221 #define SID_AUTO_STYLE (SC_MESSAGE_START + 28)
223 #define FID_INPUTLINE_BLOCK (SC_MESSAGE_START + 29)
225 #define SID_STATUS_SUM (SC_MESSAGE_START + 30)
227 #define SC_HINT_DRAW_CHANGED (SC_MESSAGE_START + 31)
228 #define SC_HINT_DOCNAME_CHANGED (SC_MESSAGE_START + 32)
229 #define SC_HINT_AREALINKS_CHANGED (SC_MESSAGE_START + 33)
230 #define SC_HINT_SHOWRANGEFINDER (SC_MESSAGE_START + 34)
231 #define SC_HINT_DOC_SAVED (SC_MESSAGE_START + 35)
232 #define SC_HINT_FORCESETTAB (SC_MESSAGE_START + 36)
233 #define SID_ENTER_STRING (SC_MESSAGE_START + 37)
235 // messages for opening dialogs:
236 #define SID_OPENDLG_CONSOLIDATE (SC_MESSAGE_START + 50)
237 #define SID_OPENDLG_PIVOTTABLE (SC_MESSAGE_START + 51)
238 #define SID_OPENDLG_FUNCTION (SC_MESSAGE_START + 52)
239 #define SID_OPENDLG_SOLVE (SC_MESSAGE_START + 53)
240 #define SID_OPENDLG_TABOP (SC_MESSAGE_START + 54)
241 #define SID_OPENDLG_CONDFRMT (SC_MESSAGE_START + 59)
242 #define SID_OPENDLG_OPTSOLVER (SC_MESSAGE_START + 60)
243 #define SID_VALIDITY_REFERENCE (SC_MESSAGE_START + 61)
244 #define SID_OPENDLG_CONDFRMT_MANAGER (SC_MESSAGE_START + 62)
245 #define SC_HINT_NAVIGATOR_UPDATEALL (SC_MESSAGE_START + 65)
246 #define SID_OPENDLG_COLORSCALE (SC_MESSAGE_START + 66)
247 #define SID_OPENDLG_DATABAR (SC_MESSAGE_START + 67)
252 #define SID_OPEN_CALC (SC_FUNCTION_START + 4)
253 #define FILE_MENU_END (SC_FUNCTION_START + 20)
255 #define EDIT_MENU_START (FILE_MENU_END)
256 #define FID_DELETE_CELL (EDIT_MENU_START + 2)
257 #define FID_DELETE_TABLE (EDIT_MENU_START + 3)
258 #define FID_FILL_TO_BOTTOM (EDIT_MENU_START + 4)
259 #define FID_FILL_TO_RIGHT (EDIT_MENU_START + 5)
260 #define FID_FILL_TO_TOP (EDIT_MENU_START + 6)
261 #define FID_FILL_TO_LEFT (EDIT_MENU_START + 7)
262 #define FID_FILL_TAB (EDIT_MENU_START + 8)
263 #define FID_FILL_SERIES (EDIT_MENU_START + 9)
264 #define SID_SC_EDIT_OBJECT (EDIT_MENU_START + 14)
265 #define SID_HFEDIT (EDIT_MENU_START + 15)
267 #define SID_DEL_ROWS (EDIT_MENU_START + 16)//JN
268 #define SID_DEL_COLS (EDIT_MENU_START + 17)//JN
270 #define FID_CHG_SHOW (EDIT_MENU_START + 19)
272 #define EDIT_MENU_END (EDIT_MENU_START + 20)
273 #define VIEW_MENU_START (EDIT_MENU_END)
275 #define FID_TOGGLEINPUTLINE (VIEW_MENU_START + 1)
276 #define FID_TOGGLEHEADERS (VIEW_MENU_START + 2)
277 #define FID_SCALE (VIEW_MENU_START + 4)
278 #define FID_TOGGLESYNTAX (VIEW_MENU_START + 5)
279 #define FID_PAGEBREAKMODE (VIEW_MENU_START + 7)
280 #define FID_FUNCTION_BOX (VIEW_MENU_START + 8)
281 #define FID_NORMALVIEWMODE (VIEW_MENU_START + 9)
282 #define FID_TOGGLEFORMULA (VIEW_MENU_START + 10)
284 #define FID_CHG_ACCEPT (VIEW_MENU_START + 18)// DANGER DIRTY ID
285 #define FID_CHG_COMMENT (VIEW_MENU_START + 19)// DANGER DIRTY ID
286 #define VIEW_MENU_END (VIEW_MENU_START + 20)
288 #define INSERT_MENU_START (VIEW_MENU_END)
289 #define FID_INS_ROWBRK (INSERT_MENU_START + 1)
290 #define FID_INS_COLBRK (INSERT_MENU_START + 2)
291 #define FID_DEL_ROWBRK (INSERT_MENU_START + 3)
292 #define FID_DEL_COLBRK (INSERT_MENU_START + 4)
293 #define FID_INS_CELL_CONTENTS (INSERT_MENU_START + 5)
294 #define FID_INS_CELL (INSERT_MENU_START + 6)
295 #define FID_INS_ROW (INSERT_MENU_START + 7)
296 #define FID_INS_COLUMN (INSERT_MENU_START + 8)
297 #define FID_INS_TABLE (INSERT_MENU_START + 9)
298 #define SID_INS_FUNCTION (INSERT_MENU_START + 10)
299 #define FID_DEFINE_NAME (INSERT_MENU_START + 11)
300 #define FID_INSERT_NAME (INSERT_MENU_START + 12)
301 #define FID_USE_NAME (INSERT_MENU_START + 13)
302 #define FID_APPLY_NAME (INSERT_MENU_START + 14)
303 #define FID_INS_TABLE_EXT (INSERT_MENU_START + 15)
304 #define FID_ADD_NAME (INSERT_MENU_START + 16)
305 #define FID_INS_CELLSDOWN (INSERT_MENU_START + 18)
306 #define FID_INS_CELLSRIGHT (INSERT_MENU_START + 19)
307 #define INSERT_MENU_END (INSERT_MENU_START + 20)
309 #define FORMAT_MENU_START (INSERT_MENU_END)
310 #define FID_CELL_FORMAT (FORMAT_MENU_START)
311 #define FID_ROW_HEIGHT (FORMAT_MENU_START + 1)
312 #define FID_ROW_OPT_HEIGHT (FORMAT_MENU_START + 2)
313 #define FID_ROW_HIDE (FORMAT_MENU_START + 3)
314 #define FID_ROW_SHOW (FORMAT_MENU_START + 4)
315 #define FID_COL_WIDTH (FORMAT_MENU_START + 5)
316 #define FID_COL_OPT_WIDTH (FORMAT_MENU_START + 6)
317 #define FID_COL_HIDE (FORMAT_MENU_START + 7)
318 #define FID_COL_SHOW (FORMAT_MENU_START + 8)
319 #define FID_TABLE_HIDE (FORMAT_MENU_START + 9)
320 #define FID_TABLE_SHOW (FORMAT_MENU_START + 10)
321 #define SID_COLORSCALE (FORMAT_MENU_START + 11)
322 #define SID_DATABAR (FORMAT_MENU_START + 12)
323 #define FID_MERGE_ON (FORMAT_MENU_START + 15)
324 #define FID_MERGE_OFF (FORMAT_MENU_START + 16)
325 #define SID_FORMATPAGE (FORMAT_MENU_START + 17)
326 #define SID_TEXT_STANDARD (FORMAT_MENU_START + 18)
327 #define SID_DRAWTEXT_ATTR_DLG (FORMAT_MENU_START + 19)
328 #define FID_TABLE_VISIBLE (FORMAT_MENU_START + 20)
329 #define FID_COL_OPT_DIRECT (FORMAT_MENU_START + 21)
330 #define FORMAT_MENU_END (FORMAT_MENU_START + 22)
332 #define EXTRA_MENU_START (FORMAT_MENU_END)
333 #define FID_AUTO_CALC (EXTRA_MENU_START + 3)
334 #define FID_RECALC (EXTRA_MENU_START + 4)
335 #define FID_PROTECT_TABLE (EXTRA_MENU_START + 6)
336 #define FID_PROTECT_DOC (EXTRA_MENU_START + 7)
337 #define SID_SCOPTIONS (EXTRA_MENU_START + 9)
338 #define SID_SHARE_DOC (EXTRA_MENU_START + 11)
339 #define SID_SCENARIOS (EXTRA_MENU_START + 12)
340 #define SID_ADD_IN_MANAGER (EXTRA_MENU_START + 13)
341 #define SID_PIVOT_RECALC (EXTRA_MENU_START + 14)
342 #define SID_PIVOT_KILL (EXTRA_MENU_START + 15)
344 #define FID_HARD_RECALC (EXTRA_MENU_START + 18)
345 #define FID_AUTOCOMPLETE (EXTRA_MENU_START + 19)
347 #define EXTRA_MENU_END (EXTRA_MENU_START + 20)
349 #define DATA_MENU_START (EXTRA_MENU_END)
350 #define SID_DEFINE_DBNAME (DATA_MENU_START)
351 #define SID_SELECT_DB (DATA_MENU_START + 1)
352 #define SID_SORT (DATA_MENU_START + 2)
353 #define SID_FILTER (DATA_MENU_START + 3)
354 #define SID_SPECIAL_FILTER (DATA_MENU_START + 4)
355 #define SID_AUTO_FILTER (DATA_MENU_START + 5)
356 #define SID_UNFILTER (DATA_MENU_START + 6)
357 #define SID_QUERY (DATA_MENU_START + 7)
358 #define SID_MANAGE_XML_SOURCE (DATA_MENU_START + 8)
359 #define SID_SUBTOTALS (DATA_MENU_START + 13)
360 #define SID_AUTO_OUTLINE (DATA_MENU_START + 14)
361 #define SID_IMPORT_DATA (DATA_MENU_START + 15)
362 #define SID_REIMPORT_DATA (DATA_MENU_START + 16)
363 #define SID_PIVOT_TABLE (DATA_MENU_START + 17)
364 #define SID_TABOP (DATA_MENU_START + 18)
365 #define SID_TEXT_TO_COLUMNS (DATA_MENU_START + 19)
366 #define SID_CONSOLIDATE (DATA_MENU_START + 20)
367 #define SID_AUTOFILTER_HIDE (DATA_MENU_START + 21)
368 #define SID_SBA_IMPORT (DATA_MENU_START + 22)
369 #define SID_SORT_DESCENDING (DATA_MENU_START + 23)
370 #define SID_SORT_ASCENDING (DATA_MENU_START + 24)
371 #define SID_OUTLINE_HIDE (DATA_MENU_START + 25)
372 #define SID_OUTLINE_SHOW (DATA_MENU_START + 26)
373 #define SID_OUTLINE_MAKE (DATA_MENU_START + 27)
374 #define SID_OUTLINE_REMOVE (DATA_MENU_START + 28)
376 #define DATA_MENU_END (DATA_MENU_START + 29)
378 #define TAB_POPUP_START (DATA_MENU_END)
379 #define RID_POPUP_TAB (TAB_POPUP_START)
380 #define FID_TAB_MENU_RENAME (TAB_POPUP_START+1)
381 #define FID_TAB_RENAME (TAB_POPUP_START+2)
382 #define FID_TAB_MOVE (TAB_POPUP_START+3)
383 #define FID_TAB_SELECTALL (TAB_POPUP_START+4)
384 #define FID_TAB_APPEND (TAB_POPUP_START+5)
385 #define FID_TAB_INDEX (TAB_POPUP_START+6)
386 #define FID_TAB_RTL (TAB_POPUP_START+7)
387 #define FID_TAB_DESELECTALL (TAB_POPUP_START+8)
388 #define FID_TAB_MENU_SET_TAB_BG_COLOR (TAB_POPUP_START + 9)
389 #define FID_TAB_SET_TAB_BG_COLOR (TAB_POPUP_START + 10)
390 #define FID_TAB_EVENTS (TAB_POPUP_START+11)
392 #define TAB_POPUP_END (TAB_POPUP_START + 20)
394 #define OBJBAR_FORMAT_START (TAB_POPUP_END)
395 #define SID_ALIGNLEFT (OBJBAR_FORMAT_START+6)
396 #define SID_ALIGNRIGHT (OBJBAR_FORMAT_START+7)
397 #define SID_ALIGNCENTERHOR (OBJBAR_FORMAT_START+8)
398 #define SID_ALIGNBLOCK (OBJBAR_FORMAT_START+9)
399 #define SID_ALIGNTOP (OBJBAR_FORMAT_START+10)
400 #define SID_ALIGNBOTTOM (OBJBAR_FORMAT_START+11)
401 #define SID_ALIGNCENTERVER (OBJBAR_FORMAT_START+12)
402 #define SID_SELECT_SCENARIO (OBJBAR_FORMAT_START+13)
404 #define SID_V_ALIGNCELL (OBJBAR_FORMAT_START+14)
405 #define SID_H_ALIGNCELL (OBJBAR_FORMAT_START+15)
407 #define OBJBAR_FORMAT_END (OBJBAR_FORMAT_START+20)
409 #define RID_INPUTBAR_START (OBJBAR_FORMAT_END)
410 #define RID_INPUTBAR_END (RID_INPUTBAR_START+1)
412 #define DRAW_BAR_START (RID_INPUTBAR_END)
413 #define SID_ANCHOR_PAGE (DRAW_BAR_START+24)
414 #define SID_ANCHOR_CELL (DRAW_BAR_START+25)
415 #define SID_ANCHOR_TOGGLE (DRAW_BAR_START+26)
416 #define SID_ORIGINALSIZE (DRAW_BAR_START+27)
418 #define DRAW_BAR_END (DRAW_BAR_START+50)
420 #define DRAWTEXTBAR_START (DRAW_BAR_END)
421 #define DRAWTEXTBAR_END (DRAWTEXTBAR_START+20)
423 #define DETECTIVE_START (DRAWTEXTBAR_END)
424 #define SID_DETECTIVE_ADD_PRED (DETECTIVE_START)
425 #define SID_DETECTIVE_DEL_PRED (DETECTIVE_START+1)
426 #define SID_DETECTIVE_ADD_SUCC (DETECTIVE_START+2)
427 #define SID_DETECTIVE_DEL_SUCC (DETECTIVE_START+3)
428 #define SID_DETECTIVE_ADD_ERR (DETECTIVE_START+4)
429 #define SID_DETECTIVE_DEL_ALL (DETECTIVE_START+5)
431 #define SID_DETECTIVE_FILLMODE (DETECTIVE_START+6)
432 #define SID_FILL_ADD_PRED (DETECTIVE_START+7)
433 #define SID_FILL_DEL_PRED (DETECTIVE_START+8)
434 #define SID_FILL_ADD_SUCC (DETECTIVE_START+9)
435 #define SID_FILL_DEL_SUCC (DETECTIVE_START+10)
436 #define SID_FILL_NONE (DETECTIVE_START+11)
437 #define SID_FILL_SELECT (DETECTIVE_START+12)
439 #define SID_DETECTIVE_INVALID (DETECTIVE_START+13)
441 #define SID_DETECTIVE_REFRESH (DETECTIVE_START+14)
442 #define SID_DETECTIVE_AUTO (DETECTIVE_START+15)
444 #define SID_DETECTIVE_MARK_PRED (DETECTIVE_START+16)
445 #define SID_DETECTIVE_MARK_SUCC (DETECTIVE_START+17)
447 #define DETECTIVE_END (DETECTIVE_START+20)
449 #define SID_API_SLOTS (DETECTIVE_END)
450 #define SID_INSERT_MATRIX (SID_API_SLOTS+1)
452 #define SID_DELETE_NOTE (SID_API_SLOTS+2)
455 #define SID_PREVIEW_START (SID_API_SLOTS+20)
456 #define SID_PREVIEW_NEXT (SID_PREVIEW_START)
457 #define SID_PREVIEW_PREVIOUS (SID_PREVIEW_START+1)
458 #define SID_PREVIEW_FIRST (SID_PREVIEW_START+2)
459 #define SID_PREVIEW_LAST (SID_PREVIEW_START+3)
460 #define SID_PREVIEW_ZOOMIN (SID_PREVIEW_START+5)
461 #define SID_PREVIEW_ZOOMOUT (SID_PREVIEW_START+6)
462 #define SID_PREVIEW_CLOSE (SID_PREVIEW_START+7)
463 #define SID_PREVIEW_MARGIN (SID_PREVIEW_START+8)
464 #define SID_PREVIEW_SCALINGFACTOR (SID_PREVIEW_START+9)
465 #define SID_PREVIEW_END (SID_PREVIEW_START+20)
467 //from sfx: #define SID_KEYFUNC_START (SID_PREVIEW_END+5)
468 #define SID_CURSORDOWN_SEL (SID_KEYFUNC_START + 0)
469 #define SID_CURSORUP_SEL (SID_KEYFUNC_START + 1)
470 #define SID_CURSORLEFT_SEL (SID_KEYFUNC_START + 2)
471 #define SID_CURSORRIGHT_SEL (SID_KEYFUNC_START + 3)
472 #define SID_CURSORPAGEDOWN_SEL (SID_KEYFUNC_START + 4)
473 #define SID_CURSORPAGEUP_SEL (SID_KEYFUNC_START + 5)
475 #define SID_CURSORPAGELEFT_ (SID_KEYFUNC_START + 6)
476 #define SID_CURSORPAGELEFT_SEL (SID_KEYFUNC_START + 7)
477 #define SID_CURSORPAGERIGHT_ (SID_KEYFUNC_START + 8)
478 #define SID_CURSORPAGERIGHT_SEL (SID_KEYFUNC_START + 9)
480 #define SID_CURSORTOPOFFILE_SEL (SID_KEYFUNC_START + 10)
481 #define SID_CURSORENDOFFILE_SEL (SID_KEYFUNC_START + 11)
482 #define SID_CURSORHOME_SEL (SID_KEYFUNC_START + 12)
483 #define SID_CURSOREND_SEL (SID_KEYFUNC_START + 13)
484 #define SID_CURSORBLKUP (SID_KEYFUNC_START + 14)
485 #define SID_CURSORBLKDOWN (SID_KEYFUNC_START + 15)
486 #define SID_CURSORBLKLEFT (SID_KEYFUNC_START + 16)
487 #define SID_CURSORBLKRIGHT (SID_KEYFUNC_START + 17)
488 #define SID_CURSORBLKUP_SEL (SID_KEYFUNC_START + 18)
489 #define SID_CURSORBLKDOWN_SEL (SID_KEYFUNC_START + 19)
490 #define SID_CURSORBLKLEFT_SEL (SID_KEYFUNC_START + 20)
491 #define SID_CURSORBLKRIGHT_SEL (SID_KEYFUNC_START + 21)
493 #define SID_NEXT_TABLE (SID_KEYFUNC_START + 22)
494 #define SID_PREV_TABLE (SID_KEYFUNC_START + 23)
496 #define SID_NEXT_UNPROTECT (SID_KEYFUNC_START + 24)
497 #define SID_PREV_UNPROTECT (SID_KEYFUNC_START + 25)
499 #define SID_SELECT_COL (SID_KEYFUNC_START + 26)
500 #define SID_SELECT_ROW (SID_KEYFUNC_START + 27)
501 #define SID_SELECT_NONE (SID_KEYFUNC_START + 28)
502 #define SID_ALIGNCURSOR (SID_KEYFUNC_START + 29)
503 #define SID_MARKDATAAREA (SID_KEYFUNC_START + 30)
504 #define SID_SETINPUTMODE (SID_KEYFUNC_START + 31)
505 #define SID_DELETE_CONTENTS (SID_KEYFUNC_START + 32)
507 #define SID_MARKAREA (SID_KEYFUNC_START + 33)
509 #define FID_FILL_AUTO (SID_KEYFUNC_START + 35)
510 #define SID_CANCEL (SID_KEYFUNC_START + 36)
512 #define SID_CURSORENTERUP (SID_KEYFUNC_START + 37)
513 #define SID_CURSORENTERDOWN (SID_KEYFUNC_START + 38)
515 #define SID_MARKARRAYFORMULA (SID_KEYFUNC_START + 39)
517 #define SID_NEXT_TABLE_SEL (SID_KEYFUNC_START + 40)
518 #define SID_PREV_TABLE_SEL (SID_KEYFUNC_START + 41)
520 #define SID_KEYFUNC_END (SID_KEYFUNC_START + 50)
522 #define SID_NEW_SLOTS (SID_KEYFUNC_END)
524 #define SID_NEW_TABLENAME (SID_NEW_SLOTS+1)
526 #define SID_EXPORT_AS_GRAPHIC (SID_NEW_SLOTS+2)
528 #define FID_MERGE_TOGGLE (SID_NEW_SLOTS+10)
529 #define SID_ATTR_ROWHEADERS (SID_NEW_SLOTS+11)
530 #define SID_ATTR_COLHEADERS (SID_NEW_SLOTS+12)
532 #define SID_SC_CELLS (SID_NEW_SLOTS+13)
533 #define SID_SC_RANGE (SID_NEW_SLOTS+14)
534 #define SID_SC_SELECTION (SID_NEW_SLOTS+15)
535 #define SID_SC_CELLTEXT (SID_NEW_SLOTS+16)
537 #define SID_SC_ACTIVECELL (SID_NEW_SLOTS+18)
538 #define SID_SC_ACTIVETAB (SID_NEW_SLOTS+19)
539 #define SID_RANGE_ROW (SID_NEW_SLOTS+20)
540 #define SID_RANGE_COL (SID_NEW_SLOTS+21)
541 #define SID_RANGE_TABLE (SID_NEW_SLOTS+22)
542 #define SID_RANGE_VALUE (SID_NEW_SLOTS+23)
543 #define SID_RANGE_FORMULA (SID_NEW_SLOTS+24)
544 #define SID_RANGE_TEXTVALUE (SID_NEW_SLOTS+26)
545 #define SID_TABLE_ACTIVATE (SID_NEW_SLOTS+27)
546 #define SID_TABLES_GET (SID_NEW_SLOTS+28)
547 #define SID_PROP_INTERIOR (SID_NEW_SLOTS+29)
548 #define SID_PROP_FONT (SID_NEW_SLOTS+30)
550 #define SID_DEFINE_PRINTAREA (SID_NEW_SLOTS+31)
551 #define SID_DELETE_PRINTAREA (SID_NEW_SLOTS+32)
552 #define SID_CHANGE_PRINTAREA (SID_NEW_SLOTS+33)
553 #define SID_OPENDLG_EDIT_PRINTAREA (SID_NEW_SLOTS+34)
555 #define SID_OLE_OBJECT (SID_NEW_SLOTS+35)
556 #define SID_OLE_ACTIVATE (SID_NEW_SLOTS+36)
557 #define SID_OLE_DEACTIVATE (SID_NEW_SLOTS+37)
559 #define SID_TOGGLE_REL (SID_NEW_SLOTS+38)
560 #define SID_DATA_SELECT (SID_NEW_SLOTS+39)
563 #define FID_SEARCH (SID_NEW_SLOTS+40)
564 #define FID_REPEAT_SEARCH (SID_NEW_SLOTS+41)
565 #define FID_REPLACE (SID_NEW_SLOTS+42)
566 #define FID_SEARCH_ALL (SID_NEW_SLOTS+43)
567 #define FID_REPLACE_ALL (SID_NEW_SLOTS+44)
568 #define FID_SEARCH_COUNT (SID_NEW_SLOTS+45)
570 #define SID_SC_SETTEXT (SID_NEW_SLOTS+46)
571 #define SID_RANGE_ADDRESS (SID_NEW_SLOTS+47)
572 #define SID_RANGE_OFFSET (SID_NEW_SLOTS+48)
573 #define SID_NUMBER_FORMAT (SID_NEW_SLOTS+49)
575 #define SID_OLE_SELECT (SID_NEW_SLOTS+50)
576 #define SID_SC_ACTIVEOBJECT (SID_NEW_SLOTS+51)
578 #define SID_RANGE_NOTETEXT (SID_NEW_SLOTS+52)
579 #define FID_INSERT_FILE (SID_NEW_SLOTS+53)
581 #define FID_VALIDATION (SID_NEW_SLOTS+54)
583 // slots for toolbox controller in toolbar
584 #define SID_TBXCTL_INSERT (SID_NEW_SLOTS+55)
585 #define SID_TBXCTL_INSCELLS (SID_NEW_SLOTS+56)
586 #define SID_TBXCTL_INSOBJ (SID_NEW_SLOTS+57)
588 #define SID_DEFINE_COLROWNAMERANGES (SID_NEW_SLOTS+58)
590 #define FID_NOTE_VISIBLE (SID_NEW_SLOTS+59)
592 // items for validation
593 #define FID_VALID_MODE (SID_NEW_SLOTS+60)
594 #define FID_VALID_CONDMODE (SID_NEW_SLOTS+61)
595 #define FID_VALID_VALUE1 (SID_NEW_SLOTS+62)
596 #define FID_VALID_VALUE2 (SID_NEW_SLOTS+63)
597 #define FID_VALID_BLANK (SID_NEW_SLOTS+64)
598 #define FID_VALID_SHOWHELP (SID_NEW_SLOTS+65)
599 #define FID_VALID_HELPTITLE (SID_NEW_SLOTS+66)
600 #define FID_VALID_HELPTEXT (SID_NEW_SLOTS+67)
601 #define FID_VALID_SHOWERR (SID_NEW_SLOTS+68)
602 #define FID_VALID_ERRSTYLE (SID_NEW_SLOTS+69)
603 #define FID_VALID_ERRTITLE (SID_NEW_SLOTS+70)
604 #define FID_VALID_ERRTEXT (SID_NEW_SLOTS+71)
606 #define SID_REFRESH_DBAREA (SID_NEW_SLOTS+72)
607 #define SID_RANGE_REGION (SID_NEW_SLOTS+73)
609 #define FID_FOCUS_POSWND (SID_NEW_SLOTS+74)
611 // single slots for different underline kinds (popup menu)
612 #define SID_ULINE_VAL_NONE (SID_NEW_SLOTS+75)
613 #define SID_ULINE_VAL_SINGLE (SID_NEW_SLOTS+76)
614 #define SID_ULINE_VAL_DOUBLE (SID_NEW_SLOTS+77)
615 #define SID_ULINE_VAL_DOTTED (SID_NEW_SLOTS+78)
617 #define FID_DEL_MANUALBREAKS (SID_NEW_SLOTS+79)
618 #define SID_ADD_PRINTAREA (SID_NEW_SLOTS+80)
619 #define FID_ADJUST_PRINTZOOM (SID_NEW_SLOTS+81)
620 #define FID_RESET_PRINTZOOM (SID_NEW_SLOTS+82)
622 #define SID_TABLES_COUNT (SID_NEW_SLOTS+83)
623 #define SID_ACTIVE_OBJ_NAME (SID_NEW_SLOTS+84)
624 #define SID_OBJECT_LEFT (SID_NEW_SLOTS+85)
625 #define SID_OBJECT_TOP (SID_NEW_SLOTS+86)
626 #define SID_OBJECT_WIDTH (SID_NEW_SLOTS+87)
627 #define SID_OBJECT_HEIGHT (SID_NEW_SLOTS+88)
629 #define SID_PIVOT_CREATE (SID_NEW_SLOTS+89)
630 #define SID_PIVOT_FIELDS (SID_NEW_SLOTS+90)
631 #define SID_PFIELD_NAME (SID_NEW_SLOTS+91)
632 #define SID_PFIELD_ORIENTATION (SID_NEW_SLOTS+92)
633 #define SID_PFIELD_FUNCTION (SID_NEW_SLOTS+93)
634 #define SID_PIVOT_GET (SID_NEW_SLOTS+94)
636 #define SID_DELETE_SCENARIO (SID_NEW_SLOTS+95)
637 #define SID_EDIT_SCENARIO (SID_NEW_SLOTS+96)
638 #define SID_INSERT_FIELD_SHEET (SID_NEW_SLOTS+97)
639 #define SID_INSERT_FIELD_TITLE (SID_NEW_SLOTS+98)
640 #define SID_INSERT_FIELD_DATE_VAR (SID_NEW_SLOTS+99)
644 #define SID_SORT_BYROW (SC_PARAM_START)
645 #define SID_SORT_HASHEADER (SC_PARAM_START+1)
646 #define SID_SORT_CASESENS (SC_PARAM_START+2)
647 #define SID_SORT_ATTRIBS (SC_PARAM_START+3)
648 #define SID_SORT_USERDEF (SC_PARAM_START+4)
649 #define SID_SORT_NATURALSORT (SC_PARAM_START+5)
653 #define RID_OBJECTBAR_APP (SC_RESOURCE_START)
654 #define RID_OBJECTBAR_FORMAT (SC_RESOURCE_START+1)
655 #define RID_POPUP_CELLS (SC_RESOURCE_START+3)
656 #define RID_POPUP_DRAW (SC_RESOURCE_START+4)
657 #define RID_TEXT_TOOLBOX (SC_RESOURCE_START+5)
658 #define RID_OBJECTBAR_PREVIEW (SC_RESOURCE_START+6)
659 #define RID_POPUP_PREVIEW (SC_RESOURCE_START+7)
660 #define RID_POPUP_OLE (SC_RESOURCE_START+8)
661 #define RID_POPUP_CHART (SC_RESOURCE_START+9)
662 #define RID_OUTLINEBITMAPS (SC_RESOURCE_START+12)
663 #define RID_DRAW_WIN (SC_RESOURCE_START+13)
664 #define RID_CNTRLR_WIN (SC_RESOURCE_START+14)
665 #define RID_GLOBSTR (SC_RESOURCE_START+15)
666 #define RID_ALIGNMENT_WIN (SC_RESOURCE_START+19)
667 #define RID_POPUP_PIVOT (SC_RESOURCE_START+21)
668 #define RID_ERRHDLSC (SC_RESOURCE_START+23)
669 #define RID_POPUP_GRAPHIC (SC_RESOURCE_START+24)
670 #define RID_POPUP_DRAWTEXT (SC_RESOURCE_START+29)
671 #define RID_MN_FORMAT_ALGN (SC_RESOURCE_START+30)
672 #define RID_MN_FORMAT_STYLE (SC_RESOURCE_START+31)
673 #define RID_MN_FORMAT_LINESPACE (SC_RESOURCE_START+32)
674 #define RID_POPUP_EDIT (SC_RESOURCE_START+33)
675 #define RID_POPUP_AUDIT (SC_RESOURCE_START+34)
676 #define RID_OBJECTBAR_TOOLS (SC_RESOURCE_START+35)
677 #define RID_SC_FUNCTION_DESCRIPTIONS1 (SC_RESOURCE_START+43)
678 #define RID_SC_FUNCTION_DESCRIPTIONS2 (SC_RESOURCE_START+44)
679 #define RID_POPUP_CONTROL (SC_RESOURCE_START+45)
680 #define RID_POPUP_PAGEBREAK (SC_RESOURCE_START+46)
681 #define RID_POPUP_DRAWFORM (SC_RESOURCE_START+48)
682 #define RID_IMAGELIST_NAVCONT (SC_RESOURCE_START+52)
683 #define RID_DRAW_OBJECTBAR (SC_RESOURCE_START+53)
684 #define RID_GRAPHIC_OBJECTBAR (SC_RESOURCE_START+54)
685 #define RID_MEDIA_OBJECTBAR (SC_RESOURCE_START+60)
686 #define RID_POPUP_MEDIA (SC_RESOURCE_START+61)
687 #define RID_FUNCTION_CATEGORIES (SC_RESOURCE_START+62)
688 #define RID_MN_INSERT_FIELDS (SC_RESOURCE_START+63)
690 #define STR_START (SC_RESOURCE_START+100)
691 #define STR_ROWHEIGHT (STR_START)
692 #define STR_ROWHEIGHT_TITLE (STR_START + 1)
693 #define STR_OPT_ROWHEIGHT (STR_START + 2)
694 #define STR_OPT_ROWHEIGHT_TITLE (STR_START + 3)
695 #define STR_COLWIDTH (STR_START + 4)
696 #define STR_COLWIDTH_TITLE (STR_START + 5)
697 #define STR_OPT_COLWIDTH (STR_START + 6)
698 #define STR_OPT_COLWIDTH_TITLE (STR_START + 7)
699 #define SCSTR_UNDEFINED (STR_START + 8)
700 #define SCSTR_NONAME (STR_START + 9)
701 #define SCSTR_NONE (STR_START + 10)
702 #define SCSTR_FILTER_EMPTY (STR_START + 11)
703 #define SCSTR_FILTER_NOTEMPTY (STR_START + 12)
704 #define SCSTR_COLUMN (STR_START + 13)
705 #define SCSTR_ROW (STR_START + 14)
706 #define SCSTR_NEW (STR_START + 15)
707 #define SCSTR_ADD (STR_START + 16)
708 #define SCSTR_REMOVE (STR_START + 17)
709 #define SCSTR_CANCEL (STR_START + 18)
710 #define SCSTR_MODIFY (STR_START + 19)
711 #define SCSTR_SHOWTABLE (STR_START + 20)
712 #define SCSTR_HIDDENTABLES (STR_START + 21)
713 #define SCSTR_SELECTDB (STR_START + 22)
714 #define SCSTR_AREAS (STR_START + 23)
715 #define SCSTR_TABLE (STR_START + 24)
716 #define SCSTR_NAME (STR_START + 25)
717 #define SCSTR_INSTABLE (STR_START + 26)
718 #define SCSTR_APDTABLE (STR_START + 27)
719 #define SCSTR_RENAMETAB (STR_START + 28)
720 #define STR_INSERTGRAPHIC (STR_START + 29)
721 #define SCSTR_DOCSHELL (STR_START + 32)
722 #define SCSTR_TABVIEWSHELL (STR_START + 33)
723 #define SCSTR_EDITSHELL (STR_START + 34)
724 #define SCSTR_DRAWSHELL (STR_START + 35)
725 #define SCSTR_DRAWTEXTSHELL (STR_START + 36)
726 #define SCSTR_NEWTABLE (STR_START + 37)
727 #define SCSTR_PREVIEWSHELL (STR_START + 38)
729 #define SCSTR_PROTECTDOC (STR_START + 39)
730 #define SCSTR_UNPROTECTDOC (STR_START + 40)
731 #define SCSTR_PROTECTTAB (STR_START + 41)
732 #define SCSTR_UNPROTECTTAB (STR_START + 42)
733 #define SCSTR_PASSWORD (STR_START + 43)
734 #define SCSTR_PASSWORDOPT (STR_START + 44)
735 #define SCSTR_WRONGPASSWORD (STR_START + 45)
737 #define SCSTR_PIVOTSHELL (STR_START + 46)
738 #define SCSTR_END (STR_START + 47)
739 #define SCSTR_STAT_PRINT (STR_START + 48)
741 #define SCSTR_UNKNOWN (STR_START + 49)
742 #define SCSTR_CHAR_ATTRS (STR_START + 50)
743 #define SCSTR_ALL (STR_START + 51)
744 #define SCSTR_STDFILTER (STR_START + 52)
747 #define SCSTR_CFG_APP (STR_START + 53)
748 #define SCSTR_CFG_DOC (STR_START + 54)
749 #define SCSTR_CFG_VIEW (STR_START + 55)
750 #define SCSTR_CFG_SPELLCHECK (STR_START + 56)
751 #define SCSTR_CFG_PRINT (STR_START + 57)
753 #define SCSTR_AUDITSHELL (STR_START + 58)
755 #define SCSTR_CHARSET_USER (STR_START + 59)
756 #define SCSTR_COLUMN_USER (STR_START + 60)
757 #define SCSTR_FIELDSEP (STR_START + 61)
758 #define SCSTR_TEXTSEP (STR_START + 62)
759 #define SCSTR_MULTIPLE (STR_START + 63)
761 #define SCSTR_CFG_INPUT (STR_START + 65)
763 #define SCSTR_TOP10FILTER (STR_START + 66)
765 #define SCSTR_CFG_NAVIPI (STR_START + 67)
767 #define SCSTR_DRAWFORMSHELL (STR_START + 70)
768 #define SCSTR_CELLSHELL (STR_START + 71)
769 #define SCSTR_FORMATSHELL (STR_START + 72)
770 #define SCSTR_OLEOBJECTSHELL (STR_START + 73)
771 #define SCSTR_CHARTSHELL (STR_START + 74)
772 #define SCSTR_GRAPHICSHELL (STR_START + 75)
773 #define SCSTR_PAGEBREAKSHELL (STR_START + 76)
775 #define SCSTR_GRFILTER_OPENERROR (STR_START + 77)
776 #define SCSTR_GRFILTER_IOERROR (STR_START + 78)
777 #define SCSTR_GRFILTER_FORMATERROR (STR_START + 79)
778 #define SCSTR_GRFILTER_VERSIONERROR (STR_START + 80)
779 #define SCSTR_GRFILTER_FILTERERROR (STR_START + 81)
780 #define SCSTR_GRFILTER_TOOBIG (STR_START + 82)
781 #define SCSTR_UNDO_GRAFFILTER (STR_START + 83)
783 #define SCSTR_COL_LABEL (STR_START + 84)
784 #define SCSTR_ROW_LABEL (STR_START + 85)
786 #define SCSTR_CHG_PROTECT (STR_START + 86)
787 #define SCSTR_CHG_UNPROTECT (STR_START + 87)
789 #define STR_CAPTION_DEFAULT_TEXT (STR_START + 88)
791 // dialog: select sheets
792 #define STR_DLG_SELECTTABLES_TITLE (STR_START + 89)
793 #define STR_DLG_SELECTTABLES_LBNAME (STR_START + 90)
795 // replace cell contents warning
796 #define STR_REPLCELLSWARN (STR_START + 91)
798 #define SCSTR_DPFUNCLISTBOX (STR_START + 92)
799 #define SCSTR_ALLFILTER (STR_START + 94)
800 #define SCSTR_MOREBTN_MOREOPTIONS (STR_START + 95)
801 #define SCSTR_MOREBTN_FEWEROPTIONS (STR_START + 96)
805 #define SCSTR_HOR_JUSTIFY_LEFT (STR_START + 100)
806 #define SCSTR_HOR_JUSTIFY_CENTER (STR_START + 101)
807 #define SCSTR_HOR_JUSTIFY_RIGHT (STR_START + 102)
808 #define SCSTR_HOR_JUSTIFY_BLOCK (STR_START + 103)
809 #define SCSTR_HOR_JUSTIFY_REPEAT (STR_START + 104)
810 #define SCSTR_HOR_JUSTIFY_STANDARD (STR_START + 105)
811 #define SCSTR_VER_JUSTIFY_TOP (STR_START + 106)
812 #define SCSTR_VER_JUSTIFY_CENTER (STR_START + 107)
813 #define SCSTR_VER_JUSTIFY_BOTTOM (STR_START + 108)
814 #define SCSTR_VER_JUSTIFY_STANDARD (STR_START + 109)
815 #define SCSTR_ORIENTATION_TOPBOTTOM (STR_START + 110)
816 #define SCSTR_ORIENTATION_BOTTOMTOP (STR_START + 111)
817 #define SCSTR_ORIENTATION_STANDARD (STR_START + 112)
822 #define STR_ACC_CSVRULER_NAME (STR_START + 150)
823 #define STR_ACC_CSVRULER_DESCR (STR_START + 151)
824 #define STR_ACC_CSVGRID_NAME (STR_START + 152)
825 #define STR_ACC_CSVGRID_DESCR (STR_START + 153)
828 #define STR_ACC_DOC_NAME (STR_START + 154)
829 #define STR_ACC_DOC_DESCR (STR_START + 155)
830 #define STR_ACC_TABLE_NAME (STR_START + 156)
831 #define STR_ACC_TABLE_DESCR (STR_START + 157)
832 #define STR_ACC_CELL_NAME (STR_START + 158)
833 #define STR_ACC_CELL_DESCR (STR_START + 159)
836 #define STR_ACC_PREVIEWDOC_NAME (STR_START + 160)
837 #define STR_ACC_PREVIEWDOC_DESCR (STR_START + 161)
838 #define STR_ACC_HEADERCELL_NAME (STR_START + 162)
839 #define STR_ACC_HEADERCELL_DESCR (STR_START + 163)
840 #define STR_ACC_LEFTAREA_NAME (STR_START + 164)
841 #define STR_ACC_LEFTAREA_DESCR (STR_START + 165)
842 #define STR_ACC_CENTERAREA_NAME (STR_START + 166)
843 #define STR_ACC_CENTERAREA_DESCR (STR_START + 167)
844 #define STR_ACC_RIGHTAREA_NAME (STR_START + 168)
845 #define STR_ACC_RIGHTAREA_DESCR (STR_START + 169)
846 #define STR_ACC_HEADER_NAME (STR_START + 170)
847 #define STR_ACC_HEADER_DESCR (STR_START + 171)
848 #define STR_ACC_FOOTER_NAME (STR_START + 172)
849 #define STR_ACC_FOOTER_DESCR (STR_START + 173)
852 #define STR_ACC_EDITLINE_NAME (STR_START + 174)
853 #define STR_ACC_EDITLINE_DESCR (STR_START + 175)
856 #define STR_ACC_EDITCELL_NAME (STR_START + 176)
857 #define STR_ACC_EDITCELL_DESCR (STR_START + 177)
860 #define STR_ACC_DATAPILOT_ROW_DESCR (STR_START + 178)
861 #define STR_ACC_DATAPILOT_COL_DESCR (STR_START + 179)
862 #define STR_ACC_DATAPILOT_DATA_DESCR (STR_START + 180)
863 #define STR_ACC_DATAPILOT_SEL_DESCR (STR_START + 181)
864 #define STR_ACC_DATAPILOT_PAGE_DESCR (STR_START + 182)
866 #define STR_ACC_TOOLBAR_FORMULA (STR_START + 184)
867 #define STR_ACC_DOC_SPREADSHEET (STR_START + 185)
868 #define STR_ACC_DOC_PREVIEW_SUFFIX (STR_START + 186)
869 #define STR_ACC_DOC_SPREADSHEET_READONLY (STR_START + 187)
871 #define SCSTR_SHORT_SCDOC_NAME (STR_START + 211)
872 #define SCSTR_LONG_SCDOC_NAME (STR_START + 212)
874 #define SCSTR_CLPBRD_CLEAR (STR_START + 213)
876 #define SCSTR_FORMULA_AUTOCORRECTION (STR_START + 214)
878 #define SCSTR_RENAMEOBJECT (STR_START + 215)
879 #define SCSTR_PRINT_OPTIONS (STR_START + 216)
880 #define SCSTR_WARN_ME_IN_FUTURE_CHECK (STR_START + 217)
882 // navigator - in the same order as SC_CONTENT_...
883 #define SCSTR_CONTENT_ROOT (STR_START + 250)
884 #define SCSTR_CONTENT_TABLE (STR_START + 251)
885 #define SCSTR_CONTENT_RANGENAME (STR_START + 252)
886 #define SCSTR_CONTENT_DBAREA (STR_START + 253)
887 #define SCSTR_CONTENT_GRAPHIC (STR_START + 254)
888 #define SCSTR_CONTENT_OLEOBJECT (STR_START + 255)
889 #define SCSTR_CONTENT_NOTE (STR_START + 256)
890 #define SCSTR_CONTENT_AREALINK (STR_START + 257)
891 #define SCSTR_CONTENT_DRAWING (STR_START + 258)
892 // some space for extensions
894 // input, quickhelp strings (HelpText now using HelpId from help)
895 #define SCSTR_QHELP_INPUTWND (STR_START + 307)
896 #define SCSTR_QHELP_POSWND (STR_START + 308)
897 #define SCSTR_QHELP_BTNCALC (STR_START + 309)
898 #define SCSTR_QHELP_BTNOK (STR_START + 310)
899 #define SCSTR_QHELP_BTNCANCEL (STR_START + 311)
900 #define SCSTR_QHELP_BTNSUM (STR_START + 312)
901 #define SCSTR_QHELP_BTNEQUAL (STR_START + 313)
904 #define SCSTR_VALID_MINIMUM (STR_START + 314)
905 #define SCSTR_VALID_MAXIMUM (STR_START + 315)
906 #define SCSTR_VALID_VALUE (STR_START + 316)
907 #define SCSTR_VALID_RANGE (STR_START + 317)
908 #define SCSTR_VALID_LIST (STR_START + 318)
911 #define SCSTR_MEDIASHELL (STR_START + 401)
913 #define RID_SCSTR_ONCLICK (STR_START + 402)
915 #define SCSTR_SET_TAB_BG_COLOR (STR_START + 403)
916 #define SCSTR_NO_TAB_BG_COLOR (STR_START + 404)
917 #define SCSTR_DDEDOC_NOT_LOADED (STR_START + 405)
918 #define SCSTR_QHELP_EXPAND_FORMULA (STR_START + 406)
919 #define SCSTR_QHELP_COLLAPSE_FORMULA (STR_START + 407)
920 #define SCSTR_EXTDOC_NOT_LOADED (STR_START + 408)
922 #define SCSTR_FORMULA_SYNTAX_CALC_A1 (STR_START + 409)
923 #define SCSTR_FORMULA_SYNTAX_XL_A1 (STR_START + 410)
924 #define SCSTR_FORMULA_SYNTAX_XL_R1C1 (STR_START + 411)
926 #define STR_END (SCSTR_FORMULA_SYNTAX_XL_R1C1)
928 #define BMP_START (STR_END)
931 #define RID_IMG_DROP_URL (BMP_START + 2)
932 #define RID_IMG_DROP_LINK (BMP_START + 3)
933 #define RID_IMG_DROP_COPY (BMP_START + 4)
934 #define RID_IMG_SELECT_CURRENT (BMP_START + 8)
935 #define RID_IMG_UNSELECT_CURRENT (BMP_START + 9)
937 #define BMP_END (BMP_START + 100)
939 #define SC_DIALOGS_START (BMP_END)
940 #define RID_SCDLG_ATTR (SC_DIALOGS_START)
941 #define RID_SCPAGE_PROTECTION (SC_DIALOGS_START + 3)
942 #define RID_SCDLG_SORT (SC_DIALOGS_START + 5)
943 #define RID_SCPAGE_SORT_FIELDS (SC_DIALOGS_START + 6)
945 #define RID_SCDLG_FILTER (SC_DIALOGS_START + 8)
946 #define RID_SCDLG_SPEC_FILTER (SC_DIALOGS_START + 9)
947 #define RID_SCDLG_DELCELL (SC_DIALOGS_START + 11)
948 #define RID_SCDLG_INSCELL (SC_DIALOGS_START + 12)
949 #define RID_SCDLG_DELCONT (SC_DIALOGS_START + 13)
950 #define RID_SCDLG_INSCONT (SC_DIALOGS_START + 14)
951 #define RID_SCDLG_MOVETAB (SC_DIALOGS_START + 15)
952 #define RID_SCDLG_STRINPUT (SC_DIALOGS_START + 16)
953 #define RID_SCDLG_MTRINPUT (SC_DIALOGS_START + 17)
954 #define RID_SCDLG_SELENTRY (SC_DIALOGS_START + 18)
955 #define RID_SCDLG_FILLSERIES (SC_DIALOGS_START + 19)
956 #define RID_SCDLG_AUTOFORMAT (SC_DIALOGS_START + 20)
957 #define RID_SCDLG_GROUP (SC_DIALOGS_START + 21)
958 #define RID_SCDLG_NAMES (SC_DIALOGS_START + 22)
959 #define RID_SCDLG_DBNAMES (SC_DIALOGS_START + 23)
960 #define RID_SCDLG_SOLVER (SC_DIALOGS_START + 26)
961 #define RID_SCDLG_SUBTOTALS (SC_DIALOGS_START + 27)
962 #define RID_SUBTBASE (SC_DIALOGS_START + 28)
963 #define RID_SCPAGE_SUBT_OPTIONS (SC_DIALOGS_START + 29)
964 #define RID_SCPAGE_USERLISTS (SC_DIALOGS_START + 31)
965 #define RID_SCDLG_PIVOTFILTER (SC_DIALOGS_START + 33)
966 #define RID_SCDLG_PIVOT_LAYOUT (SC_DIALOGS_START + 34)
967 #define RID_SCDLG_CONSOLIDATE (SC_DIALOGS_START + 35)
968 #define RID_SCDLG_PIVOTSUBT (SC_DIALOGS_START + 38)
969 #define RID_SCDLG_NEWSCENARIO (SC_DIALOGS_START + 39)
970 #define RID_SCDLG_INSERT_TABLE (SC_DIALOGS_START + 42)
971 #define RID_SCPAGE_TABLE (SC_DIALOGS_START + 43)
972 #define RID_SCPAGE_AREAS (SC_DIALOGS_START + 44)
973 #define RID_SCDLG_STYLES_PAR (SC_DIALOGS_START + 46)
974 #define RID_SCDLG_STYLES_PAGE (SC_DIALOGS_START + 48)
975 #define RID_HFBASE (SC_DIALOGS_START + 49)
976 #define RID_SCDLG_HFEDIT (SC_DIALOGS_START + 50)
977 #define RID_SCDLG_HFEDIT_ALL (SC_DIALOGS_START + 51)
978 #define RID_SCDLG_HFED_HEADER (SC_DIALOGS_START + 52)
979 #define RID_SCDLG_HFED_FOOTER (SC_DIALOGS_START + 53)
980 #define RID_SCBTN_HFEDIT (SC_DIALOGS_START + 54)
981 #define RID_SCPAGE_CALC (SC_DIALOGS_START + 56)
982 #define RID_SCDLG_NAVIGATOR (SC_DIALOGS_START + 57)
983 #define RID_SCDLG_TABOP (SC_DIALOGS_START + 58)
984 #define RID_SCDLG_IMPORTOPT (SC_DIALOGS_START + 59)
985 #define RID_POPUP_ROWHEADER (SC_DIALOGS_START + 60)
986 #define RID_POPUP_COLHEADER (SC_DIALOGS_START + 61)
987 #define RID_SCDLG_HFEDIT_SHDR (SC_DIALOGS_START + 62)
988 #define RID_SCDLG_HFEDIT_SFTR (SC_DIALOGS_START + 63)
989 #define RID_SCDLG_HFEDIT_LEFTHEADER (SC_DIALOGS_START + 64)
990 #define RID_SCDLG_HFEDIT_RIGHTHEADER (SC_DIALOGS_START + 65)
991 #define RID_SCDLG_HFEDIT_LEFTFOOTER (SC_DIALOGS_START + 66)
992 #define RID_SCDLG_HFEDIT_RIGHTFOOTER (SC_DIALOGS_START + 67)
993 #define RID_SCDLG_HFEDIT_HEADER (SC_DIALOGS_START + 68)
994 #define RID_SCDLG_HFEDIT_FOOTER (SC_DIALOGS_START + 69)
995 #define RID_SCPAGE_PRINT (SC_DIALOGS_START + 70)
996 #define RID_SCDLG_COLORROW (SC_DIALOGS_START + 71)
997 #define RID_SCDLG_NAMES_PASTE (SC_DIALOGS_START + 72)
998 #define RID_SCDLG_NAMES_CREATE (SC_DIALOGS_START + 73)
999 #define RID_SCDLG_NAMES_DEFINE (SC_DIALOGS_START + 75)
1001 #define RID_SCDLG_CHAR (SC_DIALOGS_START + 76)
1002 #define RID_SCDLG_PARAGRAPH (SC_DIALOGS_START + 77)
1003 #define RID_SCDLG_CONTACTS (SC_DIALOGS_START + 78)
1005 #define RID_SCPAGE_STAT (SC_DIALOGS_START + 79)
1006 #define RID_SCDLG_CHARTCOLROW (SC_DIALOGS_START + 80)
1007 #define RID_SCDLG_AREAS (SC_DIALOGS_START + 81)
1009 // popup for statusbar controller
1010 #define RID_SCDLG_ASCII (SC_DIALOGS_START + 91)
1012 // popup for drop-mode in navigator
1013 #define RID_POPUP_DROPMODE (SC_DIALOGS_START + 92)
1014 #define RID_DROPMODE_URL (SC_DIALOGS_START + 93)
1015 #define RID_DROPMODE_LINK (SC_DIALOGS_START + 94)
1016 #define RID_DROPMODE_COPY (SC_DIALOGS_START + 95)
1017 #define RID_SCDLG_CONDFORMAT (SC_DIALOGS_START + 96)
1019 #define RID_SCPAGE_SUBT_GROUP1 (SC_DIALOGS_START + 97)
1020 #define RID_SCPAGE_SUBT_GROUP2 (SC_DIALOGS_START + 98)
1021 #define RID_SCPAGE_SUBT_GROUP3 (SC_DIALOGS_START + 99)
1023 #define RID_SCPAGE_HFED_HL (SC_DIALOGS_START + 100)
1024 #define RID_SCPAGE_HFED_HR (SC_DIALOGS_START + 101)
1025 #define RID_SCPAGE_HFED_FL (SC_DIALOGS_START + 102)
1026 #define RID_SCPAGE_HFED_FR (SC_DIALOGS_START + 103)
1028 // derivations from RID_SCDLG_MTRINPUT
1029 #define RID_SCDLG_COL_MAN (SC_DIALOGS_START + 104)
1030 #define RID_SCDLG_COL_OPT (SC_DIALOGS_START + 105)
1031 #define RID_SCDLG_ROW_MAN (SC_DIALOGS_START + 106)
1032 #define RID_SCDLG_ROW_OPT (SC_DIALOGS_START + 107)
1034 // derivations from RID_SCDLG_SELENTRY
1035 #define RID_SCDLG_SELECTDB (SC_DIALOGS_START + 108)
1036 #define RID_SCDLG_SHOW_TAB (SC_DIALOGS_START + 109)
1038 // derivations from RID_SCDLG_GROUP
1039 #define RID_SCDLG_GRP_MAKE (SC_DIALOGS_START + 110)
1040 #define RID_SCDLG_GRP_KILL (SC_DIALOGS_START + 111)
1042 #define RID_SCDLG_COLROWNAMERANGES (SC_DIALOGS_START + 112)
1044 #define RID_SCPAGE_CONTENT (SC_DIALOGS_START + 113)
1045 #define RID_SCPAGE_LAYOUT (SC_DIALOGS_START + 114)
1047 #define RID_SCDLG_CHANGES (SC_DIALOGS_START + 119)
1049 #define RID_POPUP_NAVIPI_SCENARIO (SC_DIALOGS_START + 120)
1050 #define RID_NAVIPI_SCENARIO_DELETE (SC_DIALOGS_START + 121)
1051 #define RID_NAVIPI_SCENARIO_EDIT (SC_DIALOGS_START + 122)
1053 #define RID_SCDLG_HIGHLIGHT_CHANGES (SC_DIALOGS_START + 123)
1054 #define RID_SCPAGE_OPREDLINE (SC_DIALOGS_START + 124)
1056 #define RID_SCDLG_SIMPLEREF (SC_DIALOGS_START + 125)
1057 #define WID_SIMPLE_REF (SC_DIALOGS_START + 126)
1058 #define RID_POPUP_CHANGES (SC_DIALOGS_START + 127)
1060 #define RID_SCDLG_DAPITYPE (SC_DIALOGS_START + 129)
1061 #define RID_SCDLG_DAPISERVICE (SC_DIALOGS_START + 130)
1062 #define RID_SCDLG_DAPIDATA (SC_DIALOGS_START + 131)
1064 #define RID_SCDLG_LINKAREA (SC_DIALOGS_START + 132)
1065 #define RID_SCDLG_DPDATAFIELD (SC_DIALOGS_START + 133)
1066 #define RID_SCDLG_DPSUBTOTAL_OPT (SC_DIALOGS_START + 134)
1067 #define RID_SCDLG_DPNUMGROUP (SC_DIALOGS_START + 135)
1068 #define RID_SCDLG_DPDATEGROUP (SC_DIALOGS_START + 136)
1069 #define RID_SCDLG_DPSHOWDETAIL (SC_DIALOGS_START + 137)
1070 #define RID_SCDLG_OPTSOLVER (SC_DIALOGS_START + 138)
1071 #define RID_SCDLG_SOLVEROPTIONS (SC_DIALOGS_START + 139)
1072 #define RID_SCDLG_SOLVER_INTEGER (SC_DIALOGS_START + 140)
1073 #define RID_SCDLG_SOLVER_DOUBLE (SC_DIALOGS_START + 141)
1074 #define RID_SCDLG_SOLVER_PROGRESS (SC_DIALOGS_START + 142)
1075 #define RID_SCDLG_SOLVER_NOSOLUTION (SC_DIALOGS_START + 143)
1076 #define RID_SCDLG_SOLVER_SUCCESS (SC_DIALOGS_START + 144)
1078 #define RID_SCDLG_CONFLICTS (SC_DIALOGS_START + 145)
1079 #define RID_SCDLG_SHAREDOCUMENT (SC_DIALOGS_START + 146)
1080 #define RID_SCDLG_SORT_WARNING (SC_DIALOGS_START + 147)
1081 #define RID_SCDLG_TABPROTECTION (SC_DIALOGS_START + 148)
1082 #define RID_SCDLG_RETYPEPASS (SC_DIALOGS_START + 150)
1083 #define RID_SCDLG_RETYPEPASS_INPUT (SC_DIALOGS_START + 151)
1085 #define RID_POPUP_FILTER (SC_DIALOGS_START + 153)
1086 #define RID_SCDLG_TAB_BG_COLOR (SC_DIALOGS_START + 154)
1087 #define RID_SCDLG_DATABAR (SC_DIALOGS_START + 155)
1088 #define RID_COND_ENTRY (SC_DIALOGS_START + 156)
1089 #define RID_SCDLG_FORMULA_CALCOPTIONS (SC_DIALOGS_START + 157)
1090 #define RID_ICON_SET_ENTRY (SC_DIALOGS_START + 158)
1092 #define RID_SCDLG_COND_FORMAT_MANAGER (SC_DIALOGS_START + 159)
1093 #define RID_SCDLG_XML_SOURCE (SC_DIALOGS_START + 160)
1095 #define SC_DIALOGS_END (SC_DIALOGS_START + 161)
1097 #ifndef STD_MASKCOLOR
1098 #define STD_MASKCOLOR Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; }
1106 // ooo-build specific resources
1108 #define SC_OOO_BUILD_START (SC_DIALOGS_END)
1110 // toggle sheet grid
1111 #define FID_TAB_TOGGLE_GRID (SC_OOO_BUILD_START + 1)
1113 // formula options page
1114 #define RID_SCPAGE_FORMULA (SC_OOO_BUILD_START + 2)
1116 // insert current date and time to cell via command
1117 #define SID_INSERT_CURRENT_DATE (SC_OOO_BUILD_START + 4)
1118 #define SID_INSERT_CURRENT_TIME (SC_OOO_BUILD_START + 5)
1121 #define SID_DATA_FORM (SC_OOO_BUILD_START + 7) // menu (in Data menu)
1122 #define RID_SCDLG_DATAFORM (SC_OOO_BUILD_START + 8) // dialog
1124 // compatibility options page
1125 #define RID_SCPAGE_COMPATIBILITY (SC_OOO_BUILD_START + 9)
1128 #define RID_SCPAGE_DEFAULTS (SC_OOO_BUILD_START + 10)