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"
28 #include "sccommands.h"
31 #define VAR_ARGS 30 // variable Parameter in scfuncs.src
32 #define PAIRED_VAR_ARGS (VAR_ARGS + VAR_ARGS)
36 #define SC_VIEW_START (SID_SC_START)
37 // SC_VIEW_END (SID_SC_START + 99)
38 #define SC_MESSAGE_START (SID_SC_START + 100)
39 // SC_MESSAGE_END (SID_SC_START + 199)
40 #define SC_FUNCTION_START (SID_SC_START + 200)
41 // SC_FUNCTION_END (SID_SC_START + 299)
42 #define SC_PARAM_START (SID_SC_START + 300)
43 // SC_PARAM_END (SID_SC_START + 399)
44 #define SC_SIDEBAR_PROPERTY_BEGIN (SID_SC_START + 400)
45 // SC_SIDEBAR_PROPERTY_END (SID_SC_START + 499)
47 // stay compatible to the past
48 #define SC_RESOURCE_START (RID_APP_START+5000)
51 // calc has a range of 2000 IDs
52 // the functions need 11*90 = 990 IDs
54 #define HID_SC_SHEET_START (HID_SC_START + 1010)
55 #define HID_SC_SHELL_START (HID_SC_START + 1030)
57 // help IDs for templates
58 #define HID_SC_SHEET_CELL_STD (HID_SC_SHEET_START +0 )
59 #define HID_SC_SHEET_CELL_ERG (HID_SC_SHEET_START +1 )
60 #define HID_SC_SHEET_CELL_ERG1 (HID_SC_SHEET_START +2 )
61 #define HID_SC_SHEET_CELL_UEB (HID_SC_SHEET_START +3 )
62 #define HID_SC_SHEET_CELL_UEB1 (HID_SC_SHEET_START +4 )
63 #define HID_SC_SHEET_PAGE_STD (HID_SC_SHEET_START +10 )
64 #define HID_SC_SHEET_PAGE_REP (HID_SC_SHEET_START +11 )
66 // help IDs for shells (helper) (max. 20)
67 #define HID_SCSHELL_DOCSH (HID_SC_SHELL_START +1 )
68 #define HID_SCSHELL_DRAWSH (HID_SC_SHELL_START +2 )
69 #define HID_SCSHELL_DRTXTOB (HID_SC_SHELL_START +3 )
70 #define HID_SCSHELL_PIVOTSH (HID_SC_SHELL_START +4 )
71 #define HID_SCSHELL_PREVWSH (HID_SC_SHELL_START +5 )
72 #define HID_SCSHELL_TABVWSH (HID_SC_SHELL_START +6 )
73 #define HID_SCSHELL_AUDIT (HID_SC_SHELL_START +7 )
74 #define HID_SCSHELL_DRAWFORMSH (HID_SC_SHELL_START +8 )
75 #define HID_SCSHELL_CELLSH (HID_SC_SHELL_START +9 )
76 #define HID_SCSHELL_FORMATSH (HID_SC_SHELL_START +10)
77 #define HID_SCSHELL_OLEOBEJCTSH (HID_SC_SHELL_START +11)
78 #define HID_SCSHELL_CHARTSH (HID_SC_SHELL_START +12)
79 #define HID_SCSHELL_GRAPHIC (HID_SC_SHELL_START +13)
80 #define HID_SCSHELL_PAGEBREAK (HID_SC_SHELL_START +14)
81 #define HID_SCSHELL_MEDIA (HID_SC_SHELL_START +15)
83 // view-functions (max. 100)
84 #define FID_SCALESTATUS (SC_VIEW_START + 10)
85 #define SID_UPDATECHART (SC_VIEW_START + 13)
87 // TabPage entry - Legacy selection
88 #define SID_SC_INPUT_LEGACY_CELL_SELECTION (SC_VIEW_START + 15)
89 #define SID_SC_OPT_SORT_REF_UPDATE (SC_VIEW_START + 16)
92 #define SID_SCFORMULAOPTIONS (SC_VIEW_START + 20)
93 #define SID_SCDEFAULTSOPTIONS (SC_VIEW_START + 21)
95 #define SID_DATA_STREAMS_PLAY (SC_VIEW_START + 33)
96 #define SID_DATA_STREAMS_STOP (SC_VIEW_START + 34)
97 #define SID_DATA_STREAMS (SC_VIEW_START + 35)
99 // slot-IDs for attributes
100 #define SID_SCATTR_PROTECTION (SC_VIEW_START + 36) // protection-page
103 #define SID_SCUSERLISTS (SC_VIEW_START + 37) // user defined lists
104 #define RES_TBX_DUMMY (SC_VIEW_START + 38) // dummy-item
105 #define SID_SCVIEWOPTIONS (SC_VIEW_START + 39)
106 #define SID_SCDOCOPTIONS (SC_VIEW_START + 40)
108 // cursor movements as properties:
109 #define SID_CURRENTCELL (SC_VIEW_START + 41)
110 #define SID_CURRENTTAB (SC_VIEW_START + 42)
111 #define SID_CURRENTDOC (SC_VIEW_START + 43)
112 #define SID_CURRENTOBJECT (SC_VIEW_START + 44)
114 // slot-IDs for special toolbox functions:
115 #define SID_NUMBER_CURRENCY (SC_VIEW_START + 45)
116 #define SID_NUMBER_PERCENT (SC_VIEW_START + 46)
118 // "slot" IDs for input images:
119 #define SID_INPUT_FUNCTION (SC_VIEW_START + 47)
120 #define SID_INPUT_SUM (SC_VIEW_START + 48)
121 #define SID_INPUT_EQUAL (SC_VIEW_START + 49)
122 #define SID_INPUT_CANCEL (SC_VIEW_START + 50)
123 #define SID_INPUT_OK (SC_VIEW_START + 51)
125 #define SID_NUMBER_STANDARD (SC_VIEW_START + 52)
126 #define SID_NUMBER_DATE (SC_VIEW_START + 53)
127 #define SID_NUMBER_TWODEC (SC_VIEW_START + 54)
128 #define SID_NUMBER_SCIENTIFIC (SC_VIEW_START + 55)
129 #define SID_NUMBER_TIME (SC_VIEW_START + 56)
130 #define SID_NUMBER_INCDEC (SC_VIEW_START + 57)
131 #define SID_NUMBER_DECDEC (SC_VIEW_START + 58)
134 #define SID_COLLABORATION (SC_VIEW_START + 59)
135 #define SID_LINKS (SC_VIEW_START + 60)
136 #define SID_INSERT_SIMAGE (SC_VIEW_START + 61)
137 #define SID_INSERT_SMATH (SC_VIEW_START + 63)
138 #define SID_STANDARD_FONTS (SC_VIEW_START + 64)
139 #define SID_MIRROR_VERTICAL (SC_VIEW_START + 65)
140 #define SID_MIRROR_HORIZONTAL (SC_VIEW_START + 66)
141 #define SID_CELL_FORMAT_RESET (SC_VIEW_START + 67)
142 #define SID_SCPRINTOPTIONS (SC_VIEW_START + 68)
143 #define SID_WINDOW_SPLIT (SC_VIEW_START + 69)
144 #define SID_WINDOW_FIX (SC_VIEW_START + 70)
145 #ifdef SID_DRAW_CHART
146 #undef SID_DRAW_CHART
148 #define SID_DRAW_CHART (SC_VIEW_START + 71)
149 #define SID_UPDATETABLINKS (SC_VIEW_START + 72)
152 #define SID_SC_INPUT_SELECTION (SC_VIEW_START + 73)
153 #define SID_SC_INPUT_SELECTIONPOS (SC_VIEW_START + 74)
154 #define SID_SC_INPUT_EDITMODE (SC_VIEW_START + 75)
155 #define SID_SC_INPUT_FMT_EXPAND (SC_VIEW_START + 76)
156 #define SID_SC_INPUT_RANGEFINDER (SC_VIEW_START + 77)
157 #define SID_SC_INPUT_REF_EXPAND (SC_VIEW_START + 78)
158 #define SID_SC_INPUT_MARK_HEADER (SC_VIEW_START + 79)
160 #define SID_REIMPORT_AFTER_LOAD (SC_VIEW_START + 80)
161 #define SID_DRAW_NOTEEDIT (SC_VIEW_START + 81)
163 #define SID_CHOOSE_DESIGN (SC_VIEW_START + 82)
164 #define SID_EURO_CONVERTER (SC_VIEW_START + 83)
165 //See include/sfx2/sfxsids.hrc for reserved usage of (SC_VIEW_START + 84)
166 #define SID_EXTERNAL_SOURCE (SC_VIEW_START + 85)
168 #define SID_SC_INPUT_TEXTWYSIWYG (SC_VIEW_START + 86)
170 #define SID_ENABLE_HYPHENATION (SC_VIEW_START + 87)
172 #define SID_RENAME_OBJECT (SC_VIEW_START + 88)
173 #define SID_FOCUS_INPUTLINE (SC_VIEW_START + 89)
174 #define SID_SELECT_TABLES (SC_VIEW_START + 90)
176 // new entry "Filter..." in DP popup menu
177 #define SID_DP_FILTER (SC_VIEW_START + 91)
179 // replace cell contents warning
180 #define SID_SC_INPUT_REPLCELLSWARN (SC_VIEW_START + 92)
182 // additional IDs for list/range validity
183 #define FID_VALID_LISTTYPE (SC_VIEW_START + 93)
185 // #i68101# ID for changing title & description of an object
186 #define SID_TITLE_DESCRIPTION_OBJECT (SC_VIEW_START + 94)
188 // #i59082# assign macro to shape
189 #define SID_ASSIGNMACRO (SC_VIEW_START + 95)
191 // #i66550# hyperlinks in shapes
192 #define SID_DRAW_HLINK_EDIT (SC_VIEW_START + 96)
193 #define SID_DRAW_HLINK_DELETE (SC_VIEW_START + 97)
195 // "Zoom / Synchronize sheets" in options dialog
196 #define SID_SC_OPT_SYNCZOOM (SC_VIEW_START + 98)
198 #define SID_SC_OPT_KEY_BINDING_COMPAT (SC_VIEW_START + 99)
200 // NOTE: last valid ID is (SC_VIEW_START + 99)
204 #define FID_INPUTLINE_STATUS (SC_MESSAGE_START)
205 #define FID_INPUTLINE_ENTER (SC_MESSAGE_START + 1)
206 #define FID_REPAINT (SC_MESSAGE_START + 2)
207 #define FID_DATACHANGED (SC_MESSAGE_START + 3)
208 #define FID_REFMODECHANGED (SC_MESSAGE_START + 4)
209 #define FID_KILLEDITVIEW (SC_MESSAGE_START + 5)
210 #define SID_SOLVE (SC_MESSAGE_START + 6)
211 #define FID_FILTER_OK (SC_MESSAGE_START + 8)
212 #define SC_HINT_DRWLAYER_NEW (SC_MESSAGE_START + 9)
213 #define FID_INPUTLINE_MATRIX (SC_MESSAGE_START + 11)
214 #define SID_DLG_RETOK (SC_MESSAGE_START + 12)
215 #define FID_ANYDATACHANGED (SC_MESSAGE_START + 13)
216 #define SID_STATUS_DOCPOS (SC_MESSAGE_START + 14)
217 #define SID_STATUS_PAGESTYLE (SC_MESSAGE_START + 15)
218 #define SID_STATUS_SELMODE (SC_MESSAGE_START + 16)
219 #define FID_KILLEDITVIEW_NOPAINT (SC_MESSAGE_START + 17)
220 #define SID_DLG_MATRIX (SC_MESSAGE_START + 18)
221 #define SC_HINT_DBAREAS_CHANGED (SC_MESSAGE_START + 19)
222 #define SC_HINT_AREAS_CHANGED (SC_MESSAGE_START + 20)
223 #define SC_HINT_TABLES_CHANGED (SC_MESSAGE_START + 21)
225 #define SID_STATUS_SELMODE_ERG (SC_MESSAGE_START + 22)
226 #define SID_STATUS_SELMODE_ERW (SC_MESSAGE_START + 23)
227 #define SID_STATUS_SELMODE_NORM (SC_MESSAGE_START + 24)
229 #define SID_CHART_SOURCE (SC_MESSAGE_START + 25)
230 #define SID_CHART_NAME (SC_MESSAGE_START + 26)
231 #define SID_CHART_ADDSOURCE (SC_MESSAGE_START + 27)
233 #define SID_AUTO_STYLE (SC_MESSAGE_START + 28)
235 #define FID_INPUTLINE_BLOCK (SC_MESSAGE_START + 29)
237 #define SID_STATUS_SUM (SC_MESSAGE_START + 30)
239 #define SC_HINT_DRAW_CHANGED (SC_MESSAGE_START + 31)
240 #define SC_HINT_DOCNAME_CHANGED (SC_MESSAGE_START + 32)
241 #define SC_HINT_AREALINKS_CHANGED (SC_MESSAGE_START + 33)
242 #define SC_HINT_SHOWRANGEFINDER (SC_MESSAGE_START + 34)
243 #define SC_HINT_DOC_SAVED (SC_MESSAGE_START + 35)
244 #define SC_HINT_FORCESETTAB (SC_MESSAGE_START + 36)
245 #define SID_ENTER_STRING (SC_MESSAGE_START + 37)
246 #define SID_ROWCOL_SELCOUNT (SC_MESSAGE_START + 38)
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 SC_HINT_NAVIGATOR_UPDATEALL (SC_MESSAGE_START + 65)
259 #define SID_OPENDLG_COLORSCALE (SC_MESSAGE_START + 66)
260 #define SID_OPENDLG_DATABAR (SC_MESSAGE_START + 67)
261 #define SID_OPENDLG_ICONSET (SC_MESSAGE_START + 68)
262 #define SID_OPENDLG_CONDDATE (SC_MESSAGE_START + 69)
264 #define SID_RANDOM_NUMBER_GENERATOR_DIALOG (SC_MESSAGE_START + 70)
265 #define SID_SAMPLING_DIALOG (SC_MESSAGE_START + 71)
266 #define SID_DESCRIPTIVE_STATISTICS_DIALOG (SC_MESSAGE_START + 72)
267 #define SID_ANALYSIS_OF_VARIANCE_DIALOG (SC_MESSAGE_START + 73)
268 #define SID_CORRELATION_DIALOG (SC_MESSAGE_START + 74)
269 #define SID_COVARIANCE_DIALOG (SC_MESSAGE_START + 75)
270 #define SID_EXPONENTIAL_SMOOTHING_DIALOG (SC_MESSAGE_START + 76)
271 #define SID_MOVING_AVERAGE_DIALOG (SC_MESSAGE_START + 77)
272 #define SID_TTEST_DIALOG (SC_MESSAGE_START + 78)
273 #define SID_FTEST_DIALOG (SC_MESSAGE_START + 79)
274 #define SID_SEARCH_RESULTS_DIALOG (SC_MESSAGE_START + 80)
278 #define SID_OPEN_CALC (SC_FUNCTION_START + 4)
279 #define FILE_MENU_END (SC_FUNCTION_START + 20)
281 #define EDIT_MENU_START (FILE_MENU_END)
282 #define FID_DELETE_CELL (EDIT_MENU_START + 2)
283 #define FID_DELETE_TABLE (EDIT_MENU_START + 3)
284 #define FID_FILL_TO_BOTTOM (EDIT_MENU_START + 4)
285 #define FID_FILL_TO_RIGHT (EDIT_MENU_START + 5)
286 #define FID_FILL_TO_TOP (EDIT_MENU_START + 6)
287 #define FID_FILL_TO_LEFT (EDIT_MENU_START + 7)
288 #define FID_FILL_TAB (EDIT_MENU_START + 8)
289 #define FID_FILL_SERIES (EDIT_MENU_START + 9)
290 #define FID_FILL_SINGLE_EDIT (EDIT_MENU_START + 10)
291 #define SID_SC_EDIT_OBJECT (EDIT_MENU_START + 14)
292 #define SID_HFEDIT (EDIT_MENU_START + 15)
294 #define SID_DEL_ROWS (EDIT_MENU_START + 16)//JN
295 #define SID_DEL_COLS (EDIT_MENU_START + 17)//JN
297 #define FID_CHG_SHOW (EDIT_MENU_START + 19)
299 #define EDIT_MENU_END (EDIT_MENU_START + 20)
300 #define VIEW_MENU_START (EDIT_MENU_END)
302 #define FID_TOGGLEINPUTLINE (VIEW_MENU_START + 1)
303 #define FID_TOGGLEHEADERS (VIEW_MENU_START + 2)
304 #define FID_SCALE (VIEW_MENU_START + 4)
305 #define FID_TOGGLESYNTAX (VIEW_MENU_START + 5)
306 #define FID_PAGEBREAKMODE (VIEW_MENU_START + 7)
307 #define FID_FUNCTION_BOX (VIEW_MENU_START + 8)
308 #define FID_NORMALVIEWMODE (VIEW_MENU_START + 9)
309 #define FID_TOGGLEFORMULA (VIEW_MENU_START + 10)
311 #define FID_CHG_ACCEPT (VIEW_MENU_START + 18)// DANGER DIRTY ID
312 #define FID_CHG_COMMENT (VIEW_MENU_START + 19)// DANGER DIRTY ID
313 #define VIEW_MENU_END (VIEW_MENU_START + 20)
315 #define INSERT_MENU_START (VIEW_MENU_END)
316 #define FID_INS_ROWBRK (INSERT_MENU_START + 1)
317 #define FID_INS_COLBRK (INSERT_MENU_START + 2)
318 #define FID_DEL_ROWBRK (INSERT_MENU_START + 3)
319 #define FID_DEL_COLBRK (INSERT_MENU_START + 4)
320 #define FID_INS_CELL_CONTENTS (INSERT_MENU_START + 5)
321 #define FID_INS_CELL (INSERT_MENU_START + 6)
322 #define FID_INS_ROW (INSERT_MENU_START + 7)
323 #define FID_INS_COLUMN (INSERT_MENU_START + 8)
324 #define FID_INS_TABLE (INSERT_MENU_START + 9)
325 #define SID_INS_FUNCTION (INSERT_MENU_START + 10)
326 #define FID_DEFINE_NAME (INSERT_MENU_START + 11)
327 #define FID_INSERT_NAME (INSERT_MENU_START + 12)
328 #define FID_USE_NAME (INSERT_MENU_START + 13)
329 #define FID_APPLY_NAME (INSERT_MENU_START + 14)
330 #define FID_INS_TABLE_EXT (INSERT_MENU_START + 15)
331 #define FID_ADD_NAME (INSERT_MENU_START + 16)
332 #define FID_INS_CELLSDOWN (INSERT_MENU_START + 18)
333 #define FID_INS_CELLSRIGHT (INSERT_MENU_START + 19)
334 #define INSERT_MENU_END (INSERT_MENU_START + 20)
336 #define FORMAT_MENU_START (INSERT_MENU_END)
337 #define FID_CELL_FORMAT (FORMAT_MENU_START)
338 #define FID_ROW_HEIGHT (FORMAT_MENU_START + 1)
339 #define FID_ROW_OPT_HEIGHT (FORMAT_MENU_START + 2)
340 #define FID_ROW_HIDE (FORMAT_MENU_START + 3)
341 #define FID_ROW_SHOW (FORMAT_MENU_START + 4)
342 #define FID_COL_WIDTH (FORMAT_MENU_START + 5)
343 #define FID_COL_OPT_WIDTH (FORMAT_MENU_START + 6)
344 #define FID_COL_HIDE (FORMAT_MENU_START + 7)
345 #define FID_COL_SHOW (FORMAT_MENU_START + 8)
346 #define FID_TABLE_HIDE (FORMAT_MENU_START + 9)
347 #define FID_TABLE_SHOW (FORMAT_MENU_START + 10)
348 #define SID_COLORSCALE (FORMAT_MENU_START + 11)
349 #define SID_DATABAR (FORMAT_MENU_START + 12)
350 #define FID_MERGE_ON (FORMAT_MENU_START + 15)
351 #define FID_MERGE_OFF (FORMAT_MENU_START + 16)
352 #define SID_FORMATPAGE (FORMAT_MENU_START + 17)
353 #define SID_TEXT_STANDARD (FORMAT_MENU_START + 18)
354 #define SID_DRAWTEXT_ATTR_DLG (FORMAT_MENU_START + 19)
355 #define FID_TABLE_VISIBLE (FORMAT_MENU_START + 20)
356 #define FID_COL_OPT_DIRECT (FORMAT_MENU_START + 21)
357 #define FORMAT_MENU_END (FORMAT_MENU_START + 22)
359 #define EXTRA_MENU_START (FORMAT_MENU_END)
360 #define FID_AUTO_CALC (EXTRA_MENU_START + 3)
361 #define FID_RECALC (EXTRA_MENU_START + 4)
362 #define FID_PROTECT_TABLE (EXTRA_MENU_START + 6)
363 #define FID_PROTECT_DOC (EXTRA_MENU_START + 7)
364 #define SID_SCOPTIONS (EXTRA_MENU_START + 9)
365 #define SID_SHARE_DOC (EXTRA_MENU_START + 11)
366 #define SID_SCENARIOS (EXTRA_MENU_START + 12)
367 #define SID_ADD_IN_MANAGER (EXTRA_MENU_START + 13)
368 #define SID_PIVOT_RECALC (EXTRA_MENU_START + 14)
369 #define SID_PIVOT_KILL (EXTRA_MENU_START + 15)
371 #define FID_HARD_RECALC (EXTRA_MENU_START + 18)
372 #define FID_AUTOCOMPLETE (EXTRA_MENU_START + 19)
374 #define EXTRA_MENU_END (EXTRA_MENU_START + 20)
376 #define DATA_MENU_START (EXTRA_MENU_END)
377 #define SID_DEFINE_DBNAME (DATA_MENU_START)
378 #define SID_SELECT_DB (DATA_MENU_START + 1)
379 #define SID_SORT (DATA_MENU_START + 2)
380 #define SID_FILTER (DATA_MENU_START + 3)
381 #define SID_SPECIAL_FILTER (DATA_MENU_START + 4)
382 #define SID_AUTO_FILTER (DATA_MENU_START + 5)
383 #define SID_UNFILTER (DATA_MENU_START + 6)
384 #define SID_QUERY (DATA_MENU_START + 7)
385 #define SID_MANAGE_XML_SOURCE (DATA_MENU_START + 8)
386 #define SID_SUBTOTALS (DATA_MENU_START + 13)
387 #define SID_AUTO_OUTLINE (DATA_MENU_START + 14)
388 #define SID_IMPORT_DATA (DATA_MENU_START + 15)
389 #define SID_REIMPORT_DATA (DATA_MENU_START + 16)
390 #define SID_PIVOT_TABLE (DATA_MENU_START + 17)
391 #define SID_TABOP (DATA_MENU_START + 18)
392 #define SID_TEXT_TO_COLUMNS (DATA_MENU_START + 19)
393 #define SID_CONSOLIDATE (DATA_MENU_START + 20)
394 #define SID_AUTOFILTER_HIDE (DATA_MENU_START + 21)
395 #define SID_SBA_IMPORT (DATA_MENU_START + 22)
396 #define SID_SORT_DESCENDING (DATA_MENU_START + 23)
397 #define SID_SORT_ASCENDING (DATA_MENU_START + 24)
398 #define SID_OUTLINE_HIDE (DATA_MENU_START + 25)
399 #define SID_OUTLINE_SHOW (DATA_MENU_START + 26)
400 #define SID_OUTLINE_MAKE (DATA_MENU_START + 27)
401 #define SID_OUTLINE_REMOVE (DATA_MENU_START + 28)
403 #define DATA_MENU_END (DATA_MENU_START + 29)
405 #define TAB_POPUP_START (DATA_MENU_END)
406 #define RID_POPUP_TAB (TAB_POPUP_START)
407 #define FID_TAB_MENU_RENAME (TAB_POPUP_START+1)
408 #define FID_TAB_RENAME (TAB_POPUP_START+2)
409 #define FID_TAB_MOVE (TAB_POPUP_START+3)
410 #define FID_TAB_SELECTALL (TAB_POPUP_START+4)
411 #define FID_TAB_APPEND (TAB_POPUP_START+5)
412 #define FID_TAB_INDEX (TAB_POPUP_START+6)
413 #define FID_TAB_RTL (TAB_POPUP_START+7)
414 #define FID_TAB_DESELECTALL (TAB_POPUP_START+8)
415 #define FID_TAB_MENU_SET_TAB_BG_COLOR (TAB_POPUP_START + 9)
416 #define FID_TAB_SET_TAB_BG_COLOR (TAB_POPUP_START + 10)
417 #define FID_TAB_EVENTS (TAB_POPUP_START+11)
419 #define TAB_POPUP_END (TAB_POPUP_START + 20)
421 #define OBJBAR_FORMAT_START (TAB_POPUP_END)
422 #define SID_ALIGNLEFT (OBJBAR_FORMAT_START+6)
423 #define SID_ALIGNRIGHT (OBJBAR_FORMAT_START+7)
424 #define SID_ALIGNCENTERHOR (OBJBAR_FORMAT_START+8)
425 #define SID_ALIGNBLOCK (OBJBAR_FORMAT_START+9)
426 #define SID_ALIGNTOP (OBJBAR_FORMAT_START+10)
427 #define SID_ALIGNBOTTOM (OBJBAR_FORMAT_START+11)
428 #define SID_ALIGNCENTERVER (OBJBAR_FORMAT_START+12)
429 #define SID_SELECT_SCENARIO (OBJBAR_FORMAT_START+13)
431 #define SID_V_ALIGNCELL (OBJBAR_FORMAT_START+14)
432 #define SID_H_ALIGNCELL (OBJBAR_FORMAT_START+15)
434 #define OBJBAR_FORMAT_END (OBJBAR_FORMAT_START+20)
436 #define RID_INPUTBAR_START (OBJBAR_FORMAT_END)
437 #define RID_INPUTBAR_END (RID_INPUTBAR_START+1)
439 #define DRAW_BAR_START (RID_INPUTBAR_END)
440 #define SID_ANCHOR_PAGE (DRAW_BAR_START+24)
441 #define SID_ANCHOR_CELL (DRAW_BAR_START+25)
442 #define SID_ANCHOR_TOGGLE (DRAW_BAR_START+26)
443 #define SID_ORIGINALSIZE (DRAW_BAR_START+27)
445 #define DRAW_BAR_END (DRAW_BAR_START+50)
447 #define DRAWTEXTBAR_START (DRAW_BAR_END)
448 #define DRAWTEXTBAR_END (DRAWTEXTBAR_START+20)
450 #define DETECTIVE_START (DRAWTEXTBAR_END)
451 #define SID_DETECTIVE_ADD_PRED (DETECTIVE_START)
452 #define SID_DETECTIVE_DEL_PRED (DETECTIVE_START+1)
453 #define SID_DETECTIVE_ADD_SUCC (DETECTIVE_START+2)
454 #define SID_DETECTIVE_DEL_SUCC (DETECTIVE_START+3)
455 #define SID_DETECTIVE_ADD_ERR (DETECTIVE_START+4)
456 #define SID_DETECTIVE_DEL_ALL (DETECTIVE_START+5)
458 #define SID_DETECTIVE_FILLMODE (DETECTIVE_START+6)
459 #define SID_FILL_ADD_PRED (DETECTIVE_START+7)
460 #define SID_FILL_DEL_PRED (DETECTIVE_START+8)
461 #define SID_FILL_ADD_SUCC (DETECTIVE_START+9)
462 #define SID_FILL_DEL_SUCC (DETECTIVE_START+10)
463 #define SID_FILL_NONE (DETECTIVE_START+11)
464 #define SID_FILL_SELECT (DETECTIVE_START+12)
466 #define SID_DETECTIVE_INVALID (DETECTIVE_START+13)
468 #define SID_DETECTIVE_REFRESH (DETECTIVE_START+14)
469 #define SID_DETECTIVE_AUTO (DETECTIVE_START+15)
471 #define SID_DETECTIVE_MARK_PRED (DETECTIVE_START+16)
472 #define SID_DETECTIVE_MARK_SUCC (DETECTIVE_START+17)
474 #define DETECTIVE_END (DETECTIVE_START+20)
476 #define SID_API_SLOTS (DETECTIVE_END)
477 #define SID_INSERT_MATRIX (SID_API_SLOTS+1)
479 #define SID_DELETE_NOTE (SID_API_SLOTS+2)
481 #define SID_PREVIEW_START (SID_API_SLOTS+20)
482 #define SID_PREVIEW_NEXT (SID_PREVIEW_START)
483 #define SID_PREVIEW_PREVIOUS (SID_PREVIEW_START+1)
484 #define SID_PREVIEW_FIRST (SID_PREVIEW_START+2)
485 #define SID_PREVIEW_LAST (SID_PREVIEW_START+3)
486 #define SID_PREVIEW_ZOOMIN (SID_PREVIEW_START+5)
487 #define SID_PREVIEW_ZOOMOUT (SID_PREVIEW_START+6)
488 #define SID_PREVIEW_CLOSE (SID_PREVIEW_START+7)
489 #define SID_PREVIEW_MARGIN (SID_PREVIEW_START+8)
490 #define SID_PREVIEW_SCALINGFACTOR (SID_PREVIEW_START+9)
491 #define SID_PREVIEW_END (SID_PREVIEW_START+20)
493 //from sfx: #define SID_KEYFUNC_START (SID_PREVIEW_END+5)
494 #define SID_CURSORDOWN_SEL (SID_KEYFUNC_START + 0)
495 #define SID_CURSORUP_SEL (SID_KEYFUNC_START + 1)
496 #define SID_CURSORLEFT_SEL (SID_KEYFUNC_START + 2)
497 #define SID_CURSORRIGHT_SEL (SID_KEYFUNC_START + 3)
498 #define SID_CURSORPAGEDOWN_SEL (SID_KEYFUNC_START + 4)
499 #define SID_CURSORPAGEUP_SEL (SID_KEYFUNC_START + 5)
501 #define SID_CURSORPAGELEFT_ (SID_KEYFUNC_START + 6)
502 #define SID_CURSORPAGELEFT_SEL (SID_KEYFUNC_START + 7)
503 #define SID_CURSORPAGERIGHT_ (SID_KEYFUNC_START + 8)
504 #define SID_CURSORPAGERIGHT_SEL (SID_KEYFUNC_START + 9)
506 #define SID_CURSORTOPOFFILE_SEL (SID_KEYFUNC_START + 10)
507 #define SID_CURSORENDOFFILE_SEL (SID_KEYFUNC_START + 11)
508 #define SID_CURSORHOME_SEL (SID_KEYFUNC_START + 12)
509 #define SID_CURSOREND_SEL (SID_KEYFUNC_START + 13)
510 #define SID_CURSORBLKUP (SID_KEYFUNC_START + 14)
511 #define SID_CURSORBLKDOWN (SID_KEYFUNC_START + 15)
512 #define SID_CURSORBLKLEFT (SID_KEYFUNC_START + 16)
513 #define SID_CURSORBLKRIGHT (SID_KEYFUNC_START + 17)
514 #define SID_CURSORBLKUP_SEL (SID_KEYFUNC_START + 18)
515 #define SID_CURSORBLKDOWN_SEL (SID_KEYFUNC_START + 19)
516 #define SID_CURSORBLKLEFT_SEL (SID_KEYFUNC_START + 20)
517 #define SID_CURSORBLKRIGHT_SEL (SID_KEYFUNC_START + 21)
519 #define SID_NEXT_TABLE (SID_KEYFUNC_START + 22)
520 #define SID_PREV_TABLE (SID_KEYFUNC_START + 23)
522 #define SID_NEXT_UNPROTECT (SID_KEYFUNC_START + 24)
523 #define SID_PREV_UNPROTECT (SID_KEYFUNC_START + 25)
525 #define SID_SELECT_COL (SID_KEYFUNC_START + 26)
526 #define SID_SELECT_ROW (SID_KEYFUNC_START + 27)
527 #define SID_SELECT_NONE (SID_KEYFUNC_START + 28)
528 #define SID_ALIGNCURSOR (SID_KEYFUNC_START + 29)
529 #define SID_MARKDATAAREA (SID_KEYFUNC_START + 30)
530 #define SID_SETINPUTMODE (SID_KEYFUNC_START + 31)
531 #define SID_DELETE_CONTENTS (SID_KEYFUNC_START + 32)
533 #define SID_MARKAREA (SID_KEYFUNC_START + 33)
535 #define FID_FILL_AUTO (SID_KEYFUNC_START + 35)
536 #define SID_CANCEL (SID_KEYFUNC_START + 36)
538 #define SID_CURSORENTERUP (SID_KEYFUNC_START + 37)
539 #define SID_CURSORENTERDOWN (SID_KEYFUNC_START + 38)
541 #define SID_MARKARRAYFORMULA (SID_KEYFUNC_START + 39)
543 #define SID_NEXT_TABLE_SEL (SID_KEYFUNC_START + 40)
544 #define SID_PREV_TABLE_SEL (SID_KEYFUNC_START + 41)
546 #define SID_KEYFUNC_END (SID_KEYFUNC_START + 50)
548 #define SID_NEW_SLOTS (SID_KEYFUNC_END)
550 #define SID_NEW_TABLENAME (SID_NEW_SLOTS+1)
552 #define SID_EXPORT_AS_GRAPHIC (SID_NEW_SLOTS+2)
554 #define FID_MERGE_TOGGLE (SID_NEW_SLOTS+10)
555 #define SID_ATTR_ROWHEADERS (SID_NEW_SLOTS+11)
556 #define SID_ATTR_COLHEADERS (SID_NEW_SLOTS+12)
558 #define SID_SC_CELLS (SID_NEW_SLOTS+13)
559 #define SID_SC_RANGE (SID_NEW_SLOTS+14)
560 #define SID_SC_SELECTION (SID_NEW_SLOTS+15)
561 #define SID_SC_CELLTEXT (SID_NEW_SLOTS+16)
563 #define SID_SC_ACTIVECELL (SID_NEW_SLOTS+18)
564 #define SID_SC_ACTIVETAB (SID_NEW_SLOTS+19)
565 #define SID_RANGE_ROW (SID_NEW_SLOTS+20)
566 #define SID_RANGE_COL (SID_NEW_SLOTS+21)
567 #define SID_RANGE_TABLE (SID_NEW_SLOTS+22)
568 #define SID_RANGE_VALUE (SID_NEW_SLOTS+23)
569 #define SID_RANGE_FORMULA (SID_NEW_SLOTS+24)
570 #define SID_RANGE_TEXTVALUE (SID_NEW_SLOTS+26)
571 #define SID_TABLE_ACTIVATE (SID_NEW_SLOTS+27)
572 #define SID_TABLES_GET (SID_NEW_SLOTS+28)
573 #define SID_PROP_INTERIOR (SID_NEW_SLOTS+29)
574 #define SID_PROP_FONT (SID_NEW_SLOTS+30)
576 #define SID_DEFINE_PRINTAREA (SID_NEW_SLOTS+31)
577 #define SID_DELETE_PRINTAREA (SID_NEW_SLOTS+32)
578 #define SID_CHANGE_PRINTAREA (SID_NEW_SLOTS+33)
579 #define SID_OPENDLG_EDIT_PRINTAREA (SID_NEW_SLOTS+34)
581 #define SID_OLE_OBJECT (SID_NEW_SLOTS+35)
582 #define SID_OLE_ACTIVATE (SID_NEW_SLOTS+36)
583 #define SID_OLE_DEACTIVATE (SID_NEW_SLOTS+37)
585 #define SID_TOGGLE_REL (SID_NEW_SLOTS+38)
586 #define SID_DATA_SELECT (SID_NEW_SLOTS+39)
589 #define FID_SEARCH (SID_NEW_SLOTS+40)
590 #define FID_REPEAT_SEARCH (SID_NEW_SLOTS+41)
591 #define FID_REPLACE (SID_NEW_SLOTS+42)
592 #define FID_SEARCH_ALL (SID_NEW_SLOTS+43)
593 #define FID_REPLACE_ALL (SID_NEW_SLOTS+44)
594 #define FID_SEARCH_COUNT (SID_NEW_SLOTS+45)
596 #define SID_SC_SETTEXT (SID_NEW_SLOTS+46)
597 #define SID_RANGE_ADDRESS (SID_NEW_SLOTS+47)
598 #define SID_RANGE_OFFSET (SID_NEW_SLOTS+48)
599 #define SID_NUMBER_FORMAT (SID_NEW_SLOTS+49)
601 #define SID_OLE_SELECT (SID_NEW_SLOTS+50)
602 #define SID_SC_ACTIVEOBJECT (SID_NEW_SLOTS+51)
604 #define SID_RANGE_NOTETEXT (SID_NEW_SLOTS+52)
605 #define FID_INSERT_FILE (SID_NEW_SLOTS+53)
607 #define FID_VALIDATION (SID_NEW_SLOTS+54)
609 // slots for toolbox controller in toolbar
610 #define SID_TBXCTL_INSERT (SID_NEW_SLOTS+55)
611 #define SID_TBXCTL_INSCELLS (SID_NEW_SLOTS+56)
612 #define SID_TBXCTL_INSOBJ (SID_NEW_SLOTS+57)
614 #define SID_DEFINE_COLROWNAMERANGES (SID_NEW_SLOTS+58)
616 #define FID_NOTE_VISIBLE (SID_NEW_SLOTS+59)
618 // items for validation
619 #define FID_VALID_MODE (SID_NEW_SLOTS+60)
620 #define FID_VALID_CONDMODE (SID_NEW_SLOTS+61)
621 #define FID_VALID_VALUE1 (SID_NEW_SLOTS+62)
622 #define FID_VALID_VALUE2 (SID_NEW_SLOTS+63)
623 #define FID_VALID_BLANK (SID_NEW_SLOTS+64)
624 #define FID_VALID_SHOWHELP (SID_NEW_SLOTS+65)
625 #define FID_VALID_HELPTITLE (SID_NEW_SLOTS+66)
626 #define FID_VALID_HELPTEXT (SID_NEW_SLOTS+67)
627 #define FID_VALID_SHOWERR (SID_NEW_SLOTS+68)
628 #define FID_VALID_ERRSTYLE (SID_NEW_SLOTS+69)
629 #define FID_VALID_ERRTITLE (SID_NEW_SLOTS+70)
630 #define FID_VALID_ERRTEXT (SID_NEW_SLOTS+71)
632 #define SID_REFRESH_DBAREA (SID_NEW_SLOTS+72)
633 #define SID_RANGE_REGION (SID_NEW_SLOTS+73)
635 #define FID_FOCUS_POSWND (SID_NEW_SLOTS+74)
637 // single slots for different underline kinds (popup menu)
638 #define SID_ULINE_VAL_NONE (SID_NEW_SLOTS+75)
639 #define SID_ULINE_VAL_SINGLE (SID_NEW_SLOTS+76)
640 #define SID_ULINE_VAL_DOUBLE (SID_NEW_SLOTS+77)
641 #define SID_ULINE_VAL_DOTTED (SID_NEW_SLOTS+78)
643 #define FID_DEL_MANUALBREAKS (SID_NEW_SLOTS+79)
644 #define SID_ADD_PRINTAREA (SID_NEW_SLOTS+80)
645 #define FID_ADJUST_PRINTZOOM (SID_NEW_SLOTS+81)
646 #define FID_RESET_PRINTZOOM (SID_NEW_SLOTS+82)
648 #define SID_TABLES_COUNT (SID_NEW_SLOTS+83)
649 #define SID_ACTIVE_OBJ_NAME (SID_NEW_SLOTS+84)
650 #define SID_OBJECT_LEFT (SID_NEW_SLOTS+85)
651 #define SID_OBJECT_TOP (SID_NEW_SLOTS+86)
652 #define SID_OBJECT_WIDTH (SID_NEW_SLOTS+87)
653 #define SID_OBJECT_HEIGHT (SID_NEW_SLOTS+88)
655 #define SID_PIVOT_CREATE (SID_NEW_SLOTS+89)
656 #define SID_PIVOT_FIELDS (SID_NEW_SLOTS+90)
657 #define SID_PFIELD_NAME (SID_NEW_SLOTS+91)
658 #define SID_PFIELD_ORIENTATION (SID_NEW_SLOTS+92)
659 #define SID_PFIELD_FUNCTION (SID_NEW_SLOTS+93)
660 #define SID_PIVOT_GET (SID_NEW_SLOTS+94)
662 #define SID_DELETE_SCENARIO (SID_NEW_SLOTS+95)
663 #define SID_EDIT_SCENARIO (SID_NEW_SLOTS+96)
664 #define SID_INSERT_FIELD_SHEET (SID_NEW_SLOTS+97)
665 #define SID_INSERT_FIELD_TITLE (SID_NEW_SLOTS+98)
666 #define SID_INSERT_FIELD_DATE_VAR (SID_NEW_SLOTS+99)
668 #define FID_SHOW_NOTE (SID_NEW_SLOTS+100)
669 #define FID_HIDE_NOTE (SID_NEW_SLOTS+101)
673 #define SID_SORT_BYROW (SC_PARAM_START)
674 #define SID_SORT_HASHEADER (SC_PARAM_START+1)
675 #define SID_SORT_CASESENS (SC_PARAM_START+2)
676 #define SID_SORT_ATTRIBS (SC_PARAM_START+3)
677 #define SID_SORT_USERDEF (SC_PARAM_START+4)
678 #define SID_SORT_NATURALSORT (SC_PARAM_START+5)
680 // Sidebar -------------------------------------------------------------
682 #define SID_PROPERTY_PANEL_CELLTEXT_DLG (SC_SIDEBAR_PROPERTY_BEGIN+0)
683 #define SID_NUMBER_TYPE_FORMAT (SC_SIDEBAR_PROPERTY_BEGIN+1)
687 #define RID_OBJECTBAR_APP (SC_RESOURCE_START)
688 #define RID_OBJECTBAR_FORMAT (SC_RESOURCE_START+1)
689 #define RID_POPUP_CELLS (SC_RESOURCE_START+3)
690 #define RID_POPUP_DRAW (SC_RESOURCE_START+4)
691 #define RID_TEXT_TOOLBOX (SC_RESOURCE_START+5)
692 #define RID_OBJECTBAR_PREVIEW (SC_RESOURCE_START+6)
693 #define RID_POPUP_PREVIEW (SC_RESOURCE_START+7)
694 #define RID_POPUP_OLE (SC_RESOURCE_START+8)
695 #define RID_POPUP_CHART (SC_RESOURCE_START+9)
696 #define RID_OUTLINEBITMAPS (SC_RESOURCE_START+12)
697 #define RID_DRAW_WIN (SC_RESOURCE_START+13)
698 #define RID_CNTRLR_WIN (SC_RESOURCE_START+14)
699 #define RID_GLOBSTR (SC_RESOURCE_START+15)
700 #define RID_ALIGNMENT_WIN (SC_RESOURCE_START+19)
701 #define RID_POPUP_PIVOT (SC_RESOURCE_START+21)
702 #define RID_ERRHDLSC (SC_RESOURCE_START+23)
703 #define RID_POPUP_GRAPHIC (SC_RESOURCE_START+24)
704 #define RID_POPUP_DRAWTEXT (SC_RESOURCE_START+29)
705 #define RID_MN_FORMAT_ALGN (SC_RESOURCE_START+30)
706 #define RID_MN_FORMAT_STYLE (SC_RESOURCE_START+31)
707 #define RID_MN_FORMAT_LINESPACE (SC_RESOURCE_START+32)
708 #define RID_POPUP_EDIT (SC_RESOURCE_START+33)
709 #define RID_POPUP_AUDIT (SC_RESOURCE_START+34)
710 #define RID_OBJECTBAR_TOOLS (SC_RESOURCE_START+35)
711 #define RID_SC_FUNCTION_DESCRIPTIONS1 (SC_RESOURCE_START+43)
712 #define RID_SC_FUNCTION_DESCRIPTIONS2 (SC_RESOURCE_START+44)
713 #define RID_POPUP_CONTROL (SC_RESOURCE_START+45)
714 #define RID_POPUP_PAGEBREAK (SC_RESOURCE_START+46)
715 #define RID_POPUP_DRAWFORM (SC_RESOURCE_START+48)
716 #define RID_IMAGELIST_NAVCONT (SC_RESOURCE_START+52)
717 #define RID_DRAW_OBJECTBAR (SC_RESOURCE_START+53)
718 #define RID_GRAPHIC_OBJECTBAR (SC_RESOURCE_START+54)
719 #define RID_MEDIA_OBJECTBAR (SC_RESOURCE_START+60)
720 #define RID_POPUP_MEDIA (SC_RESOURCE_START+61)
721 #define RID_FUNCTION_CATEGORIES (SC_RESOURCE_START+62)
722 #define RID_MN_INSERT_FIELDS (SC_RESOURCE_START+63)
723 #define RID_STATISTICS_DLGS (SC_RESOURCE_START+64)
725 #define STR_START (SC_RESOURCE_START+100)
726 #define STR_ROWHEIGHT (STR_START)
727 #define STR_ROWHEIGHT_TITLE (STR_START + 1)
728 #define STR_OPT_ROWHEIGHT (STR_START + 2)
729 #define STR_OPT_ROWHEIGHT_TITLE (STR_START + 3)
730 #define STR_COLWIDTH (STR_START + 4)
731 #define STR_COLWIDTH_TITLE (STR_START + 5)
732 #define STR_OPT_COLWIDTH (STR_START + 6)
733 #define STR_OPT_COLWIDTH_TITLE (STR_START + 7)
734 #define SCSTR_UNDEFINED (STR_START + 8)
735 #define SCSTR_NONAME (STR_START + 9)
736 #define SCSTR_NONE (STR_START + 10)
737 #define SCSTR_FILTER_EMPTY (STR_START + 11)
738 #define SCSTR_FILTER_NOTEMPTY (STR_START + 12)
739 #define SCSTR_COLUMN (STR_START + 13)
740 #define SCSTR_ROW (STR_START + 14)
741 #define SCSTR_NEW (STR_START + 15)
743 #define SCSTR_REMOVE (STR_START + 17)
744 #define SCSTR_CANCEL (STR_START + 18)
746 #define SCSTR_SHOWTABLE (STR_START + 20)
747 #define SCSTR_HIDDENTABLES (STR_START + 21)
749 #define SCSTR_TABLE (STR_START + 24)
750 #define SCSTR_NAME (STR_START + 25)
751 #define SCSTR_INSTABLE (STR_START + 26)
752 #define SCSTR_APDTABLE (STR_START + 27)
753 #define SCSTR_RENAMETAB (STR_START + 28)
754 #define STR_INSERTGRAPHIC (STR_START + 29)
755 #define SCSTR_DOCSHELL (STR_START + 32)
756 #define SCSTR_TABVIEWSHELL (STR_START + 33)
757 #define SCSTR_EDITSHELL (STR_START + 34)
758 #define SCSTR_DRAWSHELL (STR_START + 35)
759 #define SCSTR_DRAWTEXTSHELL (STR_START + 36)
760 #define SCSTR_NEWTABLE (STR_START + 37)
761 #define SCSTR_PREVIEWSHELL (STR_START + 38)
763 #define SCSTR_PROTECTDOC (STR_START + 39)
764 #define SCSTR_UNPROTECTDOC (STR_START + 40)
765 #define SCSTR_PROTECTTAB (STR_START + 41)
766 #define SCSTR_UNPROTECTTAB (STR_START + 42)
767 #define SCSTR_PASSWORD (STR_START + 43)
768 #define SCSTR_PASSWORDOPT (STR_START + 44)
769 #define SCSTR_WRONGPASSWORD (STR_START + 45)
771 #define SCSTR_PIVOTSHELL (STR_START + 46)
772 #define SCSTR_END (STR_START + 47)
773 #define SCSTR_STAT_PRINT (STR_START + 48)
775 #define SCSTR_UNKNOWN (STR_START + 49)
776 #define SCSTR_CHAR_ATTRS (STR_START + 50)
777 #define SCSTR_ALL (STR_START + 51)
778 #define SCSTR_STDFILTER (STR_START + 52)
781 #define SCSTR_CFG_APP (STR_START + 53)
782 #define SCSTR_CFG_DOC (STR_START + 54)
783 #define SCSTR_CFG_VIEW (STR_START + 55)
784 #define SCSTR_CFG_SPELLCHECK (STR_START + 56)
785 #define SCSTR_CFG_PRINT (STR_START + 57)
787 #define SCSTR_AUDITSHELL (STR_START + 58)
789 #define SCSTR_CHARSET_USER (STR_START + 59)
790 #define SCSTR_COLUMN_USER (STR_START + 60)
791 #define SCSTR_FIELDSEP (STR_START + 61)
792 #define SCSTR_TEXTSEP (STR_START + 62)
793 #define SCSTR_MULTIPLE (STR_START + 63)
795 #define SCSTR_CFG_INPUT (STR_START + 65)
797 #define SCSTR_TOP10FILTER (STR_START + 66)
799 #define SCSTR_CFG_NAVIPI (STR_START + 67)
801 #define SCSTR_DRAWFORMSHELL (STR_START + 70)
802 #define SCSTR_CELLSHELL (STR_START + 71)
803 #define SCSTR_FORMATSHELL (STR_START + 72)
804 #define SCSTR_OLEOBJECTSHELL (STR_START + 73)
805 #define SCSTR_CHARTSHELL (STR_START + 74)
806 #define SCSTR_GRAPHICSHELL (STR_START + 75)
807 #define SCSTR_PAGEBREAKSHELL (STR_START + 76)
809 #define SCSTR_GRFILTER_OPENERROR (STR_START + 77)
810 #define SCSTR_GRFILTER_IOERROR (STR_START + 78)
811 #define SCSTR_GRFILTER_FORMATERROR (STR_START + 79)
812 #define SCSTR_GRFILTER_VERSIONERROR (STR_START + 80)
813 #define SCSTR_GRFILTER_FILTERERROR (STR_START + 81)
814 #define SCSTR_GRFILTER_TOOBIG (STR_START + 82)
815 #define SCSTR_UNDO_GRAFFILTER (STR_START + 83)
817 #define SCSTR_COL_LABEL (STR_START + 84)
818 #define SCSTR_ROW_LABEL (STR_START + 85)
820 #define SCSTR_CHG_PROTECT (STR_START + 86)
821 #define SCSTR_CHG_UNPROTECT (STR_START + 87)
823 #define STR_CAPTION_DEFAULT_TEXT (STR_START + 88)
825 // dialog: select sheets
826 #define STR_DLG_SELECTTABLES_TITLE (STR_START + 89)
827 #define STR_DLG_SELECTTABLES_LBNAME (STR_START + 90)
829 // replace cell contents warning
830 #define STR_REPLCELLSWARN (STR_START + 91)
832 #define SCSTR_DPFUNCLISTBOX (STR_START + 92)
833 #define SCSTR_ALLFILTER (STR_START + 94)
834 #define SCSTR_MOREBTN_MOREOPTIONS (STR_START + 95)
835 #define SCSTR_MOREBTN_FEWEROPTIONS (STR_START + 96)
839 #define SCSTR_HOR_JUSTIFY_LEFT (STR_START + 100)
840 #define SCSTR_HOR_JUSTIFY_CENTER (STR_START + 101)
841 #define SCSTR_HOR_JUSTIFY_RIGHT (STR_START + 102)
842 #define SCSTR_HOR_JUSTIFY_BLOCK (STR_START + 103)
843 #define SCSTR_HOR_JUSTIFY_REPEAT (STR_START + 104)
844 #define SCSTR_HOR_JUSTIFY_STANDARD (STR_START + 105)
845 #define SCSTR_VER_JUSTIFY_TOP (STR_START + 106)
846 #define SCSTR_VER_JUSTIFY_CENTER (STR_START + 107)
847 #define SCSTR_VER_JUSTIFY_BOTTOM (STR_START + 108)
848 #define SCSTR_VER_JUSTIFY_STANDARD (STR_START + 109)
849 #define SCSTR_ORIENTATION_TOPBOTTOM (STR_START + 110)
850 #define SCSTR_ORIENTATION_BOTTOMTOP (STR_START + 111)
851 #define SCSTR_ORIENTATION_STANDARD (STR_START + 112)
852 #define SCSTR_AUTHOR (STR_START + 113)
853 #define SCSTR_UNIT (STR_START + 114)
858 #define STR_ACC_CSVRULER_NAME (STR_START + 150)
859 #define STR_ACC_CSVRULER_DESCR (STR_START + 151)
860 #define STR_ACC_CSVGRID_NAME (STR_START + 152)
861 #define STR_ACC_CSVGRID_DESCR (STR_START + 153)
864 #define STR_ACC_DOC_NAME (STR_START + 154)
865 #define STR_ACC_DOC_DESCR (STR_START + 155)
866 #define STR_ACC_TABLE_NAME (STR_START + 156)
867 #define STR_ACC_TABLE_DESCR (STR_START + 157)
868 #define STR_ACC_CELL_NAME (STR_START + 158)
869 #define STR_ACC_CELL_DESCR (STR_START + 159)
872 #define STR_ACC_PREVIEWDOC_NAME (STR_START + 160)
873 #define STR_ACC_PREVIEWDOC_DESCR (STR_START + 161)
874 #define STR_ACC_HEADERCELL_NAME (STR_START + 162)
875 #define STR_ACC_HEADERCELL_DESCR (STR_START + 163)
876 #define STR_ACC_LEFTAREA_NAME (STR_START + 164)
877 #define STR_ACC_LEFTAREA_DESCR (STR_START + 165)
878 #define STR_ACC_CENTERAREA_NAME (STR_START + 166)
879 #define STR_ACC_CENTERAREA_DESCR (STR_START + 167)
880 #define STR_ACC_RIGHTAREA_NAME (STR_START + 168)
881 #define STR_ACC_RIGHTAREA_DESCR (STR_START + 169)
882 #define STR_ACC_HEADER_NAME (STR_START + 170)
883 #define STR_ACC_HEADER_DESCR (STR_START + 171)
884 #define STR_ACC_FOOTER_NAME (STR_START + 172)
885 #define STR_ACC_FOOTER_DESCR (STR_START + 173)
888 #define STR_ACC_EDITLINE_NAME (STR_START + 174)
889 #define STR_ACC_EDITLINE_DESCR (STR_START + 175)
892 #define STR_ACC_EDITCELL_NAME (STR_START + 176)
893 #define STR_ACC_EDITCELL_DESCR (STR_START + 177)
896 #define STR_ACC_DATAPILOT_ROW_DESCR (STR_START + 178)
897 #define STR_ACC_DATAPILOT_COL_DESCR (STR_START + 179)
898 #define STR_ACC_DATAPILOT_DATA_DESCR (STR_START + 180)
899 #define STR_ACC_DATAPILOT_SEL_DESCR (STR_START + 181)
900 #define STR_ACC_DATAPILOT_PAGE_DESCR (STR_START + 182)
902 #define STR_ACC_TOOLBAR_FORMULA (STR_START + 184)
903 #define STR_ACC_DOC_SPREADSHEET (STR_START + 185)
904 #define STR_ACC_DOC_PREVIEW_SUFFIX (STR_START + 186)
905 #define STR_ACC_DOC_SPREADSHEET_READONLY (STR_START + 187)
907 #define SCSTR_SHORT_SCDOC_NAME (STR_START + 211)
908 #define SCSTR_LONG_SCDOC_NAME (STR_START + 212)
910 #define SCSTR_CLPBRD_CLEAR (STR_START + 213)
912 #define SCSTR_FORMULA_AUTOCORRECTION (STR_START + 214)
914 #define SCSTR_RENAMEOBJECT (STR_START + 215)
915 #define SCSTR_PRINT_OPTIONS (STR_START + 216)
916 #define SCSTR_WARN_ME_IN_FUTURE_CHECK (STR_START + 217)
918 // navigator - in the same order as SC_CONTENT_...
919 #define SCSTR_CONTENT_ROOT (STR_START + 250)
920 #define SCSTR_CONTENT_TABLE (STR_START + 251)
921 #define SCSTR_CONTENT_RANGENAME (STR_START + 252)
922 #define SCSTR_CONTENT_DBAREA (STR_START + 253)
923 #define SCSTR_CONTENT_GRAPHIC (STR_START + 254)
924 #define SCSTR_CONTENT_OLEOBJECT (STR_START + 255)
925 #define SCSTR_CONTENT_NOTE (STR_START + 256)
926 #define SCSTR_CONTENT_AREALINK (STR_START + 257)
927 #define SCSTR_CONTENT_DRAWING (STR_START + 258)
928 // some space for extensions
930 // input, quickhelp strings (HelpText now using HelpId from help)
931 #define SCSTR_QHELP_INPUTWND (STR_START + 307)
932 #define SCSTR_QHELP_POSWND (STR_START + 308)
933 #define SCSTR_QHELP_BTNCALC (STR_START + 309)
934 #define SCSTR_QHELP_BTNOK (STR_START + 310)
935 #define SCSTR_QHELP_BTNCANCEL (STR_START + 311)
936 #define SCSTR_QHELP_BTNSUM (STR_START + 312)
937 #define SCSTR_QHELP_BTNEQUAL (STR_START + 313)
940 #define SCSTR_VALID_MINIMUM (STR_START + 314)
941 #define SCSTR_VALID_MAXIMUM (STR_START + 315)
942 #define SCSTR_VALID_VALUE (STR_START + 316)
943 #define SCSTR_VALID_RANGE (STR_START + 317)
944 #define SCSTR_VALID_LIST (STR_START + 318)
946 #define SCSTR_SELECT (STR_START + 319)
949 #define SCSTR_MEDIASHELL (STR_START + 401)
951 #define RID_SCSTR_ONCLICK (STR_START + 402)
953 #define SCSTR_SET_TAB_BG_COLOR (STR_START + 403)
954 #define SCSTR_NO_TAB_BG_COLOR (STR_START + 404)
955 #define SCSTR_DDEDOC_NOT_LOADED (STR_START + 405)
956 #define SCSTR_QHELP_EXPAND_FORMULA (STR_START + 406)
957 #define SCSTR_QHELP_COLLAPSE_FORMULA (STR_START + 407)
958 #define SCSTR_EXTDOC_NOT_LOADED (STR_START + 408)
960 #define SCSTR_FORMULA_SYNTAX_CALC_A1 (STR_START + 409)
961 #define SCSTR_FORMULA_SYNTAX_XL_A1 (STR_START + 410)
962 #define SCSTR_FORMULA_SYNTAX_XL_R1C1 (STR_START + 411)
964 #define SCSTR_FIELDSEP_TAB (STR_START + 412)
965 #define SCSTR_FIELDSEP_SPACE (STR_START + 413)
967 #define SCSTR_VALERR (STR_START + 414)
969 #define STR_NOFORMULASPECIFIED (STR_START + 415)
970 #define STR_NOCOLROW (STR_START + 416)
971 #define STR_WRONGFORMULA (STR_START + 417)
972 #define STR_WRONGROWCOL (STR_START + 418)
973 #define STR_NOCOLFORMULA (STR_START + 419)
974 #define STR_NOROWFORMULA (STR_START + 420)
975 #define STR_ADD_AUTOFORMAT_TITLE (STR_START + 421)
976 #define STR_RENAME_AUTOFORMAT_TITLE (STR_START + 422)
977 #define STR_ADD_AUTOFORMAT_LABEL (STR_START + 423)
978 #define STR_DEL_AUTOFORMAT_TITLE (STR_START + 424)
979 #define STR_DEL_AUTOFORMAT_MSG (STR_START + 425)
980 #define STR_BTN_AUTOFORMAT_CLOSE (STR_START + 426)
981 #define STR_JAN (STR_START + 427)
982 #define STR_FEB (STR_START + 428)
983 #define STR_MAR (STR_START + 429)
984 #define STR_NORTH (STR_START + 430)
985 #define STR_MID (STR_START + 431)
986 #define STR_SOUTH (STR_START + 432)
987 #define STR_SUM (STR_START + 433)
988 #define SCSTR_UPDATE_EXTDOCS (STR_START + 434)
989 #define STR_END (SCSTR_UPDATE_EXTDOCS)
991 #define BMP_START (STR_END)
994 #define RID_IMG_DROP_URL (BMP_START + 2)
995 #define RID_IMG_DROP_LINK (BMP_START + 3)
996 #define RID_IMG_DROP_COPY (BMP_START + 4)
997 #define RID_IMG_SELECT_CURRENT (BMP_START + 8)
998 #define RID_IMG_UNSELECT_CURRENT (BMP_START + 9)
1000 #define IMG_CELL_BORDER (BMP_START + 10)
1001 #define IMG_LINE_STYLE1 (BMP_START + 11)
1002 #define IMG_LINE_STYLE2 (BMP_START + 12)
1003 #define IMG_LINE_STYLE3 (BMP_START + 13)
1004 #define IMG_LINE_STYLE4 (BMP_START + 14)
1005 #define IMG_LINE_STYLE5 (BMP_START + 15)
1006 #define IMG_LINE_STYLE6 (BMP_START + 16)
1007 #define IMG_LINE_STYLE7 (BMP_START + 17)
1008 #define IMG_LINE_STYLE8 (BMP_START + 18)
1009 #define IMG_LINE_STYLE9 (BMP_START + 19)
1010 #define IMG_ELEMENT_DEFAULT (BMP_START + 20)
1011 #define IMG_ELEMENT_REPEAT (BMP_START + 21)
1012 #define IMG_ELEMENT_ATTRIBUTE (BMP_START + 22)
1014 #define BMP_END (BMP_START + 100)
1016 #define SC_DIALOGS_START (BMP_END)
1018 #define RID_SCDLG_FILTER (SC_DIALOGS_START + 8)
1020 #define RID_SCDLG_INSCELL (SC_DIALOGS_START + 12)
1022 #define RID_SCDLG_SELENTRY (SC_DIALOGS_START + 18)
1023 #define RID_SCDLG_NAMES (SC_DIALOGS_START + 22)
1024 #define RID_SCDLG_DBNAMES (SC_DIALOGS_START + 23)
1025 #define RID_SCDLG_SOLVER (SC_DIALOGS_START + 26)
1027 #define RID_SCPAGE_SUBT_OPTIONS (SC_DIALOGS_START + 29)
1028 #define RID_SCPAGE_USERLISTS (SC_DIALOGS_START + 31)
1029 #define RID_SCDLG_CONSOLIDATE (SC_DIALOGS_START + 35)
1030 #define RID_SCDLG_INSERT_TABLE (SC_DIALOGS_START + 42)
1032 #define RID_SCPAGE_AREAS (SC_DIALOGS_START + 44)
1033 #define RID_SCDLG_STYLES_PAR (SC_DIALOGS_START + 46)
1034 #define RID_SCDLG_STYLES_PAGE (SC_DIALOGS_START + 48)
1036 #define RID_SCDLG_HFEDIT (SC_DIALOGS_START + 50)
1037 #define RID_SCDLG_HFEDIT_ALL (SC_DIALOGS_START + 51)
1038 #define RID_SCDLG_HFED_HEADER (SC_DIALOGS_START + 52)
1039 #define RID_SCDLG_HFED_FOOTER (SC_DIALOGS_START + 53)
1041 #define RID_SCPAGE_CALC (SC_DIALOGS_START + 56)
1042 #define RID_SCDLG_NAVIGATOR (SC_DIALOGS_START + 57)
1044 #define RID_POPUP_ROWHEADER (SC_DIALOGS_START + 60)
1045 #define RID_POPUP_COLHEADER (SC_DIALOGS_START + 61)
1046 #define RID_SCDLG_HFEDIT_SHDR (SC_DIALOGS_START + 62)
1047 #define RID_SCDLG_HFEDIT_SFTR (SC_DIALOGS_START + 63)
1048 #define RID_SCDLG_HFEDIT_LEFTHEADER (SC_DIALOGS_START + 64)
1049 #define RID_SCDLG_HFEDIT_RIGHTHEADER (SC_DIALOGS_START + 65)
1050 #define RID_SCDLG_HFEDIT_LEFTFOOTER (SC_DIALOGS_START + 66)
1051 #define RID_SCDLG_HFEDIT_RIGHTFOOTER (SC_DIALOGS_START + 67)
1052 #define RID_SCDLG_HFEDIT_HEADER (SC_DIALOGS_START + 68)
1053 #define RID_SCDLG_HFEDIT_FOOTER (SC_DIALOGS_START + 69)
1054 #define RID_SCPAGE_PRINT (SC_DIALOGS_START + 70)
1056 #define RID_SCDLG_CONTACTS (SC_DIALOGS_START + 78)
1058 #define RID_SCPAGE_STAT (SC_DIALOGS_START + 79)
1059 #define RID_SCDLG_AREAS (SC_DIALOGS_START + 81)
1061 // popup for drop-mode in navigator
1062 #define RID_POPUP_DROPMODE (SC_DIALOGS_START + 92)
1063 #define RID_DROPMODE_URL (SC_DIALOGS_START + 93)
1064 #define RID_DROPMODE_LINK (SC_DIALOGS_START + 94)
1065 #define RID_DROPMODE_COPY (SC_DIALOGS_START + 95)
1067 // derivations from RID_SCDLG_SELENTRY
1069 #define RID_SCPAGE_CONTENT (SC_DIALOGS_START + 113)
1070 #define RID_SCPAGE_LAYOUT (SC_DIALOGS_START + 114)
1072 #define RID_SCDLG_CHANGES (SC_DIALOGS_START + 119)
1074 #define RID_POPUP_NAVIPI_SCENARIO (SC_DIALOGS_START + 120)
1075 #define RID_NAVIPI_SCENARIO_DELETE (SC_DIALOGS_START + 121)
1076 #define RID_NAVIPI_SCENARIO_EDIT (SC_DIALOGS_START + 122)
1078 #define RID_SCPAGE_OPREDLINE (SC_DIALOGS_START + 124)
1080 #define WID_SIMPLE_REF (SC_DIALOGS_START + 126)
1081 #define RID_POPUP_CHANGES (SC_DIALOGS_START + 127)
1083 #define RID_SCDLG_DAPISERVICE (SC_DIALOGS_START + 130)
1085 #define RID_SCDLG_DPNUMGROUP (SC_DIALOGS_START + 135)
1086 #define RID_SCDLG_DPDATEGROUP (SC_DIALOGS_START + 136)
1087 #define RID_SCDLG_DPSHOWDETAIL (SC_DIALOGS_START + 137)
1089 #define RID_SCDLG_CONFLICTS (SC_DIALOGS_START + 145)
1090 #define RID_SCDLG_SHAREDOCUMENT (SC_DIALOGS_START + 146)
1091 #define RID_SCDLG_TABPROTECTION (SC_DIALOGS_START + 148)
1092 #define RID_SCDLG_RETYPEPASS (SC_DIALOGS_START + 150)
1094 #define RID_POPUP_FILTER (SC_DIALOGS_START + 153)
1095 #define RID_COND_ENTRY (SC_DIALOGS_START + 156)
1097 #define RID_ICON_SET_ENTRY (SC_DIALOGS_START + 158)
1099 #define RID_SCDLG_COND_FORMAT_MANAGER (SC_DIALOGS_START + 159)
1101 // defines for AlignmentPropertyPanel
1102 #define RID_PROPERTYPANEL_SC_ALIGNMENT (SC_DIALOGS_START + 161)
1104 // defines for CellAppearancePropertyPanel
1105 #define RID_POPUPPANEL_CELLAPPEARANCE_FILLCOLOR (SC_DIALOGS_START + 162)
1106 #define RID_POPUPPANEL_CELLAPPEARANCE_LINECOLOR (SC_DIALOGS_START + 163)
1107 #define RID_POPUPPANEL_APPEARANCE_CELL_LINESTYLE (SC_DIALOGS_START + 164)
1108 #define RID_POPUPPANEL_APPEARANCE_CELL_BORDERSTYLE (SC_DIALOGS_START + 165)
1110 #define SC_DIALOGS_END (RID_POPUPPANEL_APPEARANCE_CELL_BORDERSTYLE + 1)
1112 #ifndef STD_MASKCOLOR
1113 #define STD_MASKCOLOR Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; }
1121 // ooo-build specific resources
1123 #define SC_OOO_BUILD_START (SC_DIALOGS_END)
1125 // toggle sheet grid
1126 #define FID_TAB_TOGGLE_GRID (SC_OOO_BUILD_START + 1)
1128 // formula options page
1129 #define RID_SCPAGE_FORMULA (SC_OOO_BUILD_START + 2)
1131 // insert current date and time to cell via command
1132 #define SID_INSERT_CURRENT_DATE (SC_OOO_BUILD_START + 4)
1133 #define SID_INSERT_CURRENT_TIME (SC_OOO_BUILD_START + 5)
1136 #define SID_DATA_FORM (SC_OOO_BUILD_START + 7) // menu (in Data menu)
1137 #define RID_SCDLG_DATAFORM (SC_OOO_BUILD_START + 8) // dialog
1139 // compatibility options page
1140 #define RID_SCPAGE_COMPATIBILITY (SC_OOO_BUILD_START + 9)
1143 #define RID_SCPAGE_DEFAULTS (SC_OOO_BUILD_START + 10)
1147 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */