1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
23 #include <sfx2/sfx.hrc>
24 #include <svx/dialogs.hrc>
26 #include "sfx2/sfxcommands.h"
27 #include "svx/svxcommands.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)
43 #define SC_SIDEBAR_PROPERTY_BEGIN (SID_SC_START + 400)
44 // SC_SIDEBAR_PROPERTY_END (SID_SC_START + 499)
46 // stay compatible to the past
47 #define SC_RESOURCE_START (RID_APP_START+5000)
50 // calc has a range of 2000 IDs
51 // the functions need 11*90 = 990 IDs
53 #define HID_SC_SHEET_START (HID_SC_START + 1010)
54 #define HID_SC_SHELL_START (HID_SC_START + 1030)
56 // help IDs for templates
57 #define HID_SC_SHEET_CELL_STD (HID_SC_SHEET_START +0 )
58 #define HID_SC_SHEET_CELL_ERG (HID_SC_SHEET_START +1 )
59 #define HID_SC_SHEET_CELL_ERG1 (HID_SC_SHEET_START +2 )
60 #define HID_SC_SHEET_CELL_UEB (HID_SC_SHEET_START +3 )
61 #define HID_SC_SHEET_CELL_UEB1 (HID_SC_SHEET_START +4 )
62 #define HID_SC_SHEET_PAGE_STD (HID_SC_SHEET_START +10 )
63 #define HID_SC_SHEET_PAGE_REP (HID_SC_SHEET_START +11 )
65 // help IDs for shells (helper) (max. 20)
66 #define HID_SCSHELL_DOCSH (HID_SC_SHELL_START +1 )
67 #define HID_SCSHELL_DRAWSH (HID_SC_SHELL_START +2 )
68 #define HID_SCSHELL_DRTXTOB (HID_SC_SHELL_START +3 )
69 #define HID_SCSHELL_PIVOTSH (HID_SC_SHELL_START +4 )
70 #define HID_SCSHELL_PREVWSH (HID_SC_SHELL_START +5 )
71 #define HID_SCSHELL_TABVWSH (HID_SC_SHELL_START +6 )
72 #define HID_SCSHELL_AUDIT (HID_SC_SHELL_START +7 )
73 #define HID_SCSHELL_DRAWFORMSH (HID_SC_SHELL_START +8 )
74 #define HID_SCSHELL_CELLSH (HID_SC_SHELL_START +9 )
75 #define HID_SCSHELL_FORMATSH (HID_SC_SHELL_START +10)
76 #define HID_SCSHELL_OLEOBEJCTSH (HID_SC_SHELL_START +11)
77 #define HID_SCSHELL_CHARTSH (HID_SC_SHELL_START +12)
78 #define HID_SCSHELL_GRAPHIC (HID_SC_SHELL_START +13)
79 #define HID_SCSHELL_PAGEBREAK (HID_SC_SHELL_START +14)
80 #define HID_SCSHELL_MEDIA (HID_SC_SHELL_START +15)
82 // view-functions (max. 100)
83 #define FID_SCALESTATUS (SC_VIEW_START + 10)
84 #define SID_UPDATECHART (SC_VIEW_START + 13)
86 // TabPage entry - Legacy selection
87 #define SID_SC_INPUT_LEGACY_CELL_SELECTION (SC_VIEW_START + 15)
88 #define SID_SC_OPT_SORT_REF_UPDATE (SC_VIEW_START + 16)
91 #define SID_SCFORMULAOPTIONS (SC_VIEW_START + 20)
92 #define SID_SCDEFAULTSOPTIONS (SC_VIEW_START + 21)
94 #define SID_DATA_STREAMS_PLAY (SC_VIEW_START + 33)
95 #define SID_DATA_STREAMS_STOP (SC_VIEW_START + 34)
96 #define SID_DATA_STREAMS (SC_VIEW_START + 35)
98 // slot-IDs for attributes
99 #define SID_SCATTR_PROTECTION (SC_VIEW_START + 36) // protection-page
102 #define SID_SCUSERLISTS (SC_VIEW_START + 37) // user defined lists
103 #define RES_TBX_DUMMY (SC_VIEW_START + 38) // dummy-item
104 #define SID_SCVIEWOPTIONS (SC_VIEW_START + 39)
105 #define SID_SCDOCOPTIONS (SC_VIEW_START + 40)
107 // cursor movements as properties:
108 #define SID_CURRENTCELL (SC_VIEW_START + 41)
109 #define SID_CURRENTTAB (SC_VIEW_START + 42)
110 #define SID_CURRENTDOC (SC_VIEW_START + 43)
111 #define SID_CURRENTOBJECT (SC_VIEW_START + 44)
113 // slot-IDs for special toolbox functions:
114 #define SID_NUMBER_CURRENCY (SC_VIEW_START + 45)
115 #define SID_NUMBER_PERCENT (SC_VIEW_START + 46)
117 // "slot" IDs for input images:
118 #define SID_INPUT_FUNCTION (SC_VIEW_START + 47)
119 #define SID_INPUT_SUM (SC_VIEW_START + 48)
120 #define SID_INPUT_EQUAL (SC_VIEW_START + 49)
121 #define SID_INPUT_CANCEL (SC_VIEW_START + 50)
122 #define SID_INPUT_OK (SC_VIEW_START + 51)
124 #define SID_NUMBER_STANDARD (SC_VIEW_START + 52)
125 #define SID_NUMBER_DATE (SC_VIEW_START + 53)
126 #define SID_NUMBER_TWODEC (SC_VIEW_START + 54)
127 #define SID_NUMBER_SCIENTIFIC (SC_VIEW_START + 55)
128 #define SID_NUMBER_TIME (SC_VIEW_START + 56)
129 #define SID_NUMBER_INCDEC (SC_VIEW_START + 57)
130 #define SID_NUMBER_DECDEC (SC_VIEW_START + 58)
133 #define SID_COLLABORATION (SC_VIEW_START + 59)
134 #define SID_LINKS (SC_VIEW_START + 60)
135 #define SID_INSERT_SIMAGE (SC_VIEW_START + 61)
136 #define SID_INSERT_SMATH (SC_VIEW_START + 63)
137 #define SID_STANDARD_FONTS (SC_VIEW_START + 64)
138 #define SID_MIRROR_VERTICAL (SC_VIEW_START + 65)
139 #define SID_MIRROR_HORIZONTAL (SC_VIEW_START + 66)
140 #define SID_CELL_FORMAT_RESET (SC_VIEW_START + 67)
141 #define SID_SCPRINTOPTIONS (SC_VIEW_START + 68)
142 #define SID_WINDOW_SPLIT (SC_VIEW_START + 69)
143 #define SID_WINDOW_FIX (SC_VIEW_START + 70)
144 #ifdef SID_DRAW_CHART
145 #undef SID_DRAW_CHART
147 #define SID_DRAW_CHART (SC_VIEW_START + 71)
148 #define SID_UPDATETABLINKS (SC_VIEW_START + 72)
151 #define SID_SC_INPUT_SELECTION (SC_VIEW_START + 73)
152 #define SID_SC_INPUT_SELECTIONPOS (SC_VIEW_START + 74)
153 #define SID_SC_INPUT_EDITMODE (SC_VIEW_START + 75)
154 #define SID_SC_INPUT_FMT_EXPAND (SC_VIEW_START + 76)
155 #define SID_SC_INPUT_RANGEFINDER (SC_VIEW_START + 77)
156 #define SID_SC_INPUT_REF_EXPAND (SC_VIEW_START + 78)
157 #define SID_SC_INPUT_MARK_HEADER (SC_VIEW_START + 79)
159 #define SID_REIMPORT_AFTER_LOAD (SC_VIEW_START + 80)
160 #define SID_DRAW_NOTEEDIT (SC_VIEW_START + 81)
162 #define SID_CHOOSE_DESIGN (SC_VIEW_START + 82)
163 #define SID_EURO_CONVERTER (SC_VIEW_START + 83)
164 //See include/sfx2/sfxsids.hrc for reserved usage of (SC_VIEW_START + 84)
165 #define SID_EXTERNAL_SOURCE (SC_VIEW_START + 85)
167 #define SID_SC_INPUT_TEXTWYSIWYG (SC_VIEW_START + 86)
169 #define SID_ENABLE_HYPHENATION (SC_VIEW_START + 87)
171 #define SID_RENAME_OBJECT (SC_VIEW_START + 88)
172 #define SID_FOCUS_INPUTLINE (SC_VIEW_START + 89)
173 #define SID_SELECT_TABLES (SC_VIEW_START + 90)
175 // new entry "Filter..." in DP popup menu
176 #define SID_DP_FILTER (SC_VIEW_START + 91)
178 // replace cell contents warning
179 #define SID_SC_INPUT_REPLCELLSWARN (SC_VIEW_START + 92)
181 // additional IDs for list/range validity
182 #define FID_VALID_LISTTYPE (SC_VIEW_START + 93)
184 // #i68101# ID for changing title & description of an object
185 #define SID_TITLE_DESCRIPTION_OBJECT (SC_VIEW_START + 94)
187 // #i59082# assign macro to shape
188 #define SID_ASSIGNMACRO (SC_VIEW_START + 95)
190 // #i66550# hyperlinks in shapes
191 #define SID_DRAW_HLINK_EDIT (SC_VIEW_START + 96)
192 #define SID_DRAW_HLINK_DELETE (SC_VIEW_START + 97)
194 // "Zoom / Synchronize sheets" in options dialog
195 #define SID_SC_OPT_SYNCZOOM (SC_VIEW_START + 98)
197 #define SID_SC_OPT_KEY_BINDING_COMPAT (SC_VIEW_START + 99)
199 // NOTE: last valid ID is (SC_VIEW_START + 99)
203 #define FID_INPUTLINE_STATUS (SC_MESSAGE_START)
204 #define FID_INPUTLINE_ENTER (SC_MESSAGE_START + 1)
205 #define FID_REPAINT (SC_MESSAGE_START + 2)
206 #define FID_DATACHANGED (SC_MESSAGE_START + 3)
207 #define FID_REFMODECHANGED (SC_MESSAGE_START + 4)
208 #define FID_KILLEDITVIEW (SC_MESSAGE_START + 5)
209 #define SID_SOLVE (SC_MESSAGE_START + 6)
210 #define FID_FILTER_OK (SC_MESSAGE_START + 8)
211 #define SC_HINT_DRWLAYER_NEW (SC_MESSAGE_START + 9)
212 #define FID_INPUTLINE_MATRIX (SC_MESSAGE_START + 11)
213 #define SID_DLG_RETOK (SC_MESSAGE_START + 12)
214 #define FID_ANYDATACHANGED (SC_MESSAGE_START + 13)
215 #define SID_STATUS_DOCPOS (SC_MESSAGE_START + 14)
216 #define SID_STATUS_PAGESTYLE (SC_MESSAGE_START + 15)
217 #define SID_STATUS_SELMODE (SC_MESSAGE_START + 16)
218 #define FID_KILLEDITVIEW_NOPAINT (SC_MESSAGE_START + 17)
219 #define SID_DLG_MATRIX (SC_MESSAGE_START + 18)
220 #define SC_HINT_DBAREAS_CHANGED (SC_MESSAGE_START + 19)
221 #define SC_HINT_AREAS_CHANGED (SC_MESSAGE_START + 20)
222 #define SC_HINT_TABLES_CHANGED (SC_MESSAGE_START + 21)
224 #define SID_STATUS_SELMODE_ERG (SC_MESSAGE_START + 22)
225 #define SID_STATUS_SELMODE_ERW (SC_MESSAGE_START + 23)
226 #define SID_STATUS_SELMODE_NORM (SC_MESSAGE_START + 24)
228 #define SID_CHART_SOURCE (SC_MESSAGE_START + 25)
229 #define SID_CHART_NAME (SC_MESSAGE_START + 26)
230 #define SID_CHART_ADDSOURCE (SC_MESSAGE_START + 27)
232 #define SID_AUTO_STYLE (SC_MESSAGE_START + 28)
234 #define FID_INPUTLINE_BLOCK (SC_MESSAGE_START + 29)
236 #define SID_STATUS_SUM (SC_MESSAGE_START + 30)
238 #define SC_HINT_DRAW_CHANGED (SC_MESSAGE_START + 31)
239 #define SC_HINT_DOCNAME_CHANGED (SC_MESSAGE_START + 32)
240 #define SC_HINT_AREALINKS_CHANGED (SC_MESSAGE_START + 33)
241 #define SC_HINT_SHOWRANGEFINDER (SC_MESSAGE_START + 34)
242 #define SC_HINT_DOC_SAVED (SC_MESSAGE_START + 35)
243 #define SC_HINT_FORCESETTAB (SC_MESSAGE_START + 36)
244 #define SID_ENTER_STRING (SC_MESSAGE_START + 37)
245 #define SID_ROWCOL_SELCOUNT (SC_MESSAGE_START + 38)
246 #define SID_AUTO_SUM (SC_MESSAGE_START + 39)
248 // messages for opening dialogs:
249 #define SID_OPENDLG_CONSOLIDATE (SC_MESSAGE_START + 50)
250 #define SID_OPENDLG_PIVOTTABLE (SC_MESSAGE_START + 51)
251 #define SID_OPENDLG_FUNCTION (SC_MESSAGE_START + 52)
252 #define SID_OPENDLG_SOLVE (SC_MESSAGE_START + 53)
253 #define SID_OPENDLG_TABOP (SC_MESSAGE_START + 54)
254 #define SID_OPENDLG_CONDFRMT (SC_MESSAGE_START + 59)
255 #define SID_OPENDLG_OPTSOLVER (SC_MESSAGE_START + 60)
256 #define SID_VALIDITY_REFERENCE (SC_MESSAGE_START + 61)
257 #define SID_OPENDLG_CONDFRMT_MANAGER (SC_MESSAGE_START + 62)
258 #define SID_POPUP_CONDFRMT (SC_MESSAGE_START + 63)
259 #define SC_HINT_NAVIGATOR_UPDATEALL (SC_MESSAGE_START + 65)
260 #define SID_OPENDLG_COLORSCALE (SC_MESSAGE_START + 66)
261 #define SID_OPENDLG_DATABAR (SC_MESSAGE_START + 67)
262 #define SID_OPENDLG_ICONSET (SC_MESSAGE_START + 68)
263 #define SID_OPENDLG_CONDDATE (SC_MESSAGE_START + 69)
265 #define SID_RANDOM_NUMBER_GENERATOR_DIALOG (SC_MESSAGE_START + 70)
266 #define SID_SAMPLING_DIALOG (SC_MESSAGE_START + 71)
267 #define SID_DESCRIPTIVE_STATISTICS_DIALOG (SC_MESSAGE_START + 72)
268 #define SID_ANALYSIS_OF_VARIANCE_DIALOG (SC_MESSAGE_START + 73)
269 #define SID_CORRELATION_DIALOG (SC_MESSAGE_START + 74)
270 #define SID_COVARIANCE_DIALOG (SC_MESSAGE_START + 75)
271 #define SID_EXPONENTIAL_SMOOTHING_DIALOG (SC_MESSAGE_START + 76)
272 #define SID_MOVING_AVERAGE_DIALOG (SC_MESSAGE_START + 77)
273 #define SID_REGRESSION_DIALOG (SC_MESSAGE_START + 78)
274 #define SID_TTEST_DIALOG (SC_MESSAGE_START + 79)
275 #define SID_FTEST_DIALOG (SC_MESSAGE_START + 80)
276 #define SID_ZTEST_DIALOG (SC_MESSAGE_START + 81)
277 #define SID_CHI_SQUARE_TEST_DIALOG (SC_MESSAGE_START + 82)
278 #define SID_SEARCH_RESULTS_DIALOG (SC_MESSAGE_START + 83)
279 #define SID_WINDOW_FIX_ROW (SC_MESSAGE_START + 84)
280 #define SID_WINDOW_FIX_COL (SC_MESSAGE_START + 85)
281 #define SID_COLUMN_OPERATIONS (SC_MESSAGE_START + 86)
282 #define SID_ROW_OPERATIONS (SC_MESSAGE_START + 87)
286 #define SID_OPEN_CALC (SC_FUNCTION_START + 4)
287 #define SID_CONVERT_FORMULA_TO_VALUE (SC_FUNCTION_START + 5)
288 #define FILE_MENU_END (SC_FUNCTION_START + 20)
290 #define EDIT_MENU_START (FILE_MENU_END)
291 #define FID_DELETE_CELL (EDIT_MENU_START + 2)
292 #define FID_DELETE_TABLE (EDIT_MENU_START + 3)
293 #define FID_FILL_TO_BOTTOM (EDIT_MENU_START + 4)
294 #define FID_FILL_TO_RIGHT (EDIT_MENU_START + 5)
295 #define FID_FILL_TO_TOP (EDIT_MENU_START + 6)
296 #define FID_FILL_TO_LEFT (EDIT_MENU_START + 7)
297 #define FID_FILL_TAB (EDIT_MENU_START + 8)
298 #define FID_FILL_SERIES (EDIT_MENU_START + 9)
299 #define FID_FILL_SINGLE_EDIT (EDIT_MENU_START + 10)
300 #define SID_SC_EDIT_OBJECT (EDIT_MENU_START + 14)
301 #define SID_HFEDIT (EDIT_MENU_START + 15)
303 #define SID_DEL_ROWS (EDIT_MENU_START + 16)//JN
304 #define SID_DEL_COLS (EDIT_MENU_START + 17)//JN
305 // EDIT_MENU_START + 18 is defined in include/sfx2/sfxsids.hrc
306 #define FID_CHG_SHOW (EDIT_MENU_START + 19)
308 #define EDIT_MENU_END (EDIT_MENU_START + 20)
309 #define VIEW_MENU_START (EDIT_MENU_END)
311 #define FID_TOGGLEINPUTLINE (VIEW_MENU_START + 1)
312 #define FID_TOGGLEHEADERS (VIEW_MENU_START + 2)
313 #define FID_SCALE (VIEW_MENU_START + 4)
314 #define FID_TOGGLESYNTAX (VIEW_MENU_START + 5)
315 #define FID_PAGEBREAKMODE (VIEW_MENU_START + 7)
316 #define FID_FUNCTION_BOX (VIEW_MENU_START + 8)
317 #define FID_NORMALVIEWMODE (VIEW_MENU_START + 9)
318 #define FID_TOGGLEFORMULA (VIEW_MENU_START + 10)
320 #define FID_CHG_ACCEPT (VIEW_MENU_START + 18)// DANGER DIRTY ID
321 #define FID_CHG_COMMENT (VIEW_MENU_START + 19)// DANGER DIRTY ID
322 #define VIEW_MENU_END (VIEW_MENU_START + 20)
324 #define INSERT_MENU_START (VIEW_MENU_END)
325 #define FID_INS_ROWBRK (INSERT_MENU_START + 1)
326 #define FID_INS_COLBRK (INSERT_MENU_START + 2)
327 #define FID_DEL_ROWBRK (INSERT_MENU_START + 3)
328 #define FID_DEL_COLBRK (INSERT_MENU_START + 4)
329 #define FID_INS_CELL_CONTENTS (INSERT_MENU_START + 5)
330 #define FID_INS_CELL (INSERT_MENU_START + 6)
331 #define FID_INS_ROW (INSERT_MENU_START + 7)
332 #define FID_INS_COLUMN (INSERT_MENU_START + 8)
333 #define FID_INS_TABLE (INSERT_MENU_START + 9)
334 #define SID_INS_FUNCTION (INSERT_MENU_START + 10)
335 #define FID_DEFINE_NAME (INSERT_MENU_START + 11)
336 #define FID_INSERT_NAME (INSERT_MENU_START + 12)
337 #define FID_USE_NAME (INSERT_MENU_START + 13)
338 #define FID_APPLY_NAME (INSERT_MENU_START + 14)
339 #define FID_INS_TABLE_EXT (INSERT_MENU_START + 15)
340 #define FID_ADD_NAME (INSERT_MENU_START + 16)
341 #define FID_INS_CELLSDOWN (INSERT_MENU_START + 18)
342 #define FID_INS_CELLSRIGHT (INSERT_MENU_START + 19)
343 #define FID_INS_ROWS_AFTER (INSERT_MENU_START + 20)
344 #define FID_INS_COLUMNS_AFTER (INSERT_MENU_START + 21)
345 #define FID_INS_ROWS_BEFORE (INSERT_MENU_START + 22)
346 #define FID_INS_COLUMNS_BEFORE (INSERT_MENU_START + 23)
347 #define INSERT_MENU_END (INSERT_MENU_START + 24)
349 #define FORMAT_MENU_START (INSERT_MENU_END)
350 #define FID_CELL_FORMAT (FORMAT_MENU_START)
351 #define FID_ROW_HEIGHT (FORMAT_MENU_START + 1)
352 #define FID_ROW_OPT_HEIGHT (FORMAT_MENU_START + 2)
353 #define FID_ROW_HIDE (FORMAT_MENU_START + 3)
354 #define FID_ROW_SHOW (FORMAT_MENU_START + 4)
355 #define FID_COL_WIDTH (FORMAT_MENU_START + 5)
356 #define FID_COL_OPT_WIDTH (FORMAT_MENU_START + 6)
357 #define FID_COL_HIDE (FORMAT_MENU_START + 7)
358 #define FID_COL_SHOW (FORMAT_MENU_START + 8)
359 #define FID_TABLE_HIDE (FORMAT_MENU_START + 9)
360 #define FID_TABLE_SHOW (FORMAT_MENU_START + 10)
361 #define SID_COLORSCALE (FORMAT_MENU_START + 11)
362 #define SID_DATABAR (FORMAT_MENU_START + 12)
363 #define FID_MERGE_ON (FORMAT_MENU_START + 15)
364 #define FID_MERGE_OFF (FORMAT_MENU_START + 16)
365 #define SID_FORMATPAGE (FORMAT_MENU_START + 17)
366 #define SID_TEXT_STANDARD (FORMAT_MENU_START + 18)
367 #define SID_DRAWTEXT_ATTR_DLG (FORMAT_MENU_START + 19)
368 #define FID_TABLE_VISIBLE (FORMAT_MENU_START + 20)
369 #define FID_COL_OPT_DIRECT (FORMAT_MENU_START + 21)
370 #define FORMAT_MENU_END (FORMAT_MENU_START + 22)
372 #define EXTRA_MENU_START (FORMAT_MENU_END)
373 #define FID_AUTO_CALC (EXTRA_MENU_START + 3)
374 #define FID_RECALC (EXTRA_MENU_START + 4)
375 #define FID_PROTECT_TABLE (EXTRA_MENU_START + 6)
376 #define FID_PROTECT_DOC (EXTRA_MENU_START + 7)
377 #define SID_SCOPTIONS (EXTRA_MENU_START + 9)
378 #define SID_SHARE_DOC (EXTRA_MENU_START + 11)
379 #define SID_SCENARIOS (EXTRA_MENU_START + 12)
380 #define SID_ADD_IN_MANAGER (EXTRA_MENU_START + 13)
381 #define SID_PIVOT_RECALC (EXTRA_MENU_START + 14)
382 #define SID_PIVOT_KILL (EXTRA_MENU_START + 15)
384 #define FID_HARD_RECALC (EXTRA_MENU_START + 18)
385 #define FID_AUTOCOMPLETE (EXTRA_MENU_START + 19)
387 #define EXTRA_MENU_END (EXTRA_MENU_START + 20)
389 #define DATA_MENU_START (EXTRA_MENU_END)
390 #define SID_DEFINE_DBNAME (DATA_MENU_START)
391 #define SID_SELECT_DB (DATA_MENU_START + 1)
392 #define SID_SORT (DATA_MENU_START + 2)
393 #define SID_FILTER (DATA_MENU_START + 3)
394 #define SID_SPECIAL_FILTER (DATA_MENU_START + 4)
395 #define SID_AUTO_FILTER (DATA_MENU_START + 5)
396 #define SID_UNFILTER (DATA_MENU_START + 6)
397 #define SID_QUERY (DATA_MENU_START + 7)
398 #define SID_MANAGE_XML_SOURCE (DATA_MENU_START + 8)
399 #define SID_SUBTOTALS (DATA_MENU_START + 13)
400 #define SID_AUTO_OUTLINE (DATA_MENU_START + 14)
401 #define SID_IMPORT_DATA (DATA_MENU_START + 15)
402 #define SID_REIMPORT_DATA (DATA_MENU_START + 16)
403 #define SID_PIVOT_TABLE (DATA_MENU_START + 17)
404 #define SID_TABOP (DATA_MENU_START + 18)
405 #define SID_TEXT_TO_COLUMNS (DATA_MENU_START + 19)
406 #define SID_CONSOLIDATE (DATA_MENU_START + 20)
407 #define SID_AUTOFILTER_HIDE (DATA_MENU_START + 21)
408 #define SID_SBA_IMPORT (DATA_MENU_START + 22)
409 #define SID_SORT_DESCENDING (DATA_MENU_START + 23)
410 #define SID_SORT_ASCENDING (DATA_MENU_START + 24)
411 #define SID_OUTLINE_HIDE (DATA_MENU_START + 25)
412 #define SID_OUTLINE_SHOW (DATA_MENU_START + 26)
413 #define SID_OUTLINE_MAKE (DATA_MENU_START + 27)
414 #define SID_OUTLINE_REMOVE (DATA_MENU_START + 28)
416 #define DATA_MENU_END (DATA_MENU_START + 29)
418 #define TAB_POPUP_START (DATA_MENU_END)
419 #define FID_TAB_MENU_RENAME (TAB_POPUP_START)
420 #define FID_TAB_RENAME (TAB_POPUP_START+1)
421 #define FID_TAB_MOVE (TAB_POPUP_START+2)
422 #define FID_TAB_SELECTALL (TAB_POPUP_START+3)
423 #define FID_TAB_APPEND (TAB_POPUP_START+4)
424 #define FID_TAB_INDEX (TAB_POPUP_START+5)
425 #define FID_TAB_RTL (TAB_POPUP_START+6)
426 #define FID_TAB_DESELECTALL (TAB_POPUP_START+7)
427 #define FID_TAB_MENU_SET_TAB_BG_COLOR (TAB_POPUP_START + 8)
428 #define FID_TAB_SET_TAB_BG_COLOR (TAB_POPUP_START + 9)
429 #define FID_TAB_EVENTS (TAB_POPUP_START+10)
431 #define TAB_POPUP_END (TAB_POPUP_START + 20)
433 #define OBJBAR_FORMAT_START (TAB_POPUP_END)
434 #define SID_ALIGNLEFT (OBJBAR_FORMAT_START+6)
435 #define SID_ALIGNRIGHT (OBJBAR_FORMAT_START+7)
436 #define SID_ALIGNCENTERHOR (OBJBAR_FORMAT_START+8)
437 #define SID_ALIGNBLOCK (OBJBAR_FORMAT_START+9)
438 #define SID_ALIGNTOP (OBJBAR_FORMAT_START+10)
439 #define SID_ALIGNBOTTOM (OBJBAR_FORMAT_START+11)
440 #define SID_ALIGNCENTERVER (OBJBAR_FORMAT_START+12)
441 #define SID_SELECT_SCENARIO (OBJBAR_FORMAT_START+13)
443 #define SID_V_ALIGNCELL (OBJBAR_FORMAT_START+14)
444 #define SID_H_ALIGNCELL (OBJBAR_FORMAT_START+15)
446 #define OBJBAR_FORMAT_END (OBJBAR_FORMAT_START+20)
448 #define RID_INPUTBAR_START (OBJBAR_FORMAT_END)
449 #define RID_INPUTBAR_END (RID_INPUTBAR_START+1)
451 #define DRAW_BAR_START (RID_INPUTBAR_END)
452 #define SID_ANCHOR_PAGE (DRAW_BAR_START+24)
453 #define SID_ANCHOR_CELL (DRAW_BAR_START+25)
454 #define SID_ANCHOR_TOGGLE (DRAW_BAR_START+26)
455 #define SID_ORIGINALSIZE (DRAW_BAR_START+27)
457 #define DRAW_BAR_END (DRAW_BAR_START+50)
459 #define DRAWTEXTBAR_START (DRAW_BAR_END)
460 #define DRAWTEXTBAR_END (DRAWTEXTBAR_START+20)
462 #define DETECTIVE_START (DRAWTEXTBAR_END)
463 #define SID_DETECTIVE_ADD_PRED (DETECTIVE_START)
464 #define SID_DETECTIVE_DEL_PRED (DETECTIVE_START+1)
465 #define SID_DETECTIVE_ADD_SUCC (DETECTIVE_START+2)
466 #define SID_DETECTIVE_DEL_SUCC (DETECTIVE_START+3)
467 #define SID_DETECTIVE_ADD_ERR (DETECTIVE_START+4)
468 #define SID_DETECTIVE_DEL_ALL (DETECTIVE_START+5)
470 #define SID_DETECTIVE_FILLMODE (DETECTIVE_START+6)
471 #define SID_FILL_ADD_PRED (DETECTIVE_START+7)
472 #define SID_FILL_DEL_PRED (DETECTIVE_START+8)
473 #define SID_FILL_ADD_SUCC (DETECTIVE_START+9)
474 #define SID_FILL_DEL_SUCC (DETECTIVE_START+10)
475 #define SID_FILL_NONE (DETECTIVE_START+11)
476 #define SID_FILL_SELECT (DETECTIVE_START+12)
478 #define SID_DETECTIVE_INVALID (DETECTIVE_START+13)
480 #define SID_DETECTIVE_REFRESH (DETECTIVE_START+14)
481 #define SID_DETECTIVE_AUTO (DETECTIVE_START+15)
483 #define SID_DETECTIVE_MARK_PRED (DETECTIVE_START+16)
484 #define SID_DETECTIVE_MARK_SUCC (DETECTIVE_START+17)
486 #define DETECTIVE_END (DETECTIVE_START+20)
488 #define SID_API_SLOTS (DETECTIVE_END)
489 #define SID_INSERT_MATRIX (SID_API_SLOTS+1)
491 #define SID_DELETE_NOTE (SID_API_SLOTS+2)
493 #define SID_PREVIEW_START (SID_API_SLOTS+20)
494 #define SID_PREVIEW_NEXT (SID_PREVIEW_START)
495 #define SID_PREVIEW_PREVIOUS (SID_PREVIEW_START+1)
496 #define SID_PREVIEW_FIRST (SID_PREVIEW_START+2)
497 #define SID_PREVIEW_LAST (SID_PREVIEW_START+3)
498 #define SID_PREVIEW_ZOOMIN (SID_PREVIEW_START+5)
499 #define SID_PREVIEW_ZOOMOUT (SID_PREVIEW_START+6)
500 #define SID_PREVIEW_CLOSE (SID_PREVIEW_START+7)
501 #define SID_PREVIEW_MARGIN (SID_PREVIEW_START+8)
502 #define SID_PREVIEW_SCALINGFACTOR (SID_PREVIEW_START+9)
503 #define SID_PREVIEW_END (SID_PREVIEW_START+20)
505 //from sfx: #define SID_KEYFUNC_START (SID_PREVIEW_END+5)
506 #define SID_CURSORDOWN_SEL (SID_KEYFUNC_START + 0)
507 #define SID_CURSORUP_SEL (SID_KEYFUNC_START + 1)
508 #define SID_CURSORLEFT_SEL (SID_KEYFUNC_START + 2)
509 #define SID_CURSORRIGHT_SEL (SID_KEYFUNC_START + 3)
510 #define SID_CURSORPAGEDOWN_SEL (SID_KEYFUNC_START + 4)
511 #define SID_CURSORPAGEUP_SEL (SID_KEYFUNC_START + 5)
513 #define SID_CURSORPAGELEFT_ (SID_KEYFUNC_START + 6)
514 #define SID_CURSORPAGELEFT_SEL (SID_KEYFUNC_START + 7)
515 #define SID_CURSORPAGERIGHT_ (SID_KEYFUNC_START + 8)
516 #define SID_CURSORPAGERIGHT_SEL (SID_KEYFUNC_START + 9)
518 #define SID_CURSORTOPOFFILE_SEL (SID_KEYFUNC_START + 10)
519 #define SID_CURSORENDOFFILE_SEL (SID_KEYFUNC_START + 11)
520 #define SID_CURSORHOME_SEL (SID_KEYFUNC_START + 12)
521 #define SID_CURSOREND_SEL (SID_KEYFUNC_START + 13)
522 #define SID_CURSORBLKUP (SID_KEYFUNC_START + 14)
523 #define SID_CURSORBLKDOWN (SID_KEYFUNC_START + 15)
524 #define SID_CURSORBLKLEFT (SID_KEYFUNC_START + 16)
525 #define SID_CURSORBLKRIGHT (SID_KEYFUNC_START + 17)
526 #define SID_CURSORBLKUP_SEL (SID_KEYFUNC_START + 18)
527 #define SID_CURSORBLKDOWN_SEL (SID_KEYFUNC_START + 19)
528 #define SID_CURSORBLKLEFT_SEL (SID_KEYFUNC_START + 20)
529 #define SID_CURSORBLKRIGHT_SEL (SID_KEYFUNC_START + 21)
531 #define SID_NEXT_TABLE (SID_KEYFUNC_START + 22)
532 #define SID_PREV_TABLE (SID_KEYFUNC_START + 23)
534 #define SID_NEXT_UNPROTECT (SID_KEYFUNC_START + 24)
535 #define SID_PREV_UNPROTECT (SID_KEYFUNC_START + 25)
537 #define SID_SELECT_COL (SID_KEYFUNC_START + 26)
538 #define SID_SELECT_ROW (SID_KEYFUNC_START + 27)
539 #define SID_SELECT_NONE (SID_KEYFUNC_START + 28)
540 #define SID_ALIGNCURSOR (SID_KEYFUNC_START + 29)
541 #define SID_MARKDATAAREA (SID_KEYFUNC_START + 30)
542 #define SID_SETINPUTMODE (SID_KEYFUNC_START + 31)
543 #define SID_DELETE_CONTENTS (SID_KEYFUNC_START + 32)
545 #define SID_MARKAREA (SID_KEYFUNC_START + 33)
547 #define FID_FILL_AUTO (SID_KEYFUNC_START + 35)
548 #define SID_CANCEL (SID_KEYFUNC_START + 36)
550 #define SID_CURSORENTERUP (SID_KEYFUNC_START + 37)
551 #define SID_CURSORENTERDOWN (SID_KEYFUNC_START + 38)
553 #define SID_MARKARRAYFORMULA (SID_KEYFUNC_START + 39)
555 #define SID_NEXT_TABLE_SEL (SID_KEYFUNC_START + 40)
556 #define SID_PREV_TABLE_SEL (SID_KEYFUNC_START + 41)
558 #define SID_KEYFUNC_END (SID_KEYFUNC_START + 50)
560 #define SID_NEW_SLOTS (SID_KEYFUNC_END)
562 #define SID_NEW_TABLENAME (SID_NEW_SLOTS+1)
564 #define SID_EXPORT_AS_GRAPHIC (SID_NEW_SLOTS+2)
566 #define FID_MERGE_TOGGLE (SID_NEW_SLOTS+10)
567 #define SID_ATTR_ROWHEADERS (SID_NEW_SLOTS+11)
568 #define SID_ATTR_COLHEADERS (SID_NEW_SLOTS+12)
570 #define SID_SC_CELLS (SID_NEW_SLOTS+13)
571 #define SID_SC_RANGE (SID_NEW_SLOTS+14)
572 #define SID_SC_SELECTION (SID_NEW_SLOTS+15)
573 #define SID_SC_CELLTEXT (SID_NEW_SLOTS+16)
575 #define SID_SC_ACTIVECELL (SID_NEW_SLOTS+18)
576 #define SID_SC_ACTIVETAB (SID_NEW_SLOTS+19)
577 #define SID_RANGE_ROW (SID_NEW_SLOTS+20)
578 #define SID_RANGE_COL (SID_NEW_SLOTS+21)
579 #define SID_RANGE_TABLE (SID_NEW_SLOTS+22)
580 #define SID_RANGE_VALUE (SID_NEW_SLOTS+23)
581 #define SID_RANGE_FORMULA (SID_NEW_SLOTS+24)
582 #define SID_RANGE_TEXTVALUE (SID_NEW_SLOTS+26)
583 #define SID_TABLE_ACTIVATE (SID_NEW_SLOTS+27)
584 #define SID_TABLES_GET (SID_NEW_SLOTS+28)
585 #define SID_PROP_INTERIOR (SID_NEW_SLOTS+29)
586 #define SID_PROP_FONT (SID_NEW_SLOTS+30)
588 #define SID_DEFINE_PRINTAREA (SID_NEW_SLOTS+31)
589 #define SID_DELETE_PRINTAREA (SID_NEW_SLOTS+32)
590 #define SID_CHANGE_PRINTAREA (SID_NEW_SLOTS+33)
591 #define SID_OPENDLG_EDIT_PRINTAREA (SID_NEW_SLOTS+34)
593 #define SID_OLE_OBJECT (SID_NEW_SLOTS+35)
594 #define SID_OLE_ACTIVATE (SID_NEW_SLOTS+36)
595 #define SID_OLE_DEACTIVATE (SID_NEW_SLOTS+37)
597 #define SID_TOGGLE_REL (SID_NEW_SLOTS+38)
598 #define SID_DATA_SELECT (SID_NEW_SLOTS+39)
601 #define FID_SEARCH (SID_NEW_SLOTS+40)
602 #define FID_REPEAT_SEARCH (SID_NEW_SLOTS+41)
603 #define FID_REPLACE (SID_NEW_SLOTS+42)
604 #define FID_SEARCH_ALL (SID_NEW_SLOTS+43)
605 #define FID_REPLACE_ALL (SID_NEW_SLOTS+44)
606 #define FID_SEARCH_COUNT (SID_NEW_SLOTS+45)
608 #define SID_SC_SETTEXT (SID_NEW_SLOTS+46)
609 #define SID_RANGE_ADDRESS (SID_NEW_SLOTS+47)
610 #define SID_RANGE_OFFSET (SID_NEW_SLOTS+48)
611 #define SID_NUMBER_FORMAT (SID_NEW_SLOTS+49)
613 #define SID_OLE_SELECT (SID_NEW_SLOTS+50)
614 #define SID_SC_ACTIVEOBJECT (SID_NEW_SLOTS+51)
616 #define SID_RANGE_NOTETEXT (SID_NEW_SLOTS+52)
617 #define FID_INSERT_FILE (SID_NEW_SLOTS+53)
619 #define FID_VALIDATION (SID_NEW_SLOTS+54)
621 // slots for toolbox controller in toolbar
622 #define SID_TBXCTL_INSERT (SID_NEW_SLOTS+55)
623 #define SID_TBXCTL_INSCELLS (SID_NEW_SLOTS+56)
625 #define SID_DEFINE_COLROWNAMERANGES (SID_NEW_SLOTS+58)
627 #define FID_NOTE_VISIBLE (SID_NEW_SLOTS+59)
629 // items for validation
630 #define FID_VALID_MODE (SID_NEW_SLOTS+60)
631 #define FID_VALID_CONDMODE (SID_NEW_SLOTS+61)
632 #define FID_VALID_VALUE1 (SID_NEW_SLOTS+62)
633 #define FID_VALID_VALUE2 (SID_NEW_SLOTS+63)
634 #define FID_VALID_BLANK (SID_NEW_SLOTS+64)
635 #define FID_VALID_SHOWHELP (SID_NEW_SLOTS+65)
636 #define FID_VALID_HELPTITLE (SID_NEW_SLOTS+66)
637 #define FID_VALID_HELPTEXT (SID_NEW_SLOTS+67)
638 #define FID_VALID_SHOWERR (SID_NEW_SLOTS+68)
639 #define FID_VALID_ERRSTYLE (SID_NEW_SLOTS+69)
640 #define FID_VALID_ERRTITLE (SID_NEW_SLOTS+70)
641 #define FID_VALID_ERRTEXT (SID_NEW_SLOTS+71)
643 #define SID_REFRESH_DBAREA (SID_NEW_SLOTS+72)
644 #define SID_RANGE_REGION (SID_NEW_SLOTS+73)
646 #define FID_FOCUS_POSWND (SID_NEW_SLOTS+74)
648 // single slots for different underline kinds (popup menu)
649 #define SID_ULINE_VAL_NONE (SID_NEW_SLOTS+75)
650 #define SID_ULINE_VAL_SINGLE (SID_NEW_SLOTS+76)
651 #define SID_ULINE_VAL_DOUBLE (SID_NEW_SLOTS+77)
652 #define SID_ULINE_VAL_DOTTED (SID_NEW_SLOTS+78)
654 #define FID_DEL_MANUALBREAKS (SID_NEW_SLOTS+79)
655 #define SID_ADD_PRINTAREA (SID_NEW_SLOTS+80)
656 #define FID_ADJUST_PRINTZOOM (SID_NEW_SLOTS+81)
657 #define FID_RESET_PRINTZOOM (SID_NEW_SLOTS+82)
659 #define SID_TABLES_COUNT (SID_NEW_SLOTS+83)
660 #define SID_ACTIVE_OBJ_NAME (SID_NEW_SLOTS+84)
661 #define SID_OBJECT_LEFT (SID_NEW_SLOTS+85)
662 #define SID_OBJECT_TOP (SID_NEW_SLOTS+86)
663 #define SID_OBJECT_WIDTH (SID_NEW_SLOTS+87)
664 #define SID_OBJECT_HEIGHT (SID_NEW_SLOTS+88)
666 #define SID_PIVOT_CREATE (SID_NEW_SLOTS+89)
667 #define SID_PIVOT_FIELDS (SID_NEW_SLOTS+90)
668 #define SID_PFIELD_NAME (SID_NEW_SLOTS+91)
669 #define SID_PFIELD_ORIENTATION (SID_NEW_SLOTS+92)
670 #define SID_PFIELD_FUNCTION (SID_NEW_SLOTS+93)
671 #define SID_PIVOT_GET (SID_NEW_SLOTS+94)
673 #define SID_DELETE_SCENARIO (SID_NEW_SLOTS+95)
674 #define SID_EDIT_SCENARIO (SID_NEW_SLOTS+96)
675 #define SID_INSERT_FIELD_SHEET (SID_NEW_SLOTS+97)
676 #define SID_INSERT_FIELD_TITLE (SID_NEW_SLOTS+98)
677 #define SID_INSERT_FIELD_DATE_VAR (SID_NEW_SLOTS+99)
679 #define FID_SHOW_NOTE (SID_NEW_SLOTS+100)
680 #define FID_HIDE_NOTE (SID_NEW_SLOTS+101)
684 #define SID_SORT_BYROW (SC_PARAM_START)
685 #define SID_SORT_HASHEADER (SC_PARAM_START+1)
686 #define SID_SORT_CASESENS (SC_PARAM_START+2)
687 #define SID_SORT_ATTRIBS (SC_PARAM_START+3)
688 #define SID_SORT_USERDEF (SC_PARAM_START+4)
689 #define SID_SORT_NATURALSORT (SC_PARAM_START+5)
690 #define SID_SORT_INCCOMMENTS (SC_PARAM_START+6)
692 // Sidebar -------------------------------------------------------------
694 #define SID_PROPERTY_PANEL_CELLTEXT_DLG (SC_SIDEBAR_PROPERTY_BEGIN+0)
695 #define SID_NUMBER_TYPE_FORMAT (SC_SIDEBAR_PROPERTY_BEGIN+1)
699 #define RID_OBJECTBAR_APP (SC_RESOURCE_START)
700 #define RID_OBJECTBAR_FORMAT (SC_RESOURCE_START+1)
701 #define RID_TEXT_TOOLBOX (SC_RESOURCE_START+5)
702 #define RID_OBJECTBAR_PREVIEW (SC_RESOURCE_START+6)
703 #define RID_OUTLINEBITMAPS (SC_RESOURCE_START+12)
704 #define RID_DRAW_WIN (SC_RESOURCE_START+13)
705 #define RID_CNTRLR_WIN (SC_RESOURCE_START+14)
706 #define RID_GLOBSTR (SC_RESOURCE_START+15)
707 #define RID_ALIGNMENT_WIN (SC_RESOURCE_START+19)
708 #define RID_ERRHDLSC (SC_RESOURCE_START+23)
709 #define RID_OBJECTBAR_TOOLS (SC_RESOURCE_START+35)
710 #define RID_SC_FUNCTION_DESCRIPTIONS1 (SC_RESOURCE_START+43)
711 #define RID_SC_FUNCTION_DESCRIPTIONS2 (SC_RESOURCE_START+44)
712 #define RID_IMAGELIST_NAVCONT (SC_RESOURCE_START+52)
713 #define RID_DRAW_OBJECTBAR (SC_RESOURCE_START+53)
714 #define RID_GRAPHIC_OBJECTBAR (SC_RESOURCE_START+54)
715 #define RID_MEDIA_OBJECTBAR (SC_RESOURCE_START+60)
716 #define RID_FUNCTION_CATEGORIES (SC_RESOURCE_START+62)
717 #define RID_STATISTICS_DLGS (SC_RESOURCE_START+64)
719 #define STR_START (SC_RESOURCE_START+100)
720 #define STR_ROWHEIGHT (STR_START)
721 #define STR_ROWHEIGHT_TITLE (STR_START + 1)
722 #define STR_OPT_ROWHEIGHT (STR_START + 2)
723 #define STR_OPT_ROWHEIGHT_TITLE (STR_START + 3)
724 #define STR_COLWIDTH (STR_START + 4)
725 #define STR_COLWIDTH_TITLE (STR_START + 5)
726 #define STR_OPT_COLWIDTH (STR_START + 6)
727 #define STR_OPT_COLWIDTH_TITLE (STR_START + 7)
728 #define SCSTR_UNDEFINED (STR_START + 8)
729 #define SCSTR_NONAME (STR_START + 9)
730 #define SCSTR_NONE (STR_START + 10)
731 #define SCSTR_FILTER_EMPTY (STR_START + 11)
732 #define SCSTR_FILTER_NOTEMPTY (STR_START + 12)
733 #define SCSTR_COLUMN (STR_START + 13)
734 #define SCSTR_ROW (STR_START + 14)
735 #define SCSTR_NEW (STR_START + 15)
737 #define SCSTR_REMOVE (STR_START + 17)
738 #define SCSTR_CANCEL (STR_START + 18)
740 #define SCSTR_SHOWTABLE (STR_START + 20)
741 #define SCSTR_HIDDENTABLES (STR_START + 21)
743 #define SCSTR_TABLE (STR_START + 24)
744 #define SCSTR_NAME (STR_START + 25)
745 #define SCSTR_INSTABLE (STR_START + 26)
746 #define SCSTR_APDTABLE (STR_START + 27)
747 #define SCSTR_RENAMETAB (STR_START + 28)
748 #define STR_INSERTGRAPHIC (STR_START + 29)
750 #define SCSTR_NEWTABLE (STR_START + 37)
752 #define SCSTR_PROTECTDOC (STR_START + 39)
753 #define SCSTR_UNPROTECTDOC (STR_START + 40)
754 #define SCSTR_PROTECTTAB (STR_START + 41)
755 #define SCSTR_UNPROTECTTAB (STR_START + 42)
756 #define SCSTR_PASSWORD (STR_START + 43)
757 #define SCSTR_PASSWORDOPT (STR_START + 44)
758 #define SCSTR_WRONGPASSWORD (STR_START + 45)
760 #define SCSTR_END (STR_START + 47)
761 #define SCSTR_STAT_PRINT (STR_START + 48)
763 #define SCSTR_UNKNOWN (STR_START + 49)
764 #define SCSTR_CHAR_ATTRS (STR_START + 50)
765 #define SCSTR_ALL (STR_START + 51)
766 #define SCSTR_STDFILTER (STR_START + 52)
769 #define SCSTR_CFG_APP (STR_START + 53)
770 #define SCSTR_CFG_DOC (STR_START + 54)
771 #define SCSTR_CFG_VIEW (STR_START + 55)
772 #define SCSTR_CFG_SPELLCHECK (STR_START + 56)
773 #define SCSTR_CFG_PRINT (STR_START + 57)
775 #define SCSTR_CHARSET_USER (STR_START + 59)
776 #define SCSTR_COLUMN_USER (STR_START + 60)
777 #define SCSTR_FIELDSEP (STR_START + 61)
778 #define SCSTR_TEXTSEP (STR_START + 62)
779 #define SCSTR_MULTIPLE (STR_START + 63)
781 #define SCSTR_CFG_INPUT (STR_START + 65)
783 #define SCSTR_TOP10FILTER (STR_START + 66)
785 #define SCSTR_CFG_NAVIPI (STR_START + 67)
787 #define SCSTR_GRFILTER_OPENERROR (STR_START + 77)
788 #define SCSTR_GRFILTER_IOERROR (STR_START + 78)
789 #define SCSTR_GRFILTER_FORMATERROR (STR_START + 79)
790 #define SCSTR_GRFILTER_VERSIONERROR (STR_START + 80)
791 #define SCSTR_GRFILTER_FILTERERROR (STR_START + 81)
792 #define SCSTR_GRFILTER_TOOBIG (STR_START + 82)
793 #define SCSTR_UNDO_GRAFFILTER (STR_START + 83)
795 #define SCSTR_COL_LABEL (STR_START + 84)
796 #define SCSTR_ROW_LABEL (STR_START + 85)
798 #define SCSTR_CHG_PROTECT (STR_START + 86)
799 #define SCSTR_CHG_UNPROTECT (STR_START + 87)
801 #define STR_CAPTION_DEFAULT_TEXT (STR_START + 88)
803 // dialog: select sheets
804 #define STR_DLG_SELECTTABLES_TITLE (STR_START + 89)
805 #define STR_DLG_SELECTTABLES_LBNAME (STR_START + 90)
807 // replace cell contents warning
808 #define STR_REPLCELLSWARN (STR_START + 91)
810 #define SCSTR_DPFUNCLISTBOX (STR_START + 92)
811 #define SCSTR_ALLFILTER (STR_START + 94)
812 #define SCSTR_MOREBTN_MOREOPTIONS (STR_START + 95)
813 #define SCSTR_MOREBTN_FEWEROPTIONS (STR_START + 96)
817 #define SCSTR_HOR_JUSTIFY_LEFT (STR_START + 100)
818 #define SCSTR_HOR_JUSTIFY_CENTER (STR_START + 101)
819 #define SCSTR_HOR_JUSTIFY_RIGHT (STR_START + 102)
820 #define SCSTR_HOR_JUSTIFY_BLOCK (STR_START + 103)
821 #define SCSTR_HOR_JUSTIFY_REPEAT (STR_START + 104)
822 #define SCSTR_HOR_JUSTIFY_STANDARD (STR_START + 105)
823 #define SCSTR_VER_JUSTIFY_TOP (STR_START + 106)
824 #define SCSTR_VER_JUSTIFY_CENTER (STR_START + 107)
825 #define SCSTR_VER_JUSTIFY_BOTTOM (STR_START + 108)
826 #define SCSTR_VER_JUSTIFY_STANDARD (STR_START + 109)
827 #define SCSTR_ORIENTATION_TOPBOTTOM (STR_START + 110)
828 #define SCSTR_ORIENTATION_BOTTOMTOP (STR_START + 111)
829 #define SCSTR_ORIENTATION_STANDARD (STR_START + 112)
831 #define SCSTR_UNIT (STR_START + 114)
834 #define SCSTR_PRINTOPT_PAGES (STR_START + 120)
835 #define SCSTR_PRINTOPT_SUPPRESSEMPTY (STR_START + 121)
836 #define SCSTR_PRINTOPT_PRNTCONTENT (STR_START + 122)
837 #define SCSTR_PRINTOPT_ALLSHEETS (STR_START + 123)
838 #define SCSTR_PRINTOPT_SELECTEDSHEETS (STR_START + 124)
839 #define SCSTR_PRINTOPT_SELECTEDCELLS (STR_START + 125)
840 #define SCSTR_PRINTOPT_FROMWHICH (STR_START + 126)
841 #define SCSTR_PRINTOPT_ALLPAGES (STR_START + 127)
842 #define SCSTR_PRINTOPT_PAGES_ (STR_START + 128)
843 #define SCSTR_PRINTOPT_PRODNAME (STR_START + 129)
848 #define STR_ACC_CSVRULER_NAME (STR_START + 150)
849 #define STR_ACC_CSVRULER_DESCR (STR_START + 151)
850 #define STR_ACC_CSVGRID_NAME (STR_START + 152)
851 #define STR_ACC_CSVGRID_DESCR (STR_START + 153)
854 #define STR_ACC_DOC_NAME (STR_START + 154)
855 #define STR_ACC_DOC_DESCR (STR_START + 155)
856 #define STR_ACC_TABLE_NAME (STR_START + 156)
857 #define STR_ACC_TABLE_DESCR (STR_START + 157)
858 #define STR_ACC_CELL_NAME (STR_START + 158)
859 #define STR_ACC_CELL_DESCR (STR_START + 159)
862 #define STR_ACC_PREVIEWDOC_NAME (STR_START + 160)
863 #define STR_ACC_PREVIEWDOC_DESCR (STR_START + 161)
864 #define STR_ACC_HEADERCELL_NAME (STR_START + 162)
865 #define STR_ACC_HEADERCELL_DESCR (STR_START + 163)
866 #define STR_ACC_LEFTAREA_NAME (STR_START + 164)
867 #define STR_ACC_LEFTAREA_DESCR (STR_START + 165)
868 #define STR_ACC_CENTERAREA_NAME (STR_START + 166)
869 #define STR_ACC_CENTERAREA_DESCR (STR_START + 167)
870 #define STR_ACC_RIGHTAREA_NAME (STR_START + 168)
871 #define STR_ACC_RIGHTAREA_DESCR (STR_START + 169)
872 #define STR_ACC_HEADER_NAME (STR_START + 170)
873 #define STR_ACC_HEADER_DESCR (STR_START + 171)
874 #define STR_ACC_FOOTER_NAME (STR_START + 172)
875 #define STR_ACC_FOOTER_DESCR (STR_START + 173)
878 #define STR_ACC_EDITLINE_NAME (STR_START + 174)
879 #define STR_ACC_EDITLINE_DESCR (STR_START + 175)
882 #define STR_ACC_EDITCELL_NAME (STR_START + 176)
883 #define STR_ACC_EDITCELL_DESCR (STR_START + 177)
886 #define STR_ACC_DATAPILOT_ROW_DESCR (STR_START + 178)
887 #define STR_ACC_DATAPILOT_COL_DESCR (STR_START + 179)
888 #define STR_ACC_DATAPILOT_DATA_DESCR (STR_START + 180)
889 #define STR_ACC_DATAPILOT_SEL_DESCR (STR_START + 181)
890 #define STR_ACC_DATAPILOT_PAGE_DESCR (STR_START + 182)
892 #define STR_ACC_TOOLBAR_FORMULA (STR_START + 184)
893 #define STR_ACC_DOC_SPREADSHEET (STR_START + 185)
894 #define STR_ACC_DOC_PREVIEW_SUFFIX (STR_START + 186)
895 #define STR_ACC_DOC_SPREADSHEET_READONLY (STR_START + 187)
897 #define SCSTR_SHORT_SCDOC_NAME (STR_START + 211)
898 #define SCSTR_LONG_SCDOC_NAME (STR_START + 212)
900 #define SCSTR_CLPBRD_CLEAR (STR_START + 213)
902 #define SCSTR_FORMULA_AUTOCORRECTION (STR_START + 214)
904 #define SCSTR_RENAMEOBJECT (STR_START + 215)
905 #define SCSTR_CONDITION (STR_START + 216)
906 #define SCSTR_WARN_ME_IN_FUTURE_CHECK (STR_START + 217)
908 // header of search result dialog
910 #define STR_SHEET (STR_START + 218)
911 #define STR_CELL (STR_START + 219)
912 #define STR_CONTENT (STR_START + 220)
916 #define SCSTR_UNDO_PAGE_ANCHOR (STR_START + 221)
917 #define SCSTR_UNDO_CELL_ANCHOR (STR_START + 222)
919 // navigator - in the same order as SC_CONTENT_...
920 #define SCSTR_CONTENT_ROOT (STR_START + 250)
921 #define SCSTR_CONTENT_TABLE (STR_START + 251)
922 #define SCSTR_CONTENT_RANGENAME (STR_START + 252)
923 #define SCSTR_CONTENT_DBAREA (STR_START + 253)
924 #define SCSTR_CONTENT_GRAPHIC (STR_START + 254)
925 #define SCSTR_CONTENT_OLEOBJECT (STR_START + 255)
926 #define SCSTR_CONTENT_NOTE (STR_START + 256)
927 #define SCSTR_CONTENT_AREALINK (STR_START + 257)
928 #define SCSTR_CONTENT_DRAWING (STR_START + 258)
929 #define SCSTR_DRAGMODE (STR_START + 259)
930 #define SCSTR_DISPLAY (STR_START + 260)
931 #define SCSTR_ACTIVE (STR_START + 261)
932 #define SCSTR_NOTACTIVE (STR_START + 262)
933 #define SCSTR_HIDDEN (STR_START + 263)
934 #define SCSTR_ACTIVEWIN (STR_START + 264)
935 #define SCSTR_QHLP_SCEN_LISTBOX (STR_START + 265)
936 #define SCSTR_QHLP_SCEN_COMMENT (STR_START + 266)
938 // some space for extensions
940 // input, quickhelp strings (HelpText now using HelpId from help)
941 #define SCSTR_QHELP_INPUTWND (STR_START + 307)
942 #define SCSTR_QHELP_POSWND (STR_START + 308)
943 #define SCSTR_QHELP_BTNCALC (STR_START + 309)
944 #define SCSTR_QHELP_BTNOK (STR_START + 310)
945 #define SCSTR_QHELP_BTNCANCEL (STR_START + 311)
946 #define SCSTR_QHELP_BTNSUM (STR_START + 312)
947 #define SCSTR_QHELP_BTNEQUAL (STR_START + 313)
950 #define SCSTR_VALID_MINIMUM (STR_START + 314)
951 #define SCSTR_VALID_MAXIMUM (STR_START + 315)
952 #define SCSTR_VALID_VALUE (STR_START + 316)
953 #define SCSTR_VALID_RANGE (STR_START + 317)
954 #define SCSTR_VALID_LIST (STR_START + 318)
956 #define SCSTR_SELECT (STR_START + 319)
957 #define SCSTR_VALID_FORMULA (STR_START + 320)
960 #define SCSTR_MEDIASHELL (STR_START + 401)
962 #define RID_SCSTR_ONCLICK (STR_START + 402)
964 #define SCSTR_SET_TAB_BG_COLOR (STR_START + 403)
965 #define SCSTR_NO_TAB_BG_COLOR (STR_START + 404)
966 #define SCSTR_DDEDOC_NOT_LOADED (STR_START + 405)
967 #define SCSTR_QHELP_EXPAND_FORMULA (STR_START + 406)
968 #define SCSTR_QHELP_COLLAPSE_FORMULA (STR_START + 407)
969 #define SCSTR_EXTDOC_NOT_LOADED (STR_START + 408)
971 #define SCSTR_FORMULA_SYNTAX_CALC_A1 (STR_START + 409)
972 #define SCSTR_FORMULA_SYNTAX_XL_A1 (STR_START + 410)
973 #define SCSTR_FORMULA_SYNTAX_XL_R1C1 (STR_START + 411)
975 #define SCSTR_FIELDSEP_TAB (STR_START + 412)
976 #define SCSTR_FIELDSEP_SPACE (STR_START + 413)
978 #define SCSTR_VALERR (STR_START + 414)
980 #define STR_NOFORMULASPECIFIED (STR_START + 415)
981 #define STR_NOCOLROW (STR_START + 416)
982 #define STR_WRONGFORMULA (STR_START + 417)
983 #define STR_WRONGROWCOL (STR_START + 418)
984 #define STR_NOCOLFORMULA (STR_START + 419)
985 #define STR_NOROWFORMULA (STR_START + 420)
986 #define STR_ADD_AUTOFORMAT_TITLE (STR_START + 421)
987 #define STR_RENAME_AUTOFORMAT_TITLE (STR_START + 422)
988 #define STR_ADD_AUTOFORMAT_LABEL (STR_START + 423)
989 #define STR_DEL_AUTOFORMAT_TITLE (STR_START + 424)
990 #define STR_DEL_AUTOFORMAT_MSG (STR_START + 425)
991 #define STR_BTN_AUTOFORMAT_CLOSE (STR_START + 426)
992 #define STR_JAN (STR_START + 427)
993 #define STR_FEB (STR_START + 428)
994 #define STR_MAR (STR_START + 429)
995 #define STR_NORTH (STR_START + 430)
996 #define STR_MID (STR_START + 431)
997 #define STR_SOUTH (STR_START + 432)
998 #define STR_SUM (STR_START + 433)
999 #define SCSTR_UPDATE_EXTDOCS (STR_START + 434)
1000 #define STR_NOT_PROTECTED (STR_START + 435)
1001 #define STR_NOT_PASS_PROTECTED (STR_START + 436)
1002 #define STR_HASH_BAD (STR_START + 437)
1003 #define STR_HASH_GOOD (STR_START + 438)
1004 #define STR_HASH_REGENERATED (STR_START + 439)
1005 #define STR_RETYPE (STR_START + 440)
1007 #define STR_TITLE_CONFLICT (STR_START + 441)
1008 #define STR_TITLE_AUTHOR (STR_START + 442)
1009 #define STR_TITLE_DATE (STR_START + 443)
1010 #define STR_UNKNOWN_USER_CONFLICT (STR_START + 444)
1011 #define STR_END (STR_UNKNOWN_USER_CONFLICT)
1013 #define BMP_START (STR_END)
1016 #define RID_IMG_DROP_URL (BMP_START + 2)
1017 #define RID_IMG_DROP_LINK (BMP_START + 3)
1018 #define RID_IMG_DROP_COPY (BMP_START + 4)
1019 #define RID_IMG_SELECT_CURRENT (BMP_START + 8)
1020 #define RID_IMG_UNSELECT_CURRENT (BMP_START + 9)
1022 #define IMG_CELL_BORDER (BMP_START + 10)
1023 #define IMG_LINE_STYLE1 (BMP_START + 11)
1024 #define IMG_LINE_STYLE2 (BMP_START + 12)
1025 #define IMG_LINE_STYLE3 (BMP_START + 13)
1026 #define IMG_LINE_STYLE4 (BMP_START + 14)
1027 #define IMG_LINE_STYLE5 (BMP_START + 15)
1028 #define IMG_LINE_STYLE6 (BMP_START + 16)
1029 #define IMG_LINE_STYLE7 (BMP_START + 17)
1030 #define IMG_LINE_STYLE8 (BMP_START + 18)
1031 #define IMG_LINE_STYLE9 (BMP_START + 19)
1032 #define IMG_ELEMENT_DEFAULT (BMP_START + 20)
1033 #define IMG_ELEMENT_REPEAT (BMP_START + 21)
1034 #define IMG_ELEMENT_ATTRIBUTE (BMP_START + 22)
1036 #define BMP_END (BMP_START + 100)
1038 #define SC_DIALOGS_START (BMP_END)
1040 #define RID_SCDLG_INSCELL (SC_DIALOGS_START + 12)
1042 #define RID_SCDLG_SELENTRY (SC_DIALOGS_START + 18)
1044 #define RID_SCPAGE_USERLISTS (SC_DIALOGS_START + 31)
1046 #define RID_SCPAGE_AREAS (SC_DIALOGS_START + 44)
1047 #define RID_SCDLG_STYLES_PAR (SC_DIALOGS_START + 46)
1048 #define RID_SCDLG_STYLES_PAGE (SC_DIALOGS_START + 48)
1050 #define RID_SCDLG_HFEDIT (SC_DIALOGS_START + 50)
1051 #define RID_SCDLG_HFEDIT_ALL (SC_DIALOGS_START + 51)
1052 #define RID_SCDLG_HFED_HEADER (SC_DIALOGS_START + 52)
1053 #define RID_SCDLG_HFED_FOOTER (SC_DIALOGS_START + 53)
1055 #define RID_SCPAGE_CALC (SC_DIALOGS_START + 56)
1057 #define RID_SCDLG_HFEDIT_SHDR (SC_DIALOGS_START + 62)
1058 #define RID_SCDLG_HFEDIT_SFTR (SC_DIALOGS_START + 63)
1059 #define RID_SCDLG_HFEDIT_LEFTHEADER (SC_DIALOGS_START + 64)
1060 #define RID_SCDLG_HFEDIT_RIGHTHEADER (SC_DIALOGS_START + 65)
1061 #define RID_SCDLG_HFEDIT_LEFTFOOTER (SC_DIALOGS_START + 66)
1062 #define RID_SCDLG_HFEDIT_RIGHTFOOTER (SC_DIALOGS_START + 67)
1063 #define RID_SCDLG_HFEDIT_HEADER (SC_DIALOGS_START + 68)
1064 #define RID_SCDLG_HFEDIT_FOOTER (SC_DIALOGS_START + 69)
1065 #define RID_SCPAGE_PRINT (SC_DIALOGS_START + 70)
1067 #define RID_SCPAGE_STAT (SC_DIALOGS_START + 79)
1069 // popup for drop-mode in navigator
1070 #define RID_POPUP_DROPMODE (SC_DIALOGS_START + 92)
1071 #define RID_DROPMODE_URL (SC_DIALOGS_START + 93)
1072 #define RID_DROPMODE_LINK (SC_DIALOGS_START + 94)
1073 #define RID_DROPMODE_COPY (SC_DIALOGS_START + 95)
1075 // derivations from RID_SCDLG_SELENTRY
1077 #define RID_SCPAGE_CONTENT (SC_DIALOGS_START + 113)
1078 #define RID_SCPAGE_LAYOUT (SC_DIALOGS_START + 114)
1080 #define RID_POPUP_NAVIPI_SCENARIO (SC_DIALOGS_START + 120)
1081 #define RID_NAVIPI_SCENARIO_DELETE (SC_DIALOGS_START + 121)
1082 #define RID_NAVIPI_SCENARIO_EDIT (SC_DIALOGS_START + 122)
1084 #define RID_SCPAGE_OPREDLINE (SC_DIALOGS_START + 124)
1086 #define WID_SIMPLE_REF (SC_DIALOGS_START + 126)
1087 #define RID_POPUP_CHANGES (SC_DIALOGS_START + 127)
1089 #define RID_SCDLG_DAPISERVICE (SC_DIALOGS_START + 130)
1091 #define RID_SCDLG_DPNUMGROUP (SC_DIALOGS_START + 135)
1092 #define RID_SCDLG_DPDATEGROUP (SC_DIALOGS_START + 136)
1093 #define RID_SCDLG_DPSHOWDETAIL (SC_DIALOGS_START + 137)
1095 #define RID_CELLSTYLEFAMILY (SC_DIALOGS_START + 138)
1096 #define RID_PAGESTYLEFAMILY (SC_DIALOGS_START + 139)
1097 #define RID_STYLEFAMILY_IMAGELIST (SC_DIALOGS_START + 140)
1099 #define RID_POPUP_FILTER (SC_DIALOGS_START + 153)
1101 #define RID_SCDLG_COND_FORMAT_MANAGER (SC_DIALOGS_START + 159)
1103 #define WID_CONDFRMT_REF (SC_DIALOGS_START + 163)
1105 #define SC_DIALOGS_END (WID_CONDFRMT_REF + 1)
1112 // ooo-build specific resources
1114 #define SC_OOO_BUILD_START (SC_DIALOGS_END)
1116 // toggle sheet grid
1117 #define FID_TAB_TOGGLE_GRID (SC_OOO_BUILD_START + 1)
1119 // formula options page
1120 #define RID_SCPAGE_FORMULA (SC_OOO_BUILD_START + 2)
1122 // insert current date and time to cell via command
1123 #define SID_INSERT_CURRENT_DATE (SC_OOO_BUILD_START + 4)
1124 #define SID_INSERT_CURRENT_TIME (SC_OOO_BUILD_START + 5)
1127 #define SID_DATA_FORM (SC_OOO_BUILD_START + 7) // menu (in Data menu)
1129 // compatibility options page
1130 #define RID_SCPAGE_COMPATIBILITY (SC_OOO_BUILD_START + 9)
1133 #define RID_SCPAGE_DEFAULTS (SC_OOO_BUILD_START + 10)
1137 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */