summaryrefslogtreecommitdiff
path: root/sc/sdi/cellsh.sdi
blob: 6e39cda9a7c3c541b5e1809e931afaf334ac307f (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
/*
 * 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 .
 */


interface CellSelection
{
    // slots which are disabled in the DrawShell {
    FID_DEFINE_NAME             [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_DEFINE_CURRENT_NAME     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_ADD_NAME                [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DEFINE_COLROWNAMERANGES [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_OPENDLG_SOLVE           [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_OPENDLG_OPTSOLVER       [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_OPENDLG_PIVOTTABLE      [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_OPENDLG_TABOP           [ ExecMethod = Execute; StateMethod = GetBlockState; ]
    SID_FILTER                  [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_SPECIAL_FILTER          [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_DEFINE_DBNAME           [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_OPENDLG_CONSOLIDATE     [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_VIEW_DATA_SOURCE_BROWSER [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_OPENDLG_FUNCTION        [ ExecMethod = Execute; StateMethod = GetCellState; ]
    SID_INS_FUNCTION            [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]

    // no Exec/StateMethod needed, but SfxDispatcher complains if the slot is not included in the shell
    SID_VALIDITY_REFERENCE []

    // database operations {
    SID_SORT_ASCENDING      [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_SORT_DESCENDING     [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_REIMPORT_DATA       [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_REFRESH_DBAREA      [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_SBA_BRW_INSERT      [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_SELECT_DB           [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_DATA_STREAMS        [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_DATA_STREAMS_PLAY   [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_DATA_STREAMS_STOP   [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_DATA_PROVIDER       [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_DATA_PROVIDER_REFRESH [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_MANAGE_XML_SOURCE   [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_SORT                [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_DATA_FORM           [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    FID_FILTER_OK           [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_AUTO_FILTER         [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_AUTOFILTER_HIDE     [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_UNFILTER            [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_SUBTOTALS           [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    SID_PIVOT_TABLE         [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
    FID_VALIDATION          [ ExecMethod = ExecuteDB; StateMethod = GetBlockState; ]
    FID_CURRENTVALIDATION   [ ExecMethod = ExecuteDB; StateMethod = GetBlockState; ]
    SID_TEXT_TO_COLUMNS     [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]

    // } database operations


    SID_RANGE_ADDRESS   [ StateMethod = GetState; ]

    SID_HYPERLINK_SETLINK   [ ExecMethod = ExecuteEdit; ]
    SID_HYPERLINK_GETLINK   [ StateMethod = GetHLinkState; ]
    SID_UPDATECHART         [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]

    SID_RANGE_ROW           [ StateMethod = GetState; ]
    SID_RANGE_COL           [ StateMethod = GetState; ]
    SID_RANGE_TABLE         [ StateMethod = GetState; ]
    SID_RANGE_FORMULA       [ StateMethod = GetState; ]
    SID_RANGE_TEXTVALUE     [ StateMethod = GetState; ]
    SID_RANGE_NOTETEXT      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]

    SID_ENTER_STRING        [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_INSERT_MATRIX       [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_MARKAREA            [ ExecMethod = Execute; ]
    SID_SELECT_SCENARIO     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_CELL_FORMAT         [ ExecMethod = Execute; StateMethod = GetBlockState; ]
    SID_ENABLE_HYPHENATION  [ ExecMethod = Execute; StateMethod = GetBlockState; ]
    SID_PROPERTY_PANEL_CELLTEXT_DLG [ ExecMethod = Execute;]
    SID_CELL_FORMAT_BORDER  [ ExecMethod = Execute; ]
    SID_CHAR_DLG_EFFECT     [ ExecMethod = Execute; ]
    FID_ROW_HEIGHT          [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_ROW_OPT_HEIGHT      [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_ROW_HIDE            [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_ROW_SHOW            [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_COL_WIDTH           [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_COL_OPT_WIDTH       [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_COL_OPT_DIRECT      [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_COL_HIDE            [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_COL_SHOW            [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_AUTOFORMAT          [ ExecMethod = Execute; StateMethod = GetBlockState; ]
    SID_SOLVE               [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_SCENARIOS           [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_DETECTIVE_ADD_PRED  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DETECTIVE_DEL_PRED  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DETECTIVE_ADD_SUCC  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DETECTIVE_DEL_SUCC  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DETECTIVE_ADD_ERR   [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DETECTIVE_INVALID   [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DETECTIVE_REFRESH   [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DETECTIVE_MARK_PRED [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DETECTIVE_MARK_SUCC [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_INSERT_CURRENT_DATE     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_INSERT_CURRENT_TIME     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_INS_ROW             [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_INS_COLUMN          [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_INS_ROWS_BEFORE     [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_INS_COLUMNS_BEFORE  [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_INS_ROWS_AFTER      [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_INS_COLUMNS_AFTER   [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_INS_CELLSDOWN       [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_INS_CELLSRIGHT      [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_DEL_ROWS            [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_DEL_COLS            [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_INS_CELL            [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_DELETE_CELL         [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_INS_CELL_CONTENTS   [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_CELL_FORMAT_RESET   [ ExecMethod = Execute; StateMethod = GetBlockState; ]

    SfxVoidItem Delete SID_DELETE
    (
        SfxStringItem Flags SID_DELETE
    )
    [
        ExecMethod = ExecuteEdit ;
        StateMethod = GetBlockState ;
        GroupId = SfxGroupId::Edit ;  //FS
        MenuConfig , AccelConfig ;
    ]
    SID_DELETE_CONTENTS [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_INS_ROWBRK      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_INS_COLBRK      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_DEL_ROWBRK      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_DEL_COLBRK      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_FILL_TO_BOTTOM  [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_FILL_TO_RIGHT   [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_FILL_TO_TOP     [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_FILL_TO_LEFT    [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_FILL_TAB        [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_FILL_SERIES     [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_FILL_AUTO       [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_FILL_SINGLE_EDIT [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_RANDOM_NUMBER_GENERATOR_DIALOG  [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_SAMPLING_DIALOG                 [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_DESCRIPTIVE_STATISTICS_DIALOG   [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_ANALYSIS_OF_VARIANCE_DIALOG     [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_CORRELATION_DIALOG              [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_COVARIANCE_DIALOG               [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_EXPONENTIAL_SMOOTHING_DIALOG    [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_REGRESSION_DIALOG               [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_MOVING_AVERAGE_DIALOG           [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_TTEST_DIALOG                    [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_FTEST_DIALOG                    [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_ZTEST_DIALOG                    [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_CHI_SQUARE_TEST_DIALOG          [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_FOURIER_ANALYSIS_DIALOG         [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_SEARCH_RESULTS_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_MARKDATAAREA    [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_MARKARRAYFORMULA [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_SETINPUTMODE    [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_FOCUS_INPUTLINE [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_CUT             [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_COPY            [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_COPYDELETE      [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_PASTE           [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
    SID_PASTE_SPECIAL   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
    SID_PASTE_UNFORMATTED [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
    SID_PASTE_ONLY_TEXT   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
    SID_PASTE_ONLY_FORMULA   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
    SID_PASTE_ONLY_VALUE   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
    SID_PASTE_TRANSPOSED   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
    SID_PASTE_AS_LINK   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
    SID_PASTE_TEXTIMPORT_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
    SID_CLIPBOARD_FORMAT_ITEMS  [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
    SID_EXTERNAL_SOURCE [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_COPY_HYPERLINK_LOCATION [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_EDIT_HYPERLINK [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_REMOVE_HYPERLINK [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    FID_MERGE_ON        [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_MERGE_OFF       [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_MERGE_TOGGLE    [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_OUTLINE_HIDE    [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_OUTLINE_SHOW    [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_OUTLINE_MAKE    [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_OUTLINE_REMOVE  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_INPUTLINE_STATUS    [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_INPUTLINE_ENTER     [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_INPUTLINE_BLOCK     [ ExecMethod = Execute; StateMethod = GetState; ]
    FID_INPUTLINE_MATRIX    [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_CHARMAP [ ExecMethod = ExecuteEdit; StateMethod = GetCellState; ]
    SID_CHARMAP_CONTROL [ ExecMethod = ExecuteEdit; StateMethod = GetCellState; ]

    SID_INSERT_POSTIT   [ ExecMethod = ExecuteEdit; StateMethod = GetCellState; ]
    SID_EDIT_POSTIT
    [
        ExecMethod = ExecuteEdit; StateMethod = GetCellState;
        FastCall, ToolBoxConfig, MenuConfig, AccelConfig;
    ]

    SID_TABOP                           [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_CONSOLIDATE                     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_INSERT_NAME                     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_USE_NAME                        [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_CANCEL                          [ ExecMethod = Execute; ]
    SID_ACCEPT_FORMULA                  [ ExecMethod = Execute; ]
    SID_START_FORMULA                   [ ExecMethod = Execute; ]
    SID_TOGGLE_REL                      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_POPUP_CONDFRMT                  []
    SID_POPUP_EASY_CONDITIONAL_FORMAT   []
    SfxVoidItem ConditionalFormatEasy SID_EASY_CONDITIONAL_FORMAT_DIALOG
    (
        SfxInt16Item FormatRule FN_PARAM_1,
        SfxBoolItem  Managed FN_PARAM_2,
        SfxInt32Item FormatKey FN_PARAM_3,
        SfxInt32Item EntryIndex FN_PARAM_4,
        SfxStringItem Formula FN_PARAM_5
    )
    [
        ExecMethod = Execute;
        StateMethod = GetState;
    ]
    SID_COLUMN_OPERATIONS               [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_ROW_OPERATIONS                  [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_OPENDLG_CURRENTCONDFRMT         [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_OPENDLG_CONDFRMT                [ ExecMethod = ExecuteEdit; ]
    SID_OPENDLG_COLORSCALE              [ ExecMethod = ExecuteEdit; ]
    SID_OPENDLG_DATABAR                 [ ExecMethod = ExecuteEdit; ]
    SID_OPENDLG_ICONSET                 [ ExecMethod = ExecuteEdit; ]
    SID_OPENDLG_CONDDATE                [ ExecMethod = ExecuteEdit; ]
    SID_OPENDLG_CONDFRMT_MANAGER        [ ExecMethod = ExecuteEdit; ]
    SID_OPENDLG_CURRENTCONDFRMT_MANAGER [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_NOTE_VISIBLE                    [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_HIDE_NOTE                       [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_SHOW_NOTE                       [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_TOGGLE_NOTES                    [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_HIDE_ALL_NOTES                  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_SHOW_ALL_NOTES                  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    FID_DELETE_ALL_NOTES                [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DELETE_NOTE                     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_DEC_INDENT                      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_INC_INDENT                      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_SELECT_UNPROTECTED_CELLS        [ ExecMethod = ExecuteEdit;]
    SID_SELECT_VISIBLE_ROWS             [ ExecMethod = ExecuteEdit;]
    SID_SELECT_VISIBLE_COLUMNS          [ ExecMethod = ExecuteEdit;]
    SID_CURRENT_FORMULA_RANGE           [ ExecMethod = ExecuteEdit;]
    SID_INSERT_SPARKLINE                [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_DELETE_SPARKLINE                [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_EDIT_SPARKLINE_GROUP            [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_EDIT_SPARKLINE                  [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_DELETE_SPARKLINE_GROUP          [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_GROUP_SPARKLINES                [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
    SID_UNGROUP_SPARKLINES              [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]

    SID_THESAURUS   [ ExecMethod = ExecuteEdit; StateMethod = GetCellState; ]
    SID_SPELL_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
    SID_HANGUL_HANJA_CONVERSION [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
        SID_CHINESE_CONVERSION          [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]

    SID_CONVERT_FORMULA_TO_VALUE [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]

    SID_TRANSLITERATE_SENTENCE_CASE [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
    SID_TRANSLITERATE_TITLE_CASE    [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
    SID_TRANSLITERATE_TOGGLE_CASE   [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
    SID_TRANSLITERATE_ROTATE_CASE   [ ExecMethod = ExecuteRotateTrans; StateMethod = GetBlockState; ]
    SID_TRANSLITERATE_UPPER     [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
    SID_TRANSLITERATE_LOWER     [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
    SID_TRANSLITERATE_HALFWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
    SID_TRANSLITERATE_FULLWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
    SID_TRANSLITERATE_HIRAGANA  [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
    SID_TRANSLITERATE_KATAKANA  [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
    SID_AUTO_SUM  [ ExecMethod = ExecuteEdit; ]
}


interface CellMovement
{
    SID_NEXT_TABLE
    [
        ExecMethod = ExecuteMove ;
        StateMethod = GetStateCursor ;
    ]

    SID_PREV_TABLE
    [
        ExecMethod = ExecuteMove ;
        StateMethod = GetStateCursor ;
    ]

    SID_NEXT_TABLE_SEL
    [
        ExecMethod = ExecuteMove ;
        StateMethod = GetStateCursor ;
    ]

    SID_PREV_TABLE_SEL
    [
        ExecMethod = ExecuteMove ;
        StateMethod = GetStateCursor ;
    ]

    SfxVoidItem GoDown SID_CURSORDOWN
    (
        SfxInt16Item By FN_PARAM_1,
        SfxBoolItem  Sel FN_PARAM_2
    )
    [
        ExecMethod = ExecuteCursor ;
        StateMethod = GetStateCursor ;
    ]

    SfxVoidItem GoDownSel SID_CURSORDOWN_SEL
    (
        SfxInt16Item By FN_PARAM_1
    )
    [
        ExecMethod = ExecuteCursorSel ;
        StateMethod = GetStateCursor ;
    ]
    SID_CURSORBLKDOWN       [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
    SID_CURSORBLKDOWN_SEL   [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]

    SfxVoidItem GoUp SID_CURSORUP
    (
        SfxInt16Item By FN_PARAM_1,
        SfxBoolItem  Sel FN_PARAM_2
    )
    [
        ExecMethod = ExecuteCursor ;
        StateMethod = GetStateCursor ;
    ]
    SID_CURSORUP_SEL    [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
    SID_CURSORBLKUP     [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
    SID_CURSORBLKUP_SEL [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]

    SfxVoidItem GoLeft SID_CURSORLEFT
    (
        SfxInt16Item By FN_PARAM_1,
        SfxBoolItem  Sel FN_PARAM_2
    )
    [
        ExecMethod = ExecuteCursor ;
        StateMethod = GetStateCursor ;
    ]
    SID_CURSORLEFT_SEL      [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
    SID_CURSORBLKLEFT       [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
    SID_CURSORBLKLEFT_SEL   [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]

    SfxVoidItem GoRight SID_CURSORRIGHT
    (
        SfxInt16Item By FN_PARAM_1,
        SfxBoolItem  Sel FN_PARAM_2
    )
    [
        ExecMethod = ExecuteCursor ;
        StateMethod = GetStateCursor ;
    ]

    SID_CURSORRIGHT_SEL     [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
    SID_CURSORBLKRIGHT      [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
    SID_CURSORBLKRIGHT_SEL  [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
    SID_NEXT_UNPROTECT  [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_PREV_UNPROTECT  [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_CURSORENTERDOWN [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_CURSORENTERUP   [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]

    SfxVoidItem GoDownBlock SID_CURSORPAGEDOWN
    (
        SfxInt16Item By FN_PARAM_1,
        SfxBoolItem  Sel FN_PARAM_2
    )
    [
        ExecMethod = ExecuteCursor ;
        StateMethod = GetStateCursor ;
    ]
    SID_CURSORPAGEDOWN_SEL  [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]

    SfxVoidItem GoUpBlock SID_CURSORPAGEUP
    (
        SfxInt16Item By FN_PARAM_1,
        SfxBoolItem  Sel FN_PARAM_2
    )
    [
        ExecMethod = ExecuteCursor ;
        StateMethod = GetStateCursor ;
    ]
    SID_CURSORPAGEUP_SEL    [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
    SID_CURSORPAGELEFT_     [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
    SID_CURSORPAGELEFT_SEL  [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
    SID_CURSORPAGERIGHT_    [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
    SID_CURSORPAGERIGHT_SEL [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
    SID_ALIGNCURSOR         [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]

    SfxVoidItem GoToEndOfData SID_CURSORENDOFFILE
    (
        SfxBoolItem  Sel FN_PARAM_2 //XXX
    )
    [
        ExecMethod = ExecutePage ;
        StateMethod = GetStateCursor ;
    ]
    SID_CURSORENDOFFILE_SEL [ ExecMethod = ExecutePageSel; StateMethod = GetStateCursor; ]

    SfxVoidItem GoToStart SID_CURSORTOPOFFILE
    (
        SfxBoolItem  Sel FN_PARAM_2 //XXX
    )
    [
        ExecMethod = ExecutePage ;
        StateMethod = GetStateCursor ;
    ]
    SID_CURSORTOPOFSCREEN   [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_CURSORENDOFSCREEN   [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]

    SfxVoidItem GoToStartOfRow SID_CURSORHOME
    (
        SfxBoolItem Sel FN_PARAM_2
    )
    [
        ExecMethod = ExecutePage ;
        StateMethod = GetStateCursor ;
    ]

    SID_CURSOREND   [ ExecMethod = ExecutePage; StateMethod = GetStateCursor; ]
    SID_CURSORTOPOFFILE_SEL [ ExecMethod = ExecutePageSel; StateMethod = GetStateCursor; ]
    SID_CURSORHOME_SEL      [ ExecMethod = ExecutePageSel; StateMethod = GetStateCursor; ]
    SID_CURSOREND_SEL       [ ExecMethod = ExecutePageSel; StateMethod = GetStateCursor; ]
    SID_SELECT_COL  [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_SELECT_ROW  [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_SELECT_NONE [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
    SID_SELECTALL   [ ExecMethod = Execute;     StateMethod = GetState;       ]
    SID_STATUS_SUM      [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_STATUS_DOCPOS   [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_ROWCOL_SELCOUNT [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_STATUS_SELMODE  [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_STATUS_SELMODE_ERG  [ ExecMethod = Execute; ]
    SID_STATUS_SELMODE_ERW  [ ExecMethod = Execute; ]
    SID_STATUS_SELMODE_NORM [ ExecMethod = Execute; ]
    SID_ATTR_SIZE       [ StateMethod = GetState; ]
    SID_ATTR_POSITION   [ StateMethod = GetState; ]
    SID_TABLE_CELL
    [
        // "table cell" should not appear in change dialog
        StateMethod = GetState ;
    ]
    SID_DATA_SELECT         [ ExecMethod = Execute; StateMethod = GetState; ]
    SID_DETECTIVE_FILLMODE  [ ExecMethod = Execute; StateMethod = GetState; ] // api:

    FID_MOVE_KEEP_INSERT_MODE [ ExecMethod = Execute; ]
}


interface Cell
{
    import CellSelection;
    import CellMovement;
}


shell ScCellShell : ScFormatShell
{
    import Cell;
}