summaryrefslogtreecommitdiffstats
path: root/sc/inc/sc.hrc
blob: f13b1fb78ab44f62139115aedd08a5ba0acb5e8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#ifndef SC_SC_HRC
#define SC_SC_HRC

#include <sfx2/sfxsids.hrc>
#include <svx/svxids.hrc>

// areas

#ifndef SC_VIEW_START // duplicated in sfx2/sfxsids.hrc
#define SC_VIEW_START           (SID_SC_START)
#endif
//      SC_VIEW_END             (SID_SC_START + 99)
#define SC_MESSAGE_START        (SID_SC_START + 100)
//      SC_MESSAGE_END          (SID_SC_START + 199)
#ifndef SC_FUNCTION_START // duplicated in sfx2/sfxsids.hrc
#define SC_FUNCTION_START       (SID_SC_START + 200)
#endif
//      SC_FUNCTION_END         (SID_SC_START + 299)
#define SC_PARAM_START          (SID_SC_START + 300)
//      SC_PARAM_END            (SID_SC_START + 399)
#define SC_SIDEBAR_PROPERTY_BEGIN   (SID_SC_START + 400)
//      SC_SIDEBAR_PROPERTY_END (SID_SC_START + 499)

//  stay compatible to the past
#define SC_RESOURCE_START       (RID_APP_START+5000)

// help IDs -
//  calc has a range of 2000 IDs
//  the functions need 11*90 = 990 IDs

#define HID_SC_SHEET_START      (HID_SC_START + 1010)
#define HID_SC_SHELL_START      (HID_SC_START + 1030)

// help IDs for templates
#define HID_SC_SHEET_CELL_STD   (HID_SC_SHEET_START +0 )
#define HID_SC_SHEET_CELL_ERG1  (HID_SC_SHEET_START +2 )
#define HID_SC_SHEET_PAGE_STD   (HID_SC_SHEET_START +10 )
#define HID_SC_SHEET_PAGE_REP   (HID_SC_SHEET_START +11 )

// view-functions (max. 100)
#define FID_SCALESTATUS         (SC_VIEW_START + 10)
#define SID_UPDATECHART         (SC_VIEW_START + 13)

// TabPage entry - Legacy selection
#define SID_SC_INPUT_LEGACY_CELL_SELECTION (SC_VIEW_START + 15)
#define SID_SC_OPT_SORT_REF_UPDATE         (SC_VIEW_START + 16)

// Format options
#define SID_SCFORMULAOPTIONS    (SC_VIEW_START + 20)
#define SID_SCDEFAULTSOPTIONS   (SC_VIEW_START + 21)


#define SID_DATA_PROVIDER       (SC_VIEW_START + 31)
#define SID_DATA_PROVIDER_REFRESH (SC_VIEW_START + 32)
#define SID_DATA_STREAMS_PLAY   (SC_VIEW_START + 33)
#define SID_DATA_STREAMS_STOP   (SC_VIEW_START + 34)
#define SID_DATA_STREAMS        (SC_VIEW_START + 35)

// slot-IDs for attributes
#define SID_SCATTR_PROTECTION   (SC_VIEW_START + 36)    // protection-page

// other slot-IDs:
#define SID_SCUSERLISTS         (SC_VIEW_START + 37)    // user defined lists
#define RES_TBX_DUMMY           (SC_VIEW_START + 38)    // dummy-item
#define SID_SCVIEWOPTIONS       (SC_VIEW_START + 39)
#define SID_SCDOCOPTIONS        (SC_VIEW_START + 40)

// cursor movements as properties:
#define SID_CURRENTCELL         (SC_VIEW_START + 41)
#define SID_CURRENTTAB          (SC_VIEW_START + 42)
#define SID_CURRENTDOC          (SC_VIEW_START + 43)
#define SID_CURRENTOBJECT       (SC_VIEW_START + 44)

// slot-IDs for special toolbox functions:
#define SID_NUMBER_CURRENCY     (SC_VIEW_START + 45)
#define SID_NUMBER_PERCENT      (SC_VIEW_START + 46)

// "slot" IDs for input images:
#define SID_INPUT_FUNCTION      (SC_VIEW_START + 47)
#define SID_INPUT_SUM           (SC_VIEW_START + 48)
#define SID_INPUT_EQUAL         (SC_VIEW_START + 49)
#define SID_INPUT_CANCEL        (SC_VIEW_START + 50)
#define SID_INPUT_OK            (SC_VIEW_START + 51)

#define SID_NUMBER_STANDARD     (SC_VIEW_START + 52)
#define SID_NUMBER_DATE         (SC_VIEW_START + 53)
#define SID_NUMBER_TWODEC       (SC_VIEW_START + 54)
#define SID_NUMBER_SCIENTIFIC   (SC_VIEW_START + 55)
#define SID_NUMBER_TIME         (SC_VIEW_START + 56)
#define SID_NUMBER_INCDEC       (SC_VIEW_START + 57)
#define SID_NUMBER_DECDEC       (SC_VIEW_START + 58)
#define SID_NUMBER_THOUSANDS    (SC_VIEW_START + 59)

// misc:
#define SID_LINKS               (SC_VIEW_START + 60)
#define SID_INSERT_SMATH        (SC_VIEW_START + 63)
#define SID_MIRROR_VERTICAL     (SC_VIEW_START + 65)
#define SID_MIRROR_HORIZONTAL   (SC_VIEW_START + 66)
#define SID_CELL_FORMAT_RESET   (SC_VIEW_START + 67)
#define SID_SCPRINTOPTIONS      (SC_VIEW_START + 68)
#define SID_WINDOW_SPLIT        (SC_VIEW_START + 69)
#define SID_WINDOW_FIX          (SC_VIEW_START + 70)
#define SID_DRAW_CHART          (SC_VIEW_START + 71)
#define SID_UPDATETABLINKS      (SC_VIEW_START + 72)

// TabPage entry
#define SID_SC_INPUT_SELECTION          (SC_VIEW_START + 73)
#define SID_SC_INPUT_SELECTIONPOS       (SC_VIEW_START + 74)
#define SID_SC_INPUT_EDITMODE           (SC_VIEW_START + 75)
#define SID_SC_INPUT_FMT_EXPAND         (SC_VIEW_START + 76)
#define SID_SC_INPUT_RANGEFINDER        (SC_VIEW_START + 77)
#define SID_SC_INPUT_REF_EXPAND         (SC_VIEW_START + 78)
#define SID_SC_INPUT_MARK_HEADER        (SC_VIEW_START + 79)

#define SID_REIMPORT_AFTER_LOAD (SC_VIEW_START + 80)
#define SID_DRAW_NOTEEDIT       (SC_VIEW_START + 81)

#define SID_CHOOSE_DESIGN       (SC_VIEW_START + 82)
#define SID_EURO_CONVERTER      (SC_VIEW_START + 83)
//See include/sfx2/sfxsids.hrc for reserved usage of (SC_VIEW_START + 84)
#define SID_EXTERNAL_SOURCE     (SC_VIEW_START + 85)

#define SID_SC_INPUT_TEXTWYSIWYG        (SC_VIEW_START + 86)

#define SID_ENABLE_HYPHENATION          (SC_VIEW_START + 87)

#define SID_RENAME_OBJECT               (SC_VIEW_START + 88)
#define SID_FOCUS_INPUTLINE             (SC_VIEW_START + 89)
#define SID_SELECT_TABLES               (SC_VIEW_START + 90)

// new entry "Filter..." in DP popup menu
#define SID_DP_FILTER                   (SC_VIEW_START + 91)

// replace cell contents warning
#define SID_SC_INPUT_REPLCELLSWARN      (SC_VIEW_START + 92)

// additional IDs for list/range validity
#define FID_VALID_LISTTYPE              (SC_VIEW_START + 93)

// #i68101# ID for changing title & description of an object
#define SID_TITLE_DESCRIPTION_OBJECT    (SC_VIEW_START + 94)

// #i59082# assign macro to shape
#define SID_ASSIGNMACRO                 (SC_VIEW_START + 95)

// #i66550# hyperlinks in shapes
#define SID_DRAW_HLINK_EDIT             (SC_VIEW_START + 96)
#define SID_DRAW_HLINK_DELETE           (SC_VIEW_START + 97)

// "Zoom / Synchronize sheets" in options dialog
#define SID_SC_OPT_SYNCZOOM             (SC_VIEW_START + 98)

#define SID_SC_OPT_KEY_BINDING_COMPAT   (SC_VIEW_START + 99)

// NOTE: last valid ID is (SC_VIEW_START + 99)

// messages

#define FID_INPUTLINE_STATUS    (SC_MESSAGE_START)
#define FID_INPUTLINE_ENTER     (SC_MESSAGE_START + 1)
#define FID_REPAINT             (SC_MESSAGE_START + 2)
#define SID_SOLVE               (SC_MESSAGE_START + 6)
#define FID_FILTER_OK           (SC_MESSAGE_START + 8)
#define FID_INPUTLINE_MATRIX    (SC_MESSAGE_START + 11)
#define SID_DLG_RETOK           (SC_MESSAGE_START + 12)
#define SID_STATUS_DOCPOS       (SC_MESSAGE_START + 14)
#define SID_STATUS_PAGESTYLE    (SC_MESSAGE_START + 15)
#define SID_STATUS_SELMODE      (SC_MESSAGE_START + 16)
#define SID_DLG_MATRIX          (SC_MESSAGE_START + 18)

#define SID_STATUS_SELMODE_ERG  (SC_MESSAGE_START + 22)
#define SID_STATUS_SELMODE_ERW  (SC_MESSAGE_START + 23)
#define SID_STATUS_SELMODE_NORM (SC_MESSAGE_START + 24)

#define SID_CHART_SOURCE        (SC_MESSAGE_START + 25)
#define SID_CHART_NAME          (SC_MESSAGE_START + 26)
#define SID_CHART_ADDSOURCE     (SC_MESSAGE_START + 27)

#define SID_AUTO_STYLE          (SC_MESSAGE_START + 28)

#define FID_INPUTLINE_BLOCK     (SC_MESSAGE_START + 29)

#define SID_STATUS_SUM          (SC_MESSAGE_START + 30)

#define SID_ENTER_STRING        (SC_MESSAGE_START + 37)
#define SID_ROWCOL_SELCOUNT     (SC_MESSAGE_START + 38)
#define SID_AUTO_SUM            (SC_MESSAGE_START + 39)

// messages for opening dialogs:
#define SID_OPENDLG_CONSOLIDATE             (SC_MESSAGE_START + 50)
#define SID_OPENDLG_PIVOTTABLE              (SC_MESSAGE_START + 51)
#define SID_OPENDLG_FUNCTION                (SC_MESSAGE_START + 52)
#define SID_OPENDLG_SOLVE                   (SC_MESSAGE_START + 53)
#define SID_OPENDLG_TABOP                   (SC_MESSAGE_START + 54)
#define SID_OPENDLG_CURRENTCONDFRMT         (SC_MESSAGE_START + 58)
#define SID_OPENDLG_CONDFRMT                (SC_MESSAGE_START + 59)
#define SID_OPENDLG_OPTSOLVER               (SC_MESSAGE_START + 60)
#define SID_VALIDITY_REFERENCE              (SC_MESSAGE_START + 61)
#define SID_OPENDLG_CONDFRMT_MANAGER        (SC_MESSAGE_START + 62)
#define SID_POPUP_CONDFRMT                  (SC_MESSAGE_START + 63)
#define SID_OPENDLG_CURRENTCONDFRMT_MANAGER (SC_MESSAGE_START + 64)
#define SID_OPENDLG_COLORSCALE              (SC_MESSAGE_START + 66)
#define SID_OPENDLG_DATABAR                 (SC_MESSAGE_START + 67)
#define SID_OPENDLG_ICONSET                 (SC_MESSAGE_START + 68)
#define SID_OPENDLG_CONDDATE                (SC_MESSAGE_START + 69)

#define SID_RANDOM_NUMBER_GENERATOR_DIALOG  (SC_MESSAGE_START + 70)
#define SID_SAMPLING_DIALOG                 (SC_MESSAGE_START + 71)
#define SID_DESCRIPTIVE_STATISTICS_DIALOG   (SC_MESSAGE_START + 72)
#define SID_ANALYSIS_OF_VARIANCE_DIALOG     (SC_MESSAGE_START + 73)
#define SID_CORRELATION_DIALOG              (SC_MESSAGE_START + 74)
#define SID_COVARIANCE_DIALOG               (SC_MESSAGE_START + 75)
#define SID_EXPONENTIAL_SMOOTHING_DIALOG    (SC_MESSAGE_START + 76)
#define SID_MOVING_AVERAGE_DIALOG           (SC_MESSAGE_START + 77)
#define SID_REGRESSION_DIALOG               (SC_MESSAGE_START + 78)
#define SID_TTEST_DIALOG                    (SC_MESSAGE_START + 79)
#define SID_FTEST_DIALOG                    (SC_MESSAGE_START + 80)
#define SID_ZTEST_DIALOG                    (SC_MESSAGE_START + 81)
#define SID_CHI_SQUARE_TEST_DIALOG          (SC_MESSAGE_START + 82)
#define SID_SEARCH_RESULTS_DIALOG           (SC_MESSAGE_START + 83)
#define SID_WINDOW_FIX_ROW                  (SC_MESSAGE_START + 84)
#define SID_WINDOW_FIX_COL                  (SC_MESSAGE_START + 85)
#define SID_COLUMN_OPERATIONS               (SC_MESSAGE_START + 86)
#define SID_ROW_OPERATIONS                  (SC_MESSAGE_START + 87)
#define SID_FOURIER_ANALYSIS_DIALOG         (SC_MESSAGE_START + 88)

// functions

#define SID_OPEN_CALC                   (SC_FUNCTION_START + 4)
#define SID_CONVERT_FORMULA_TO_VALUE    (SC_FUNCTION_START + 5)
#ifndef FILE_MENU_END // duplicated in sfx2/sfxsids.hrc
#define FILE_MENU_END                   (SC_FUNCTION_START + 20)
#endif

#ifndef EDIT_MENU_START // duplicated in sfx2/sfxsids.hrc
#define EDIT_MENU_START         (FILE_MENU_END)
#endif
#define FID_DELETE_CELL         (EDIT_MENU_START + 2)
#define FID_DELETE_TABLE        (EDIT_MENU_START + 3)
#define FID_FILL_TO_BOTTOM      (EDIT_MENU_START + 4)
#define FID_FILL_TO_RIGHT       (EDIT_MENU_START + 5)
#define FID_FILL_TO_TOP         (EDIT_MENU_START + 6)
#define FID_FILL_TO_LEFT        (EDIT_MENU_START + 7)
#define FID_FILL_TAB            (EDIT_MENU_START + 8)
#define FID_FILL_SERIES         (EDIT_MENU_START + 9)
#define FID_FILL_SINGLE_EDIT    (EDIT_MENU_START + 10)
#define SID_HFEDIT              (EDIT_MENU_START + 15)

#define SID_DEL_ROWS            (EDIT_MENU_START + 16)//JN
#define SID_DEL_COLS            (EDIT_MENU_START + 17)//JN
// EDIT_MENU_START + 18 is defined in include/sfx2/sfxsids.hrc
#define FID_CHG_SHOW            (EDIT_MENU_START + 19)

#define EDIT_MENU_END           (EDIT_MENU_START + 20)
#define VIEW_MENU_START         (EDIT_MENU_END)

#define FID_TOGGLEINPUTLINE     (VIEW_MENU_START + 1)
#define FID_TOGGLEHEADERS       (VIEW_MENU_START + 2)
#define FID_SCALE               (VIEW_MENU_START + 4)
#define FID_TOGGLESYNTAX        (VIEW_MENU_START + 5)
#define FID_PAGEBREAKMODE       (VIEW_MENU_START + 7)
#define FID_FUNCTION_BOX        (VIEW_MENU_START + 8)
#define FID_NORMALVIEWMODE      (VIEW_MENU_START + 9)
#define FID_TOGGLEFORMULA       (VIEW_MENU_START + 10)

#define FID_CHG_ACCEPT          (VIEW_MENU_START + 18)// DANGER DIRTY ID
#define FID_CHG_COMMENT         (VIEW_MENU_START + 19)// DANGER DIRTY ID
#define VIEW_MENU_END           (VIEW_MENU_START + 20)

#define INSERT_MENU_START       (VIEW_MENU_END)
#define FID_INS_ROWBRK          (INSERT_MENU_START + 1)
#define FID_INS_COLBRK          (INSERT_MENU_START + 2)
#define FID_DEL_ROWBRK          (INSERT_MENU_START + 3)
#define FID_DEL_COLBRK          (INSERT_MENU_START + 4)
#define FID_INS_CELL_CONTENTS   (INSERT_MENU_START + 5)
#define FID_INS_CELL            (INSERT_MENU_START + 6)
#define FID_INS_ROW             (INSERT_MENU_START + 7)
#define FID_INS_COLUMN          (INSERT_MENU_START + 8)
#define FID_INS_TABLE           (INSERT_MENU_START + 9)
#define SID_INS_FUNCTION        (INSERT_MENU_START + 10)
#define FID_DEFINE_NAME         (INSERT_MENU_START + 11)
#define FID_INSERT_NAME         (INSERT_MENU_START + 12)
#define FID_USE_NAME            (INSERT_MENU_START + 13)
#define FID_APPLY_NAME          (INSERT_MENU_START + 14)
#define FID_INS_TABLE_EXT       (INSERT_MENU_START + 15)
#define FID_ADD_NAME            (INSERT_MENU_START + 16)
#define FID_INS_CELLSDOWN       (INSERT_MENU_START + 18)
#define FID_INS_CELLSRIGHT      (INSERT_MENU_START + 19)
#define FID_INS_ROWS_AFTER      (INSERT_MENU_START + 20)
#define FID_INS_COLUMNS_AFTER   (INSERT_MENU_START + 21)
#define FID_INS_ROWS_BEFORE     (INSERT_MENU_START + 22)
#define FID_INS_COLUMNS_BEFORE  (INSERT_MENU_START + 23)
#define FID_DEFINE_CURRENT_NAME (INSERT_MENU_START + 24)
#define INSERT_MENU_END         (INSERT_MENU_START + 25)

#define FORMAT_MENU_START       (INSERT_MENU_END)
#define FID_CELL_FORMAT         (FORMAT_MENU_START)
#define FID_ROW_HEIGHT          (FORMAT_MENU_START + 1)
#define FID_ROW_OPT_HEIGHT      (FORMAT_MENU_START + 2)
#define FID_ROW_HIDE            (FORMAT_MENU_START + 3)
#define FID_ROW_SHOW            (FORMAT_MENU_START + 4)
#define FID_COL_WIDTH           (FORMAT_MENU_START + 5)
#define FID_COL_OPT_WIDTH       (FORMAT_MENU_START + 6)
#define FID_COL_HIDE            (FORMAT_MENU_START + 7)
#define FID_COL_SHOW            (FORMAT_MENU_START + 8)
#define FID_TABLE_HIDE          (FORMAT_MENU_START + 9)
#define FID_TABLE_SHOW          (FORMAT_MENU_START + 10)
#define FID_MERGE_ON            (FORMAT_MENU_START + 15)
#define FID_MERGE_OFF           (FORMAT_MENU_START + 16)
#define SID_FORMATPAGE          (FORMAT_MENU_START + 17)
#define SID_TEXT_STANDARD       (FORMAT_MENU_START + 18)
#define SID_DRAWTEXT_ATTR_DLG   (FORMAT_MENU_START + 19)
#define FID_TABLE_VISIBLE       (FORMAT_MENU_START + 20)
#define FID_COL_OPT_DIRECT      (FORMAT_MENU_START + 21)
#define FORMAT_MENU_END         (FORMAT_MENU_START + 22)

#define EXTRA_MENU_START        (FORMAT_MENU_END)
#define FID_AUTO_CALC           (EXTRA_MENU_START + 3)
#define FID_RECALC              (EXTRA_MENU_START + 4)
#define FID_PROTECT_TABLE       (EXTRA_MENU_START + 6)
#define FID_PROTECT_DOC         (EXTRA_MENU_START + 7)
#define SID_SHARE_DOC           (EXTRA_MENU_START + 11)
#define SID_SCENARIOS           (EXTRA_MENU_START + 12)
#define SID_PIVOT_RECALC        (EXTRA_MENU_START + 14)
#define SID_PIVOT_KILL          (EXTRA_MENU_START + 15)

#define FID_HARD_RECALC         (EXTRA_MENU_START + 18)
#define FID_AUTOCOMPLETE        (EXTRA_MENU_START + 19)

#define EXTRA_MENU_END          (EXTRA_MENU_START + 20)

#define DATA_MENU_START         (EXTRA_MENU_END)
#define SID_DEFINE_DBNAME       (DATA_MENU_START)
#define SID_SELECT_DB           (DATA_MENU_START + 1)
#define SID_SORT                (DATA_MENU_START + 2)
#define SID_FILTER              (DATA_MENU_START + 3)
#define SID_SPECIAL_FILTER      (DATA_MENU_START + 4)
#define SID_AUTO_FILTER         (DATA_MENU_START + 5)
#define SID_UNFILTER            (DATA_MENU_START + 6)
#define SID_QUERY               (DATA_MENU_START + 7)
#define SID_MANAGE_XML_SOURCE   (DATA_MENU_START + 8)
#define SID_SUBTOTALS           (DATA_MENU_START + 13)
#define SID_AUTO_OUTLINE        (DATA_MENU_START + 14)
#define SID_REIMPORT_DATA       (DATA_MENU_START + 16)
#define SID_PIVOT_TABLE         (DATA_MENU_START + 17)
#define SID_TABOP               (DATA_MENU_START + 18)
#define SID_TEXT_TO_COLUMNS     (DATA_MENU_START + 19)
#define SID_CONSOLIDATE         (DATA_MENU_START + 20)
#define SID_AUTOFILTER_HIDE     (DATA_MENU_START + 21)
#define SID_SBA_IMPORT          (DATA_MENU_START + 22)
#define SID_SORT_DESCENDING     (DATA_MENU_START + 23)
#define SID_SORT_ASCENDING      (DATA_MENU_START + 24)
#define SID_OUTLINE_HIDE        (DATA_MENU_START + 25)
#define SID_OUTLINE_SHOW        (DATA_MENU_START + 26)
#define SID_OUTLINE_MAKE        (DATA_MENU_START + 27)
#define SID_OUTLINE_REMOVE      (DATA_MENU_START + 28)

#define DATA_MENU_END           (DATA_MENU_START + 29)

#define TAB_POPUP_START         (DATA_MENU_END)
#define FID_TAB_MENU_RENAME     (TAB_POPUP_START)
#define FID_TAB_RENAME          (TAB_POPUP_START+1)
#define FID_TAB_MOVE            (TAB_POPUP_START+2)
#define FID_TAB_SELECTALL       (TAB_POPUP_START+3)
#define FID_TAB_APPEND          (TAB_POPUP_START+4)
#define FID_TAB_INDEX           (TAB_POPUP_START+5)
#define FID_TAB_RTL             (TAB_POPUP_START+6)
#define FID_TAB_DESELECTALL     (TAB_POPUP_START+7)
#define FID_TAB_MENU_SET_TAB_BG_COLOR (TAB_POPUP_START + 8)
#define FID_TAB_SET_TAB_BG_COLOR      (TAB_POPUP_START + 9)
#define FID_TAB_EVENTS          (TAB_POPUP_START+10)

#define TAB_POPUP_END           (TAB_POPUP_START + 20)

#define OBJBAR_FORMAT_START     (TAB_POPUP_END)
#define SID_ALIGNLEFT           (OBJBAR_FORMAT_START+6)
#define SID_ALIGNRIGHT          (OBJBAR_FORMAT_START+7)
#define SID_ALIGNCENTERHOR      (OBJBAR_FORMAT_START+8)
#define SID_ALIGNBLOCK          (OBJBAR_FORMAT_START+9)
#define SID_ALIGNTOP            (OBJBAR_FORMAT_START+10)
#define SID_ALIGNBOTTOM         (OBJBAR_FORMAT_START+11)
#define SID_ALIGNCENTERVER      (OBJBAR_FORMAT_START+12)
#define SID_SELECT_SCENARIO     (OBJBAR_FORMAT_START+13)

#define SID_V_ALIGNCELL         (OBJBAR_FORMAT_START+14)
#define SID_H_ALIGNCELL         (OBJBAR_FORMAT_START+15)

#define OBJBAR_FORMAT_END       (OBJBAR_FORMAT_START+20)

#define RID_INPUTBAR_START      (OBJBAR_FORMAT_END)
#define RID_INPUTBAR_END        (RID_INPUTBAR_START+1)

#define DRAW_BAR_START          (RID_INPUTBAR_END)
#define SID_ANCHOR_PAGE         (DRAW_BAR_START+24)
#define SID_ANCHOR_CELL         (DRAW_BAR_START+25)
#define SID_ANCHOR_CELL_RESIZE  (DRAW_BAR_START+26)
#define SID_ANCHOR_TOGGLE       (DRAW_BAR_START+27)
#define SID_ORIGINALSIZE        (DRAW_BAR_START+28)
#define SID_FITCELLSIZE         (DRAW_BAR_START+29)

#define DRAW_BAR_END            (DRAW_BAR_START+50)

#define DRAWTEXTBAR_START       (DRAW_BAR_END)
#define DRAWTEXTBAR_END         (DRAWTEXTBAR_START+20)

#define DETECTIVE_START         (DRAWTEXTBAR_END)
#define SID_DETECTIVE_ADD_PRED  (DETECTIVE_START)
#define SID_DETECTIVE_DEL_PRED  (DETECTIVE_START+1)
#define SID_DETECTIVE_ADD_SUCC  (DETECTIVE_START+2)
#define SID_DETECTIVE_DEL_SUCC  (DETECTIVE_START+3)
#define SID_DETECTIVE_ADD_ERR   (DETECTIVE_START+4)
#define SID_DETECTIVE_DEL_ALL   (DETECTIVE_START+5)

#define SID_DETECTIVE_FILLMODE  (DETECTIVE_START+6)
#define SID_FILL_ADD_PRED       (DETECTIVE_START+7)
#define SID_FILL_DEL_PRED       (DETECTIVE_START+8)
#define SID_FILL_ADD_SUCC       (DETECTIVE_START+9)
#define SID_FILL_DEL_SUCC       (DETECTIVE_START+10)
#define SID_FILL_NONE           (DETECTIVE_START+11)
#define SID_FILL_SELECT         (DETECTIVE_START+12)

#define SID_DETECTIVE_INVALID   (DETECTIVE_START+13)

#define SID_DETECTIVE_REFRESH   (DETECTIVE_START+14)
#define SID_DETECTIVE_AUTO      (DETECTIVE_START+15)

#define SID_DETECTIVE_MARK_PRED (DETECTIVE_START+16)
#define SID_DETECTIVE_MARK_SUCC (DETECTIVE_START+17)

#define DETECTIVE_END           (DETECTIVE_START+20)

#define SID_API_SLOTS           (DETECTIVE_END)
#define SID_INSERT_MATRIX       (SID_API_SLOTS+1)

#define SID_DELETE_NOTE         (SID_API_SLOTS+2)

#define SID_PREVIEW_START       (SID_API_SLOTS+20)
#define SID_PREVIEW_NEXT        (SID_PREVIEW_START)
#define SID_PREVIEW_PREVIOUS    (SID_PREVIEW_START+1)
#define SID_PREVIEW_FIRST       (SID_PREVIEW_START+2)
#define SID_PREVIEW_LAST        (SID_PREVIEW_START+3)
#define SID_PREVIEW_ZOOMIN      (SID_PREVIEW_START+5)
#define SID_PREVIEW_ZOOMOUT     (SID_PREVIEW_START+6)
#define SID_PREVIEW_CLOSE       (SID_PREVIEW_START+7)
#define SID_PREVIEW_MARGIN      (SID_PREVIEW_START+8)
#define SID_PREVIEW_SCALINGFACTOR   (SID_PREVIEW_START+9)
#define SID_PREVIEW_END         (SID_PREVIEW_START+20)

//from sfx: #define SID_KEYFUNC_START       (SID_PREVIEW_END+5)
// from SID_KEYFUNC_START + 0 to SID_KEYFUNC_START + 13 are defined in include/sfx2/sfxsids.hrc
#define SID_CURSORPAGELEFT_     (SID_KEYFUNC_START + 6)
#define SID_CURSORPAGERIGHT_    (SID_KEYFUNC_START + 8)
#define SID_CURSORBLKUP         (SID_KEYFUNC_START + 14)
#define SID_CURSORBLKDOWN       (SID_KEYFUNC_START + 15)
#define SID_CURSORBLKLEFT       (SID_KEYFUNC_START + 16)
#define SID_CURSORBLKRIGHT      (SID_KEYFUNC_START + 17)
#define SID_CURSORBLKUP_SEL     (SID_KEYFUNC_START + 18)
#define SID_CURSORBLKDOWN_SEL   (SID_KEYFUNC_START + 19)
#define SID_CURSORBLKLEFT_SEL   (SID_KEYFUNC_START + 20)
#define SID_CURSORBLKRIGHT_SEL  (SID_KEYFUNC_START + 21)

#define SID_NEXT_TABLE          (SID_KEYFUNC_START + 22)
#define SID_PREV_TABLE          (SID_KEYFUNC_START + 23)

#define SID_NEXT_UNPROTECT      (SID_KEYFUNC_START + 24)
#define SID_PREV_UNPROTECT      (SID_KEYFUNC_START + 25)

#define SID_SELECT_COL          (SID_KEYFUNC_START + 26)
#define SID_SELECT_ROW          (SID_KEYFUNC_START + 27)
#define SID_SELECT_NONE         (SID_KEYFUNC_START + 28)
#define SID_ALIGNCURSOR         (SID_KEYFUNC_START + 29)
#define SID_MARKDATAAREA        (SID_KEYFUNC_START + 30)
#define SID_SETINPUTMODE        (SID_KEYFUNC_START + 31)
#define SID_DELETE_CONTENTS     (SID_KEYFUNC_START + 32)

#define SID_MARKAREA            (SID_KEYFUNC_START + 33)

#define FID_FILL_AUTO           (SID_KEYFUNC_START + 35)
#define SID_CANCEL              (SID_KEYFUNC_START + 36)

#define SID_CURSORENTERUP       (SID_KEYFUNC_START + 37)
#define SID_CURSORENTERDOWN     (SID_KEYFUNC_START + 38)

#define SID_MARKARRAYFORMULA    (SID_KEYFUNC_START + 39)

#define SID_NEXT_TABLE_SEL      (SID_KEYFUNC_START + 40)
#define SID_PREV_TABLE_SEL      (SID_KEYFUNC_START + 41)

#define SID_KEYFUNC_END         (SID_KEYFUNC_START + 50)

#define SID_NEW_SLOTS           (SID_KEYFUNC_END)

#define SID_NEW_TABLENAME       (SID_NEW_SLOTS+1)
#define SID_EXPORT_AS_GRAPHIC   (SID_NEW_SLOTS+2)

#define FID_MERGE_TOGGLE        (SID_NEW_SLOTS+10)

#define SID_RANGE_ROW           (SID_NEW_SLOTS+20)
#define SID_RANGE_COL           (SID_NEW_SLOTS+21)
#define SID_RANGE_TABLE         (SID_NEW_SLOTS+22)
// empty, was SID_RANGE_VALUE
#define SID_RANGE_FORMULA       (SID_NEW_SLOTS+24)
#define SID_RANGE_TEXTVALUE     (SID_NEW_SLOTS+26)
#define SID_TABLE_ACTIVATE      (SID_NEW_SLOTS+27)

#define SID_DEFINE_PRINTAREA        (SID_NEW_SLOTS+31)
#define SID_DELETE_PRINTAREA        (SID_NEW_SLOTS+32)
#define SID_CHANGE_PRINTAREA        (SID_NEW_SLOTS+33)
#define SID_OPENDLG_EDIT_PRINTAREA  (SID_NEW_SLOTS+34)

#define SID_OLE_ACTIVATE        (SID_NEW_SLOTS+36)
#define SID_OLE_DEACTIVATE      (SID_NEW_SLOTS+37)

#define SID_TOGGLE_REL          (SID_NEW_SLOTS+38)
#define SID_DATA_SELECT         (SID_NEW_SLOTS+39)

//  search & replace
#define FID_SEARCH              (SID_NEW_SLOTS+40)
#define FID_REPEAT_SEARCH       (SID_NEW_SLOTS+41)
#define FID_REPLACE             (SID_NEW_SLOTS+42)
#define FID_SEARCH_ALL          (SID_NEW_SLOTS+43)
#define FID_REPLACE_ALL         (SID_NEW_SLOTS+44)
#define FID_SEARCH_COUNT        (SID_NEW_SLOTS+45)

#define SID_SC_SETTEXT          (SID_NEW_SLOTS+46)
#define SID_RANGE_ADDRESS       (SID_NEW_SLOTS+47)
#define SID_NUMBER_FORMAT       (SID_NEW_SLOTS+49)

#define SID_OLE_SELECT          (SID_NEW_SLOTS+50)

#define FID_CURRENTVALIDATION   (SID_NEW_SLOTS+51)
#define SID_RANGE_NOTETEXT      (SID_NEW_SLOTS+52)
#define FID_INSERT_FILE         (SID_NEW_SLOTS+53)

#define FID_VALIDATION          (SID_NEW_SLOTS+54)

//  slots for toolbox controller in toolbar
#define SID_TBXCTL_INSERT       (SID_NEW_SLOTS+55)
#define SID_TBXCTL_INSCELLS     (SID_NEW_SLOTS+56)

#define SID_DEFINE_COLROWNAMERANGES (SID_NEW_SLOTS+58)

#define FID_NOTE_VISIBLE        (SID_NEW_SLOTS+59)

//  items for validation
#define FID_VALID_MODE          (SID_NEW_SLOTS+60)
#define FID_VALID_CONDMODE      (SID_NEW_SLOTS+61)
#define FID_VALID_VALUE1        (SID_NEW_SLOTS+62)
#define FID_VALID_VALUE2        (SID_NEW_SLOTS+63)
#define FID_VALID_BLANK         (SID_NEW_SLOTS+64)
#define FID_VALID_SHOWHELP      (SID_NEW_SLOTS+65)
#define FID_VALID_HELPTITLE     (SID_NEW_SLOTS+66)
#define FID_VALID_HELPTEXT      (SID_NEW_SLOTS+67)
#define FID_VALID_SHOWERR       (SID_NEW_SLOTS+68)
#define FID_VALID_ERRSTYLE      (SID_NEW_SLOTS+69)
#define FID_VALID_ERRTITLE      (SID_NEW_SLOTS+70)
#define FID_VALID_ERRTEXT       (SID_NEW_SLOTS+71)

#define SID_REFRESH_DBAREA      (SID_NEW_SLOTS+72)

#define FID_FOCUS_POSWND        (SID_NEW_SLOTS+74)

#define FID_DEL_MANUALBREAKS    (SID_NEW_SLOTS+79)
#define SID_ADD_PRINTAREA       (SID_NEW_SLOTS+80)
#define FID_ADJUST_PRINTZOOM    (SID_NEW_SLOTS+81)
#define FID_RESET_PRINTZOOM     (SID_NEW_SLOTS+82)

#define SID_TABLES_COUNT        (SID_NEW_SLOTS+83)
#define SID_ACTIVE_OBJ_NAME     (SID_NEW_SLOTS+84)
#define SID_OBJECT_LEFT         (SID_NEW_SLOTS+85)
#define SID_OBJECT_TOP          (SID_NEW_SLOTS+86)
#define SID_OBJECT_WIDTH        (SID_NEW_SLOTS+87)
#define SID_OBJECT_HEIGHT       (SID_NEW_SLOTS+88)

#define SID_DELETE_SCENARIO     (SID_NEW_SLOTS+95)
#define SID_EDIT_SCENARIO       (SID_NEW_SLOTS+96)
#define SID_INSERT_FIELD_SHEET  (SID_NEW_SLOTS+97)
#define SID_INSERT_FIELD_TITLE  (SID_NEW_SLOTS+98)
#define SID_INSERT_FIELD_DATE_VAR (SID_NEW_SLOTS+99)

#define FID_SHOW_NOTE           (SID_NEW_SLOTS+100)
#define FID_HIDE_NOTE           (SID_NEW_SLOTS+101)
#define FID_SHOW_ALL_NOTES      (SID_NEW_SLOTS+102)
#define FID_HIDE_ALL_NOTES      (SID_NEW_SLOTS+103)
#define FID_DELETE_ALL_NOTES    (SID_NEW_SLOTS+104)
#define SID_SCATTR_CELLPROTECTION    (SID_NEW_SLOTS+105)
#define SID_SELECT_UNPROTECTED_CELLS (SID_NEW_SLOTS+106)

// idl parameter

#define SID_SORT_BYROW          (SC_PARAM_START)
#define SID_SORT_HASHEADER      (SC_PARAM_START+1)
#define SID_SORT_CASESENS       (SC_PARAM_START+2)
#define SID_SORT_ATTRIBS        (SC_PARAM_START+3)
#define SID_SORT_USERDEF        (SC_PARAM_START+4)
#define SID_SORT_NATURALSORT    (SC_PARAM_START+5)
#define SID_SORT_INCCOMMENTS    (SC_PARAM_START+6)
#define SID_SORT_INCIMAGES      (SC_PARAM_START+7)

// Sidebar -------------------------------------------------------------

#define SID_PROPERTY_PANEL_CELLTEXT_DLG (SC_SIDEBAR_PROPERTY_BEGIN+0)
#define SID_NUMBER_TYPE_FORMAT          (SC_SIDEBAR_PROPERTY_BEGIN+1)

// resources

#define SID_DATA_FORM           (SC_RESOURCE_START+15) // menu (in Data menu)
#define SID_INSERT_CURRENT_DATE (SC_RESOURCE_START+16)
#define SID_INSERT_CURRENT_TIME (SC_RESOURCE_START+17)
#define FID_TAB_TOGGLE_GRID     (SC_RESOURCE_START+18) // toggle sheet grid
#define WID_SIMPLE_REF          (SC_RESOURCE_START+20)

#endif

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */