LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / sc / inc / sc.hrc
blob4c34bb149340f09e5f1fa780aafa6e7b024d1cc4
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
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 .
18  */
20 #ifndef SC_SC_HRC
21 #define SC_SC_HRC
23 #include <svx/svxids.hrc>
25 // areas
27 #ifndef SC_VIEW_START // duplicated in sfx2/sfxsids.hrc
28 #define SC_VIEW_START           (SID_SC_START)
29 #endif
30 //      SC_VIEW_END             (SID_SC_START + 99)
31 #define SC_MESSAGE_START        (SID_SC_START + 100)
32 //      SC_MESSAGE_END          (SID_SC_START + 199)
33 #ifndef SC_FUNCTION_START // duplicated in sfx2/sfxsids.hrc
34 #define SC_FUNCTION_START       (SID_SC_START + 200)
35 #endif
36 //      SC_FUNCTION_END         (SID_SC_START + 299)
37 #define SC_PARAM_START          (SID_SC_START + 300)
38 //      SC_PARAM_END            (SID_SC_START + 399)
39 #define SC_SIDEBAR_PROPERTY_BEGIN   (SID_SC_START + 400)
40 //      SC_SIDEBAR_PROPERTY_END (SID_SC_START + 499)
42 //  stay compatible to the past
43 #define SC_RESOURCE_START       (RID_APP_START+5000)
45 // help IDs -
46 //  calc has a range of 2000 IDs
47 //  the functions need 11*90 = 990 IDs
49 #define HID_SC_SHEET_START      (HID_SC_START + 1010)
50 #define HID_SC_SHELL_START      (HID_SC_START + 1030)
52 // help IDs for templates
53 #define HID_SC_SHEET_CELL_STD   (HID_SC_SHEET_START +0 )
54 #define HID_SC_SHEET_CELL_ERG1  (HID_SC_SHEET_START +2 )
55 #define HID_SC_SHEET_PAGE_STD   (HID_SC_SHEET_START +10 )
56 #define HID_SC_SHEET_PAGE_REP   (HID_SC_SHEET_START +11 )
58 // view-functions (max. 100)
59 #define FID_SCALESTATUS         (SC_VIEW_START + 10)
60 #define SID_UPDATECHART         (SC_VIEW_START + 13)
62 // TabPage entry - Legacy selection
63 #define SID_SC_INPUT_LEGACY_CELL_SELECTION (SC_VIEW_START + 15)
64 #define SID_SC_OPT_SORT_REF_UPDATE         (SC_VIEW_START + 16)
66 // Format options
67 #define SID_SCFORMULAOPTIONS    (SC_VIEW_START + 20)
68 #define SID_SCDEFAULTSOPTIONS   (SC_VIEW_START + 21)
71 #define SID_DATA_PROVIDER       (SC_VIEW_START + 31)
72 #define SID_DATA_PROVIDER_REFRESH (SC_VIEW_START + 32)
73 #define SID_DATA_STREAMS_PLAY   (SC_VIEW_START + 33)
74 #define SID_DATA_STREAMS_STOP   (SC_VIEW_START + 34)
75 #define SID_DATA_STREAMS        (SC_VIEW_START + 35)
77 // slot-IDs for attributes
78 #define SID_SCATTR_PROTECTION   (SC_VIEW_START + 36)    // protection-page
80 // other slot-IDs:
81 #define SID_SCUSERLISTS         (SC_VIEW_START + 37)    // user defined lists
82 #define RES_TBX_DUMMY           (SC_VIEW_START + 38)    // dummy-item
83 #define SID_SCVIEWOPTIONS       (SC_VIEW_START + 39)
84 #define SID_SCDOCOPTIONS        (SC_VIEW_START + 40)
86 // cursor movements as properties:
87 #define SID_CURRENTCELL         (SC_VIEW_START + 41)
88 #define SID_CURRENTTAB          (SC_VIEW_START + 42)
89 #define SID_CURRENTDOC          (SC_VIEW_START + 43)
90 #define SID_CURRENTOBJECT       (SC_VIEW_START + 44)
92 // slot-IDs for special toolbox functions:
93 #define SID_NUMBER_CURRENCY     (SC_VIEW_START + 45)
94 #define SID_NUMBER_PERCENT      (SC_VIEW_START + 46)
96 // "slot" IDs for input images:
97 // 47..51 are used for toolbox ids
99 #define SID_NUMBER_STANDARD     (SC_VIEW_START + 52)
100 #define SID_NUMBER_DATE         (SC_VIEW_START + 53)
101 #define SID_NUMBER_TWODEC       (SC_VIEW_START + 54)
102 #define SID_NUMBER_SCIENTIFIC   (SC_VIEW_START + 55)
103 #define SID_NUMBER_TIME         (SC_VIEW_START + 56)
104 #define SID_NUMBER_INCDEC       (SC_VIEW_START + 57)
105 #define SID_NUMBER_DECDEC       (SC_VIEW_START + 58)
106 #define SID_NUMBER_THOUSANDS    (SC_VIEW_START + 59)
108 // misc:
109 #define SID_LINKS               (SC_VIEW_START + 60)
110 #define SID_INSERT_SMATH        (SC_VIEW_START + 63)
111 // Put this here since all available slots for "SC_INPUT" are taken
112 #define SID_SC_INPUT_ENTER_PASTE_MODE (SC_VIEW_START + 64)
113 #define SID_MIRROR_VERTICAL     (SC_VIEW_START + 65)
114 #define SID_MIRROR_HORIZONTAL   (SC_VIEW_START + 66)
115 #define SID_CELL_FORMAT_RESET   (SC_VIEW_START + 67)
116 #define SID_SCPRINTOPTIONS      (SC_VIEW_START + 68)
117 #define SID_WINDOW_SPLIT        (SC_VIEW_START + 69)
118 #define SID_WINDOW_FIX          (SC_VIEW_START + 70)
119 #define SID_DRAW_CHART          (SC_VIEW_START + 71)
120 #define SID_UPDATETABLINKS      (SC_VIEW_START + 72)
122 // TabPage entry
123 #define SID_SC_INPUT_SELECTION          (SC_VIEW_START + 73)
124 #define SID_SC_INPUT_SELECTIONPOS       (SC_VIEW_START + 74)
125 #define SID_SC_INPUT_EDITMODE           (SC_VIEW_START + 75)
126 #define SID_SC_INPUT_FMT_EXPAND         (SC_VIEW_START + 76)
127 #define SID_SC_INPUT_RANGEFINDER        (SC_VIEW_START + 77)
128 #define SID_SC_INPUT_REF_EXPAND         (SC_VIEW_START + 78)
129 #define SID_SC_INPUT_MARK_HEADER        (SC_VIEW_START + 79)
131 #define SID_REIMPORT_AFTER_LOAD (SC_VIEW_START + 80)
132 #define SID_DRAW_NOTEEDIT       (SC_VIEW_START + 81)
134 #define SID_CHOOSE_DESIGN       (SC_VIEW_START + 82)
135 #define SID_EURO_CONVERTER      (SC_VIEW_START + 83)
136 //See include/sfx2/sfxsids.hrc for reserved usage of (SC_VIEW_START + 84)
137 #define SID_EXTERNAL_SOURCE     (SC_VIEW_START + 85)
139 #define SID_SC_INPUT_TEXTWYSIWYG        (SC_VIEW_START + 86)
141 #define SID_ENABLE_HYPHENATION          (SC_VIEW_START + 87)
143 #define SID_RENAME_OBJECT               (SC_VIEW_START + 88)
144 #define SID_FOCUS_INPUTLINE             (SC_VIEW_START + 89)
145 #define SID_SELECT_TABLES               (SC_VIEW_START + 90)
147 // new entry "Filter..." in DP popup menu
148 #define SID_DP_FILTER                   (SC_VIEW_START + 91)
150 // replace cell contents warning
151 #define SID_SC_INPUT_REPLCELLSWARN      (SC_VIEW_START + 92)
153 // additional IDs for list/range validity
154 #define FID_VALID_LISTTYPE              (SC_VIEW_START + 93)
156 // #i68101# ID for changing title & description of an object
157 #define SID_TITLE_DESCRIPTION_OBJECT    (SC_VIEW_START + 94)
159 // #i59082# assign macro to shape
160 #define SID_ASSIGNMACRO                 (SC_VIEW_START + 95)
162 // "Zoom / Synchronize sheets" in options dialog
163 #define SID_SC_OPT_SYNCZOOM             (SC_VIEW_START + 98)
165 #define SID_SC_OPT_KEY_BINDING_COMPAT   (SC_VIEW_START + 99)
167 // NOTE: last valid ID is (SC_VIEW_START + 99)
169 // messages
171 #define FID_INPUTLINE_STATUS    (SC_MESSAGE_START)
172 #define FID_INPUTLINE_ENTER     (SC_MESSAGE_START + 1)
173 #define FID_REPAINT             (SC_MESSAGE_START + 2)
174 #define SID_SOLVE               (SC_MESSAGE_START + 6)
175 #define FID_FILTER_OK           (SC_MESSAGE_START + 8)
176 #define FID_INPUTLINE_MATRIX    (SC_MESSAGE_START + 11)
177 #define SID_DLG_RETOK           (SC_MESSAGE_START + 12)
178 #define SID_STATUS_DOCPOS       (SC_MESSAGE_START + 14)
179 #define SID_STATUS_PAGESTYLE    (SC_MESSAGE_START + 15)
180 #define SID_STATUS_SELMODE      (SC_MESSAGE_START + 16)
181 #define SID_DLG_MATRIX          (SC_MESSAGE_START + 18)
183 #define SID_STATUS_SELMODE_ERG  (SC_MESSAGE_START + 22)
184 #define SID_STATUS_SELMODE_ERW  (SC_MESSAGE_START + 23)
185 #define SID_STATUS_SELMODE_NORM (SC_MESSAGE_START + 24)
187 #define SID_CHART_SOURCE        (SC_MESSAGE_START + 25)
188 #define SID_CHART_NAME          (SC_MESSAGE_START + 26)
189 #define SID_CHART_ADDSOURCE     (SC_MESSAGE_START + 27)
191 #define SID_AUTO_STYLE          (SC_MESSAGE_START + 28)
193 #define FID_INPUTLINE_BLOCK     (SC_MESSAGE_START + 29)
195 #define SID_STATUS_SUM          (SC_MESSAGE_START + 30)
197 #define SID_ENTER_STRING        (SC_MESSAGE_START + 37)
198 #define SID_ROWCOL_SELCOUNT     (SC_MESSAGE_START + 38)
199 #define SID_AUTO_SUM            (SC_MESSAGE_START + 39)
201 // messages for opening dialogs:
202 #define SID_OPENDLG_CONSOLIDATE             (SC_MESSAGE_START + 50)
203 #define SID_OPENDLG_PIVOTTABLE              (SC_MESSAGE_START + 51)
204 #define SID_OPENDLG_FUNCTION                (SC_MESSAGE_START + 52)
205 #define SID_OPENDLG_SOLVE                   (SC_MESSAGE_START + 53)
206 #define SID_OPENDLG_TABOP                   (SC_MESSAGE_START + 54)
207 #define SID_OPENDLG_CURRENTCONDFRMT         (SC_MESSAGE_START + 58)
208 #define SID_OPENDLG_CONDFRMT                (SC_MESSAGE_START + 59)
209 #define SID_OPENDLG_OPTSOLVER               (SC_MESSAGE_START + 60)
210 #define SID_VALIDITY_REFERENCE              (SC_MESSAGE_START + 61)
211 #define SID_OPENDLG_CONDFRMT_MANAGER        (SC_MESSAGE_START + 62)
212 #define SID_POPUP_CONDFRMT                  (SC_MESSAGE_START + 63)
213 #define SID_OPENDLG_CURRENTCONDFRMT_MANAGER (SC_MESSAGE_START + 64)
214 #define SID_OPENDLG_COLORSCALE              (SC_MESSAGE_START + 66)
215 #define SID_OPENDLG_DATABAR                 (SC_MESSAGE_START + 67)
216 #define SID_OPENDLG_ICONSET                 (SC_MESSAGE_START + 68)
217 #define SID_OPENDLG_CONDDATE                (SC_MESSAGE_START + 69)
219 #define SID_RANDOM_NUMBER_GENERATOR_DIALOG  (SC_MESSAGE_START + 70)
220 #define SID_SAMPLING_DIALOG                 (SC_MESSAGE_START + 71)
221 #define SID_DESCRIPTIVE_STATISTICS_DIALOG   (SC_MESSAGE_START + 72)
222 #define SID_ANALYSIS_OF_VARIANCE_DIALOG     (SC_MESSAGE_START + 73)
223 #define SID_CORRELATION_DIALOG              (SC_MESSAGE_START + 74)
224 #define SID_COVARIANCE_DIALOG               (SC_MESSAGE_START + 75)
225 #define SID_EXPONENTIAL_SMOOTHING_DIALOG    (SC_MESSAGE_START + 76)
226 #define SID_MOVING_AVERAGE_DIALOG           (SC_MESSAGE_START + 77)
227 #define SID_REGRESSION_DIALOG               (SC_MESSAGE_START + 78)
228 #define SID_TTEST_DIALOG                    (SC_MESSAGE_START + 79)
229 #define SID_FTEST_DIALOG                    (SC_MESSAGE_START + 80)
230 #define SID_ZTEST_DIALOG                    (SC_MESSAGE_START + 81)
231 #define SID_CHI_SQUARE_TEST_DIALOG          (SC_MESSAGE_START + 82)
232 #define SID_SEARCH_RESULTS_DIALOG           (SC_MESSAGE_START + 83)
233 #define SID_WINDOW_FIX_ROW                  (SC_MESSAGE_START + 84)
234 #define SID_WINDOW_FIX_COL                  (SC_MESSAGE_START + 85)
235 #define SID_COLUMN_OPERATIONS               (SC_MESSAGE_START + 86)
236 #define SID_ROW_OPERATIONS                  (SC_MESSAGE_START + 87)
237 #define SID_FOURIER_ANALYSIS_DIALOG         (SC_MESSAGE_START + 88)
238 #define SID_SPARKLINE_DIALOG                (SC_MESSAGE_START + 89)
239 #define SID_SPARKLINE_DATA_RANGE_DIALOG     (SC_MESSAGE_START + 90)
242 // functions
244 #define SID_OPEN_CALC                   (SC_FUNCTION_START + 4)
245 #define SID_CONVERT_FORMULA_TO_VALUE    (SC_FUNCTION_START + 5)
246 #ifndef FILE_MENU_END // duplicated in sfx2/sfxsids.hrc
247 #define FILE_MENU_END                   (SC_FUNCTION_START + 20)
248 #endif
250 #ifndef EDIT_MENU_START // duplicated in sfx2/sfxsids.hrc
251 #define EDIT_MENU_START         (FILE_MENU_END)
252 #endif
253 #define FID_DELETE_CELL         (EDIT_MENU_START + 2)
254 #define FID_DELETE_TABLE        (EDIT_MENU_START + 3)
255 #define FID_FILL_TO_BOTTOM      (EDIT_MENU_START + 4)
256 #define FID_FILL_TO_RIGHT       (EDIT_MENU_START + 5)
257 #define FID_FILL_TO_TOP         (EDIT_MENU_START + 6)
258 #define FID_FILL_TO_LEFT        (EDIT_MENU_START + 7)
259 #define FID_FILL_TAB            (EDIT_MENU_START + 8)
260 #define FID_FILL_SERIES         (EDIT_MENU_START + 9)
261 #define FID_FILL_SINGLE_EDIT    (EDIT_MENU_START + 10)
262 #define SID_HFEDIT              (EDIT_MENU_START + 15)
264 #define SID_DEL_ROWS            (EDIT_MENU_START + 16)//JN
265 #define SID_DEL_COLS            (EDIT_MENU_START + 17)//JN
266 // EDIT_MENU_START + 18 is defined in include/sfx2/sfxsids.hrc
267 #define FID_CHG_SHOW            (EDIT_MENU_START + 19)
269 #define EDIT_MENU_END           (EDIT_MENU_START + 20)
270 #define VIEW_MENU_START         (EDIT_MENU_END)
272 #define FID_TOGGLEINPUTLINE     (VIEW_MENU_START + 1)
273 #define FID_TOGGLEHEADERS       (VIEW_MENU_START + 2)
274 #define FID_SCALE               (VIEW_MENU_START + 4)
275 #define FID_TOGGLESYNTAX        (VIEW_MENU_START + 5)
276 #define FID_PAGEBREAKMODE       (VIEW_MENU_START + 7)
277 #define FID_FUNCTION_BOX        (VIEW_MENU_START + 8)
278 #define FID_NORMALVIEWMODE      (VIEW_MENU_START + 9)
279 #define FID_TOGGLEFORMULA       (VIEW_MENU_START + 10)
281 #define FID_CHG_ACCEPT          (VIEW_MENU_START + 18)// DANGER DIRTY ID
282 #define FID_CHG_COMMENT         (VIEW_MENU_START + 19)// DANGER DIRTY ID
283 #define VIEW_MENU_END           (VIEW_MENU_START + 20)
285 #define INSERT_MENU_START       (VIEW_MENU_END)
286 #define FID_INS_ROWBRK          (INSERT_MENU_START + 1)
287 #define FID_INS_COLBRK          (INSERT_MENU_START + 2)
288 #define FID_DEL_ROWBRK          (INSERT_MENU_START + 3)
289 #define FID_DEL_COLBRK          (INSERT_MENU_START + 4)
290 #define FID_INS_CELL_CONTENTS   (INSERT_MENU_START + 5)
291 #define FID_INS_CELL            (INSERT_MENU_START + 6)
292 #define FID_INS_ROW             (INSERT_MENU_START + 7)
293 #define FID_INS_COLUMN          (INSERT_MENU_START + 8)
294 #define FID_INS_TABLE           (INSERT_MENU_START + 9)
295 #define SID_INS_FUNCTION        (INSERT_MENU_START + 10)
296 #define FID_DEFINE_NAME         (INSERT_MENU_START + 11)
297 #define FID_INSERT_NAME         (INSERT_MENU_START + 12)
298 #define FID_USE_NAME            (INSERT_MENU_START + 13)
299 #define FID_APPLY_NAME          (INSERT_MENU_START + 14)
300 #define FID_INS_TABLE_EXT       (INSERT_MENU_START + 15)
301 #define FID_ADD_NAME            (INSERT_MENU_START + 16)
302 #define FID_INS_CELLSDOWN       (INSERT_MENU_START + 18)
303 #define FID_INS_CELLSRIGHT      (INSERT_MENU_START + 19)
304 #define FID_INS_ROWS_AFTER      (INSERT_MENU_START + 20)
305 #define FID_INS_COLUMNS_AFTER   (INSERT_MENU_START + 21)
306 #define FID_INS_ROWS_BEFORE     (INSERT_MENU_START + 22)
307 #define FID_INS_COLUMNS_BEFORE  (INSERT_MENU_START + 23)
308 #define FID_DEFINE_CURRENT_NAME (INSERT_MENU_START + 24)
309 #define INSERT_MENU_END         (INSERT_MENU_START + 25)
311 #define FORMAT_MENU_START       (INSERT_MENU_END)
312 #define FID_CELL_FORMAT         (FORMAT_MENU_START)
313 #define FID_ROW_HEIGHT          (FORMAT_MENU_START + 1)
314 #define FID_ROW_OPT_HEIGHT      (FORMAT_MENU_START + 2)
315 #define FID_ROW_HIDE            (FORMAT_MENU_START + 3)
316 #define FID_ROW_SHOW            (FORMAT_MENU_START + 4)
317 #define FID_COL_WIDTH           (FORMAT_MENU_START + 5)
318 #define FID_COL_OPT_WIDTH       (FORMAT_MENU_START + 6)
319 #define FID_COL_HIDE            (FORMAT_MENU_START + 7)
320 #define FID_COL_SHOW            (FORMAT_MENU_START + 8)
321 #define FID_TABLE_HIDE          (FORMAT_MENU_START + 9)
322 #define FID_TABLE_SHOW          (FORMAT_MENU_START + 10)
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_SHARE_DOC           (EXTRA_MENU_START + 11)
338 #define SID_SCENARIOS           (EXTRA_MENU_START + 12)
339 #define SID_PIVOT_RECALC        (EXTRA_MENU_START + 14)
340 #define SID_PIVOT_KILL          (EXTRA_MENU_START + 15)
342 #define FID_HARD_RECALC         (EXTRA_MENU_START + 18)
343 #define FID_AUTOCOMPLETE        (EXTRA_MENU_START + 19)
345 #define EXTRA_MENU_END          (EXTRA_MENU_START + 20)
347 #define DATA_MENU_START         (EXTRA_MENU_END)
348 #define SID_DEFINE_DBNAME       (DATA_MENU_START)
349 #define SID_SELECT_DB           (DATA_MENU_START + 1)
350 #define SID_SORT                (DATA_MENU_START + 2)
351 #define SID_FILTER              (DATA_MENU_START + 3)
352 #define SID_SPECIAL_FILTER      (DATA_MENU_START + 4)
353 #define SID_AUTO_FILTER         (DATA_MENU_START + 5)
354 #define SID_UNFILTER            (DATA_MENU_START + 6)
355 #define SID_QUERY               (DATA_MENU_START + 7)
356 #define SID_MANAGE_XML_SOURCE   (DATA_MENU_START + 8)
357 #define SID_SUBTOTALS           (DATA_MENU_START + 13)
358 #define SID_AUTO_OUTLINE        (DATA_MENU_START + 14)
359 #define SID_REIMPORT_DATA       (DATA_MENU_START + 16)
360 #define SID_PIVOT_TABLE         (DATA_MENU_START + 17)
361 #define SID_TABOP               (DATA_MENU_START + 18)
362 #define SID_TEXT_TO_COLUMNS     (DATA_MENU_START + 19)
363 #define SID_CONSOLIDATE         (DATA_MENU_START + 20)
364 #define SID_AUTOFILTER_HIDE     (DATA_MENU_START + 21)
365 #define SID_SBA_IMPORT          (DATA_MENU_START + 22)
366 #define SID_SORT_DESCENDING     (DATA_MENU_START + 23)
367 #define SID_SORT_ASCENDING      (DATA_MENU_START + 24)
368 #define SID_OUTLINE_HIDE        (DATA_MENU_START + 25)
369 #define SID_OUTLINE_SHOW        (DATA_MENU_START + 26)
370 #define SID_OUTLINE_MAKE        (DATA_MENU_START + 27)
371 #define SID_OUTLINE_REMOVE      (DATA_MENU_START + 28)
373 #define DATA_MENU_END           (DATA_MENU_START + 29)
375 #define TAB_POPUP_START         (DATA_MENU_END)
376 #define FID_TAB_MENU_RENAME     (TAB_POPUP_START)
377 #define FID_TAB_RENAME          (TAB_POPUP_START+1)
378 #define FID_TAB_MOVE            (TAB_POPUP_START+2)
379 #define FID_TAB_SELECTALL       (TAB_POPUP_START+3)
380 #define FID_TAB_APPEND          (TAB_POPUP_START+4)
381 #define FID_TAB_INDEX           (TAB_POPUP_START+5)
382 #define FID_TAB_RTL             (TAB_POPUP_START+6)
383 #define FID_TAB_DESELECTALL     (TAB_POPUP_START+7)
384 #define FID_TAB_MENU_SET_TAB_BG_COLOR (TAB_POPUP_START + 8)
385 #define FID_TAB_SET_TAB_BG_COLOR      (TAB_POPUP_START + 9)
386 #define FID_TAB_EVENTS          (TAB_POPUP_START+10)
388 #define TAB_POPUP_END           (TAB_POPUP_START + 20)
390 #define OBJBAR_FORMAT_START     (TAB_POPUP_END)
391 #define SID_ALIGNLEFT           (OBJBAR_FORMAT_START+6)
392 #define SID_ALIGNRIGHT          (OBJBAR_FORMAT_START+7)
393 #define SID_ALIGNCENTERHOR      (OBJBAR_FORMAT_START+8)
394 #define SID_ALIGNBLOCK          (OBJBAR_FORMAT_START+9)
395 #define SID_ALIGNTOP            (OBJBAR_FORMAT_START+10)
396 #define SID_ALIGNBOTTOM         (OBJBAR_FORMAT_START+11)
397 #define SID_ALIGNCENTERVER      (OBJBAR_FORMAT_START+12)
398 #define SID_SELECT_SCENARIO     (OBJBAR_FORMAT_START+13)
400 #define SID_V_ALIGNCELL         (OBJBAR_FORMAT_START+14)
401 #define SID_H_ALIGNCELL         (OBJBAR_FORMAT_START+15)
403 #define OBJBAR_FORMAT_END       (OBJBAR_FORMAT_START+20)
405 #define RID_INPUTBAR_START      (OBJBAR_FORMAT_END)
406 #define RID_INPUTBAR_END        (RID_INPUTBAR_START+1)
408 #define DRAW_BAR_START          (RID_INPUTBAR_END)
409 #define SID_ANCHOR_PAGE         (DRAW_BAR_START+24)
410 #define SID_ANCHOR_CELL         (DRAW_BAR_START+25)
411 #define SID_ANCHOR_CELL_RESIZE  (DRAW_BAR_START+26)
412 #define SID_ANCHOR_TOGGLE       (DRAW_BAR_START+27)
413 #define SID_ORIGINALSIZE        (DRAW_BAR_START+28)
414 #define SID_FITCELLSIZE         (DRAW_BAR_START+29)
416 #define DRAW_BAR_END            (DRAW_BAR_START+50)
418 #define DRAWTEXTBAR_START       (DRAW_BAR_END)
419 #define DRAWTEXTBAR_END         (DRAWTEXTBAR_START+20)
421 #define DETECTIVE_START         (DRAWTEXTBAR_END)
422 #define SID_DETECTIVE_ADD_PRED  (DETECTIVE_START)
423 #define SID_DETECTIVE_DEL_PRED  (DETECTIVE_START+1)
424 #define SID_DETECTIVE_ADD_SUCC  (DETECTIVE_START+2)
425 #define SID_DETECTIVE_DEL_SUCC  (DETECTIVE_START+3)
426 #define SID_DETECTIVE_ADD_ERR   (DETECTIVE_START+4)
427 #define SID_DETECTIVE_DEL_ALL   (DETECTIVE_START+5)
429 #define SID_DETECTIVE_FILLMODE  (DETECTIVE_START+6)
430 #define SID_FILL_ADD_PRED       (DETECTIVE_START+7)
431 #define SID_FILL_DEL_PRED       (DETECTIVE_START+8)
432 #define SID_FILL_ADD_SUCC       (DETECTIVE_START+9)
433 #define SID_FILL_DEL_SUCC       (DETECTIVE_START+10)
434 #define SID_FILL_NONE           (DETECTIVE_START+11)
435 #define SID_FILL_SELECT         (DETECTIVE_START+12)
437 #define SID_DETECTIVE_INVALID   (DETECTIVE_START+13)
439 #define SID_DETECTIVE_REFRESH   (DETECTIVE_START+14)
440 #define SID_DETECTIVE_AUTO      (DETECTIVE_START+15)
442 #define SID_DETECTIVE_MARK_PRED (DETECTIVE_START+16)
443 #define SID_DETECTIVE_MARK_SUCC (DETECTIVE_START+17)
445 #define DETECTIVE_END           (DETECTIVE_START+20)
447 #define SID_API_SLOTS           (DETECTIVE_END)
448 #define SID_INSERT_MATRIX       (SID_API_SLOTS+1)
450 #define SID_DELETE_NOTE         (SID_API_SLOTS+2)
452 #define SID_PREVIEW_START       (SID_API_SLOTS+20)
453 #define SID_PREVIEW_NEXT        (SID_PREVIEW_START)
454 #define SID_PREVIEW_PREVIOUS    (SID_PREVIEW_START+1)
455 #define SID_PREVIEW_FIRST       (SID_PREVIEW_START+2)
456 #define SID_PREVIEW_LAST        (SID_PREVIEW_START+3)
457 #define SID_PREVIEW_CLOSE       (SID_PREVIEW_START+7)
458 #define SID_PREVIEW_MARGIN      (SID_PREVIEW_START+8)
459 #define SID_PREVIEW_SCALINGFACTOR   (SID_PREVIEW_START+9)
460 #define SID_PREVIEW_END         (SID_PREVIEW_START+20)
462 //from sfx: #define SID_KEYFUNC_START       (SID_PREVIEW_END+5)
463 // from SID_KEYFUNC_START + 0 to SID_KEYFUNC_START + 13 are defined in include/sfx2/sfxsids.hrc
464 #define SID_CURSORPAGELEFT_     (SID_KEYFUNC_START + 6)
465 #define SID_CURSORPAGERIGHT_    (SID_KEYFUNC_START + 8)
466 #define SID_CURSORBLKUP         (SID_KEYFUNC_START + 14)
467 #define SID_CURSORBLKDOWN       (SID_KEYFUNC_START + 15)
468 #define SID_CURSORBLKLEFT       (SID_KEYFUNC_START + 16)
469 #define SID_CURSORBLKRIGHT      (SID_KEYFUNC_START + 17)
470 #define SID_CURSORBLKUP_SEL     (SID_KEYFUNC_START + 18)
471 #define SID_CURSORBLKDOWN_SEL   (SID_KEYFUNC_START + 19)
472 #define SID_CURSORBLKLEFT_SEL   (SID_KEYFUNC_START + 20)
473 #define SID_CURSORBLKRIGHT_SEL  (SID_KEYFUNC_START + 21)
475 #define SID_NEXT_TABLE          (SID_KEYFUNC_START + 22)
476 #define SID_PREV_TABLE          (SID_KEYFUNC_START + 23)
478 #define SID_NEXT_UNPROTECT      (SID_KEYFUNC_START + 24)
479 #define SID_PREV_UNPROTECT      (SID_KEYFUNC_START + 25)
481 #define SID_SELECT_COL          (SID_KEYFUNC_START + 26)
482 #define SID_SELECT_ROW          (SID_KEYFUNC_START + 27)
483 #define SID_SELECT_NONE         (SID_KEYFUNC_START + 28)
484 #define SID_ALIGNCURSOR         (SID_KEYFUNC_START + 29)
485 #define SID_MARKDATAAREA        (SID_KEYFUNC_START + 30)
486 #define SID_SETINPUTMODE        (SID_KEYFUNC_START + 31)
487 #define SID_DELETE_CONTENTS     (SID_KEYFUNC_START + 32)
489 #define SID_MARKAREA            (SID_KEYFUNC_START + 33)
491 #define FID_FILL_AUTO           (SID_KEYFUNC_START + 35)
492 #define SID_CANCEL              (SID_KEYFUNC_START + 36)
494 #define SID_CURSORENTERUP       (SID_KEYFUNC_START + 37)
495 #define SID_CURSORENTERDOWN     (SID_KEYFUNC_START + 38)
497 #define SID_MARKARRAYFORMULA    (SID_KEYFUNC_START + 39)
499 #define SID_NEXT_TABLE_SEL      (SID_KEYFUNC_START + 40)
500 #define SID_PREV_TABLE_SEL      (SID_KEYFUNC_START + 41)
502 #define SID_ACCEPT_FORMULA      (SID_KEYFUNC_START + 42)
503 #define SID_START_FORMULA       (SID_KEYFUNC_START + 43)
505 #define SID_KEYFUNC_END         (SID_KEYFUNC_START + 50)
507 #define SID_NEW_SLOTS           (SID_KEYFUNC_END)
509 #define SID_NEW_TABLENAME       (SID_NEW_SLOTS+1)
510 #define SID_EXPORT_AS_GRAPHIC   (SID_NEW_SLOTS+2)
512 #define FID_MERGE_TOGGLE        (SID_NEW_SLOTS+10)
514 #define SID_RANGE_ROW           (SID_NEW_SLOTS+20)
515 #define SID_RANGE_COL           (SID_NEW_SLOTS+21)
516 #define SID_RANGE_TABLE         (SID_NEW_SLOTS+22)
517 // empty, was SID_RANGE_VALUE
518 #define SID_RANGE_FORMULA       (SID_NEW_SLOTS+24)
519 #define SID_RANGE_TEXTVALUE     (SID_NEW_SLOTS+26)
520 #define SID_TABLE_ACTIVATE      (SID_NEW_SLOTS+27)
522 #define SID_DEFINE_PRINTAREA        (SID_NEW_SLOTS+31)
523 #define SID_DELETE_PRINTAREA        (SID_NEW_SLOTS+32)
524 #define SID_CHANGE_PRINTAREA        (SID_NEW_SLOTS+33)
525 #define SID_OPENDLG_EDIT_PRINTAREA  (SID_NEW_SLOTS+34)
527 #define SID_OLE_ACTIVATE        (SID_NEW_SLOTS+36)
528 #define SID_OLE_DEACTIVATE      (SID_NEW_SLOTS+37)
530 #define SID_TOGGLE_REL          (SID_NEW_SLOTS+38)
531 #define SID_DATA_SELECT         (SID_NEW_SLOTS+39)
533 //  search & replace
534 #define FID_SEARCH              (SID_NEW_SLOTS+40)
535 #define FID_REPEAT_SEARCH       (SID_NEW_SLOTS+41)
536 #define FID_REPLACE             (SID_NEW_SLOTS+42)
537 #define FID_SEARCH_ALL          (SID_NEW_SLOTS+43)
538 #define FID_REPLACE_ALL         (SID_NEW_SLOTS+44)
539 #define FID_SEARCH_COUNT        (SID_NEW_SLOTS+45)
541 #define SID_SC_SETTEXT          (SID_NEW_SLOTS+46)
542 #define SID_RANGE_ADDRESS       (SID_NEW_SLOTS+47)
543 #define SID_NUMBER_FORMAT       (SID_NEW_SLOTS+49)
545 #define SID_OLE_SELECT          (SID_NEW_SLOTS+50)
547 #define FID_CURRENTVALIDATION   (SID_NEW_SLOTS+51)
548 #define SID_RANGE_NOTETEXT      (SID_NEW_SLOTS+52)
549 #define FID_INSERT_FILE         (SID_NEW_SLOTS+53)
551 #define FID_VALIDATION          (SID_NEW_SLOTS+54)
553 //  slots for toolbox controller in toolbar
554 #define SID_TBXCTL_INSERT       (SID_NEW_SLOTS+55)
555 #define SID_TBXCTL_INSCELLS     (SID_NEW_SLOTS+56)
557 #define SID_DEFINE_COLROWNAMERANGES (SID_NEW_SLOTS+58)
559 #define FID_NOTE_VISIBLE        (SID_NEW_SLOTS+59)
561 //  items for validation
562 #define FID_VALID_MODE          (SID_NEW_SLOTS+60)
563 #define FID_VALID_CONDMODE      (SID_NEW_SLOTS+61)
564 #define FID_VALID_VALUE1        (SID_NEW_SLOTS+62)
565 #define FID_VALID_VALUE2        (SID_NEW_SLOTS+63)
566 #define FID_VALID_BLANK         (SID_NEW_SLOTS+64)
567 #define FID_VALID_SHOWHELP      (SID_NEW_SLOTS+65)
568 #define FID_VALID_HELPTITLE     (SID_NEW_SLOTS+66)
569 #define FID_VALID_HELPTEXT      (SID_NEW_SLOTS+67)
570 #define FID_VALID_SHOWERR       (SID_NEW_SLOTS+68)
571 #define FID_VALID_ERRSTYLE      (SID_NEW_SLOTS+69)
572 #define FID_VALID_ERRTITLE      (SID_NEW_SLOTS+70)
573 #define FID_VALID_ERRTEXT       (SID_NEW_SLOTS+71)
575 #define SID_REFRESH_DBAREA      (SID_NEW_SLOTS+72)
577 #define FID_FOCUS_POSWND        (SID_NEW_SLOTS+74)
579 #define FID_DEL_MANUALBREAKS    (SID_NEW_SLOTS+79)
580 #define SID_ADD_PRINTAREA       (SID_NEW_SLOTS+80)
581 #define FID_ADJUST_PRINTZOOM    (SID_NEW_SLOTS+81)
582 #define FID_RESET_PRINTZOOM     (SID_NEW_SLOTS+82)
584 #define SID_TABLES_COUNT        (SID_NEW_SLOTS+83)
585 #define SID_ACTIVE_OBJ_NAME     (SID_NEW_SLOTS+84)
586 #define SID_OBJECT_LEFT         (SID_NEW_SLOTS+85)
587 #define SID_OBJECT_TOP          (SID_NEW_SLOTS+86)
588 #define SID_OBJECT_WIDTH        (SID_NEW_SLOTS+87)
589 #define SID_OBJECT_HEIGHT       (SID_NEW_SLOTS+88)
591 #define SID_DELETE_SCENARIO     (SID_NEW_SLOTS+95)
592 #define SID_EDIT_SCENARIO       (SID_NEW_SLOTS+96)
593 #define SID_INSERT_FIELD_SHEET  (SID_NEW_SLOTS+97)
594 #define SID_INSERT_FIELD_TITLE  (SID_NEW_SLOTS+98)
595 #define SID_INSERT_FIELD_DATE_VAR (SID_NEW_SLOTS+99)
597 #define FID_SHOW_NOTE           (SID_NEW_SLOTS+100)
598 #define FID_HIDE_NOTE           (SID_NEW_SLOTS+101)
599 #define FID_SHOW_ALL_NOTES      (SID_NEW_SLOTS+102)
600 #define FID_HIDE_ALL_NOTES      (SID_NEW_SLOTS+103)
601 #define FID_DELETE_ALL_NOTES    (SID_NEW_SLOTS+104)
602 #define SID_SCATTR_CELLPROTECTION    (SID_NEW_SLOTS+105)
603 #define SID_SELECT_UNPROTECTED_CELLS (SID_NEW_SLOTS+106)
604 #define SID_SELECT_VISIBLE_ROWS      (SID_NEW_SLOTS+107)
605 #define SID_SELECT_VISIBLE_COLUMNS   (SID_NEW_SLOTS+108)
606 #define SID_CURRENT_FORMULA_RANGE    (SID_NEW_SLOTS+109)
608 #define SID_INSERT_SPARKLINE        (SID_NEW_SLOTS+110)
609 #define SID_DELETE_SPARKLINE        (SID_NEW_SLOTS+111)
610 #define SID_EDIT_SPARKLINE_GROUP    (SID_NEW_SLOTS+112)
611 #define SID_DELETE_SPARKLINE_GROUP  (SID_NEW_SLOTS+113)
612 #define SID_GROUP_SPARKLINES        (SID_NEW_SLOTS+114)
613 #define SID_UNGROUP_SPARKLINES      (SID_NEW_SLOTS+115)
614 #define SID_EDIT_SPARKLINE          (SID_NEW_SLOTS+116)
616 // idl parameter
618 #define SID_SORT_BYROW          (SC_PARAM_START)
619 #define SID_SORT_HASHEADER      (SC_PARAM_START+1)
620 #define SID_SORT_CASESENS       (SC_PARAM_START+2)
621 #define SID_SORT_ATTRIBS        (SC_PARAM_START+3)
622 #define SID_SORT_USERDEF        (SC_PARAM_START+4)
623 #define SID_SORT_NATURALSORT    (SC_PARAM_START+5)
624 #define SID_SORT_INCCOMMENTS    (SC_PARAM_START+6)
625 #define SID_SORT_INCIMAGES      (SC_PARAM_START+7)
627 // Sidebar -------------------------------------------------------------
629 #define SID_PROPERTY_PANEL_CELLTEXT_DLG (SC_SIDEBAR_PROPERTY_BEGIN+0)
630 #define SID_NUMBER_TYPE_FORMAT          (SC_SIDEBAR_PROPERTY_BEGIN+1)
632 // resources
634 #define SID_DATA_FORM           (SC_RESOURCE_START+15) // menu (in Data menu)
635 #define SID_INSERT_CURRENT_DATE (SC_RESOURCE_START+16)
636 #define SID_INSERT_CURRENT_TIME (SC_RESOURCE_START+17)
637 #define FID_TAB_TOGGLE_GRID     (SC_RESOURCE_START+18) // toggle sheet grid
638 #define WID_SIMPLE_REF          (SC_RESOURCE_START+20)
640 #endif
642 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */