Avoid potential negative array index access to cached text.
[LibreOffice.git] / sc / sdi / cellsh.sdi
blob7370d142607e251b0cd1710810d52e9b4c746399
1 /*
2  * This file is part of the LibreOffice project.
3  *
4  * This Source Code Form is subject to the terms of the Mozilla Public
5  * License, v. 2.0. If a copy of the MPL was not distributed with this
6  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7  *
8  * This file incorporates work covered by the following license notice:
9  *
10  *   Licensed to the Apache Software Foundation (ASF) under one or more
11  *   contributor license agreements. See the NOTICE file distributed
12  *   with this work for additional information regarding copyright
13  *   ownership. The ASF licenses this file to you under the Apache
14  *   License, Version 2.0 (the "License"); you may not use this file
15  *   except in compliance with the License. You may obtain a copy of
16  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
17  */
20 interface CellSelection
22     // slots which are disabled in the DrawShell {
23     FID_DEFINE_NAME             [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
24     FID_DEFINE_CURRENT_NAME     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
25     FID_ADD_NAME                [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
26     SID_DEFINE_COLROWNAMERANGES [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
27     SID_OPENDLG_SOLVE           [ ExecMethod = Execute; StateMethod = GetState; ]
28     SID_OPENDLG_OPTSOLVER       [ ExecMethod = Execute; StateMethod = GetState; ]
29     SID_OPENDLG_PIVOTTABLE      [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
30     SID_OPENDLG_TABOP           [ ExecMethod = Execute; StateMethod = GetBlockState; ]
31     SID_FILTER                  [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
32     SID_SPECIAL_FILTER          [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
33     SID_DEFINE_DBNAME           [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
34     SID_OPENDLG_CONSOLIDATE     [ ExecMethod = Execute; StateMethod = GetState; ]
35     SID_VIEW_DATA_SOURCE_BROWSER [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
36     SID_OPENDLG_FUNCTION        [ ExecMethod = Execute; StateMethod = GetCellState; ]
37     SID_INS_FUNCTION            [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
39     // no Exec/StateMethod needed, but SfxDispatcher complains if the slot is not included in the shell
40     SID_VALIDITY_REFERENCE []
42     // database operations {
43     SID_SORT_ASCENDING      [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
44     SID_SORT_DESCENDING     [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
45     SID_REIMPORT_DATA       [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
46     SID_REFRESH_DBAREA      [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
47     SID_SBA_BRW_INSERT      [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
48     SID_SELECT_DB           [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
49     SID_DATA_STREAMS        [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
50     SID_DATA_STREAMS_PLAY   [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
51     SID_DATA_STREAMS_STOP   [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
52     SID_DATA_PROVIDER       [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
53     SID_DATA_PROVIDER_REFRESH [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
54     SID_MANAGE_XML_SOURCE   [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
55     SID_SORT                [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
56     SID_DATA_FORM           [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
57     FID_FILTER_OK           [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
58     SID_AUTO_FILTER         [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
59     SID_AUTOFILTER_HIDE     [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
60     SID_UNFILTER            [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
61     SID_SUBTOTALS           [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
62     SID_PIVOT_TABLE         [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
63     FID_VALIDATION          [ ExecMethod = ExecuteDB; StateMethod = GetBlockState; ]
64     FID_CURRENTVALIDATION   [ ExecMethod = ExecuteDB; StateMethod = GetState; ]
65     SID_TEXT_TO_COLUMNS     [ ExecMethod = ExecuteDB; StateMethod = GetDBState; ]
67     // } database operations
70     SID_RANGE_ADDRESS   [ StateMethod = GetState; ]
72     SID_HYPERLINK_SETLINK   [ ExecMethod = ExecuteEdit; ]
73     SID_HYPERLINK_GETLINK   [ StateMethod = GetHLinkState; ]
74     SID_UPDATECHART         [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
76     SID_RANGE_ROW           [ StateMethod = GetState; ]
77     SID_RANGE_COL           [ StateMethod = GetState; ]
78     SID_RANGE_TABLE         [ StateMethod = GetState; ]
79     SID_RANGE_FORMULA       [ StateMethod = GetState; ]
80     SID_RANGE_TEXTVALUE     [ StateMethod = GetState; ]
81     SID_RANGE_NOTETEXT      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
83     SID_ENTER_STRING        [ ExecMethod = Execute; StateMethod = GetState; ]
84     SID_INSERT_MATRIX       [ ExecMethod = Execute; StateMethod = GetState; ]
85     SID_MARKAREA            [ ExecMethod = Execute; ]
86     SID_SELECT_SCENARIO     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
87     FID_CELL_FORMAT         [ ExecMethod = Execute; StateMethod = GetBlockState; ]
88     SID_ENABLE_HYPHENATION  [ ExecMethod = Execute; StateMethod = GetBlockState; ]
89     SID_PROPERTY_PANEL_CELLTEXT_DLG [ ExecMethod = Execute;]
90     SID_CELL_FORMAT_BORDER  [ ExecMethod = Execute; ]
91     SID_CHAR_DLG_EFFECT     [ ExecMethod = Execute; ]
92     FID_ROW_HEIGHT          [ ExecMethod = Execute; StateMethod = GetState; ]
93     FID_ROW_OPT_HEIGHT      [ ExecMethod = Execute; StateMethod = GetState; ]
94     FID_ROW_HIDE            [ ExecMethod = Execute; StateMethod = GetState; ]
95     FID_ROW_SHOW            [ ExecMethod = Execute; StateMethod = GetState; ]
96     FID_COL_WIDTH           [ ExecMethod = Execute; StateMethod = GetState; ]
97     FID_COL_OPT_WIDTH       [ ExecMethod = Execute; StateMethod = GetState; ]
98     FID_COL_OPT_DIRECT      [ ExecMethod = Execute; StateMethod = GetState; ]
99     FID_COL_HIDE            [ ExecMethod = Execute; StateMethod = GetState; ]
100     FID_COL_SHOW            [ ExecMethod = Execute; StateMethod = GetState; ]
101     SID_AUTOFORMAT          [ ExecMethod = Execute; StateMethod = GetBlockState; ]
102     SID_SOLVE               [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
103     SID_SCENARIOS           [ ExecMethod = Execute; StateMethod = GetState; ]
104     SID_DETECTIVE_ADD_PRED  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
105     SID_DETECTIVE_DEL_PRED  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
106     SID_DETECTIVE_ADD_SUCC  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
107     SID_DETECTIVE_DEL_SUCC  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
108     SID_DETECTIVE_ADD_ERR   [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
109     SID_DETECTIVE_INVALID   [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
110     SID_DETECTIVE_REFRESH   [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
111     SID_DETECTIVE_MARK_PRED [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
112     SID_DETECTIVE_MARK_SUCC [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
113     SID_INSERT_CURRENT_DATE     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
114     SID_INSERT_CURRENT_TIME     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
115     FID_INS_ROW             [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
116     FID_INS_COLUMN          [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
117     FID_INS_ROWS_BEFORE     [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
118     FID_INS_COLUMNS_BEFORE  [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
119     FID_INS_ROWS_AFTER      [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
120     FID_INS_COLUMNS_AFTER   [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
121     FID_INS_CELLSDOWN       [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
122     FID_INS_CELLSRIGHT      [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
123     SID_DEL_ROWS            [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
124     SID_DEL_COLS            [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
125     FID_INS_CELL            [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
126     FID_DELETE_CELL         [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
127     FID_INS_CELL_CONTENTS   [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
128     SID_CELL_FORMAT_RESET   [ ExecMethod = Execute; StateMethod = GetBlockState; ]
130     SfxVoidItem Delete SID_DELETE
131     (
132         SfxStringItem Flags SID_DELETE
133     )
134     [
135         ExecMethod = ExecuteEdit ;
136         StateMethod = GetBlockState ;
137         GroupId = SfxGroupId::Edit ;  //FS
138         MenuConfig , AccelConfig ;
139     ]
140     SID_DELETE_CONTENTS [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
141     FID_INS_ROWBRK      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
142     FID_INS_COLBRK      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
143     FID_DEL_ROWBRK      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
144     FID_DEL_COLBRK      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
145     FID_FILL_TO_BOTTOM  [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
146     FID_FILL_TO_RIGHT   [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
147     FID_FILL_TO_TOP     [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
148     FID_FILL_TO_LEFT    [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
149     FID_FILL_TAB        [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
150     FID_FILL_SERIES     [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
151     FID_FILL_AUTO       [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
152     FID_FILL_SINGLE_EDIT [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
153     SID_RANDOM_NUMBER_GENERATOR_DIALOG  [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
154     SID_SAMPLING_DIALOG                 [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
155     SID_DESCRIPTIVE_STATISTICS_DIALOG   [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
156     SID_ANALYSIS_OF_VARIANCE_DIALOG     [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
157     SID_CORRELATION_DIALOG              [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
158     SID_COVARIANCE_DIALOG               [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
159     SID_EXPONENTIAL_SMOOTHING_DIALOG    [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
160     SID_REGRESSION_DIALOG               [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
161     SID_MOVING_AVERAGE_DIALOG           [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
162     SID_TTEST_DIALOG                    [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
163     SID_FTEST_DIALOG                    [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
164     SID_ZTEST_DIALOG                    [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
165     SID_CHI_SQUARE_TEST_DIALOG          [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
166     SID_FOURIER_ANALYSIS_DIALOG         [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
167     SID_SEARCH_RESULTS_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
168     SID_MARKDATAAREA    [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
169     SID_MARKARRAYFORMULA [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
170     SID_SETINPUTMODE    [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
171     SID_FOCUS_INPUTLINE [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
172     SID_CUT             [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
173     SID_COPY            [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
174     SID_PASTE           [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
175     SID_PASTE_SPECIAL   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
176     SID_PASTE_UNFORMATTED [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
177     SID_PASTE_ONLY_TEXT   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
178     SID_PASTE_ONLY_FORMULA   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
179     SID_PASTE_ONLY_VALUE   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
180     SID_PASTE_TRANSPOSED   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
181     SID_PASTE_AS_LINK   [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
182     SID_PASTE_TEXTIMPORT_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
183     SID_CLIPBOARD_FORMAT_ITEMS  [ ExecMethod = ExecuteEdit; StateMethod = GetClipState; ]
184     SID_EXTERNAL_SOURCE [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
185     FID_MERGE_ON        [ ExecMethod = Execute; StateMethod = GetState; ]
186     FID_MERGE_OFF       [ ExecMethod = Execute; StateMethod = GetState; ]
187     FID_MERGE_TOGGLE    [ ExecMethod = Execute; StateMethod = GetState; ]
188     SID_OUTLINE_HIDE    [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
189     SID_OUTLINE_SHOW    [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
190     SID_OUTLINE_MAKE    [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
191     SID_OUTLINE_REMOVE  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
192     FID_INPUTLINE_STATUS    [ ExecMethod = Execute; StateMethod = GetState; ]
193     FID_INPUTLINE_ENTER     [ ExecMethod = Execute; StateMethod = GetState; ]
194     FID_INPUTLINE_BLOCK     [ ExecMethod = Execute; StateMethod = GetState; ]
195     FID_INPUTLINE_MATRIX    [ ExecMethod = Execute; StateMethod = GetState; ]
196     SID_CHARMAP [ ExecMethod = ExecuteEdit; StateMethod = GetCellState; ]
197     SID_CHARMAP_CONTROL [ ExecMethod = ExecuteEdit; StateMethod = GetCellState; ]
199     SID_INSERT_POSTIT   [ ExecMethod = ExecuteEdit; StateMethod = GetCellState; ]
200     SID_EDIT_POSTIT
201     [
202         ExecMethod = ExecuteEdit; StateMethod = GetCellState;
203         FastCall, ToolBoxConfig, MenuConfig, AccelConfig;
204     ]
206     SID_TABOP                           [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
207     SID_CONSOLIDATE                     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
208     FID_INSERT_NAME                     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
209     FID_USE_NAME                        [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
210     SID_CANCEL                          [ ExecMethod = Execute; ]
211     SID_ACCEPT_FORMULA                  [ ExecMethod = Execute; ]
212     SID_START_FORMULA                   [ ExecMethod = Execute; ]
213     SID_TOGGLE_REL                      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
214     SID_POPUP_CONDFRMT                  []
215     SID_POPUP_EASY_CONDITIONAL_FORMAT   []
216     SfxVoidItem ConditionalFormatEasy SID_EASY_CONDITIONAL_FORMAT_DIALOG
217     (
218         SfxInt16Item FormatRule FN_PARAM_1
219     )
220     [
221         ExecMethod = Execute;
222         StateMethod = GetState;
223     ]
224     SID_COLUMN_OPERATIONS               [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
225     SID_ROW_OPERATIONS                  [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
226     SID_OPENDLG_CURRENTCONDFRMT         [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
227     SID_OPENDLG_CONDFRMT                [ ExecMethod = ExecuteEdit; ]
228     SID_OPENDLG_COLORSCALE              [ ExecMethod = ExecuteEdit; ]
229     SID_OPENDLG_DATABAR                 [ ExecMethod = ExecuteEdit; ]
230     SID_OPENDLG_ICONSET                 [ ExecMethod = ExecuteEdit; ]
231     SID_OPENDLG_CONDDATE                [ ExecMethod = ExecuteEdit; ]
232     SID_OPENDLG_CONDFRMT_MANAGER        [ ExecMethod = ExecuteEdit; ]
233     SID_OPENDLG_CURRENTCONDFRMT_MANAGER [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
234     FID_NOTE_VISIBLE                    [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
235     FID_HIDE_NOTE                       [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
236     FID_SHOW_NOTE                       [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
237     SID_TOGGLE_NOTES                    [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
238     FID_HIDE_ALL_NOTES                  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
239     FID_SHOW_ALL_NOTES                  [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
240     FID_DELETE_ALL_NOTES                [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
241     SID_DELETE_NOTE                     [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
242     SID_DEC_INDENT                      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
243     SID_INC_INDENT                      [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
244     SID_SELECT_UNPROTECTED_CELLS        [ ExecMethod = ExecuteEdit;]
245     SID_SELECT_VISIBLE_ROWS             [ ExecMethod = ExecuteEdit;]
246     SID_SELECT_VISIBLE_COLUMNS          [ ExecMethod = ExecuteEdit;]
247     SID_CURRENT_FORMULA_RANGE           [ ExecMethod = ExecuteEdit;]
248     SID_INSERT_SPARKLINE                [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
249     SID_DELETE_SPARKLINE                [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
250     SID_EDIT_SPARKLINE_GROUP            [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
251     SID_EDIT_SPARKLINE                  [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
252     SID_DELETE_SPARKLINE_GROUP          [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
253     SID_GROUP_SPARKLINES                [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
254     SID_UNGROUP_SPARKLINES              [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
256     SID_THESAURUS   [ ExecMethod = ExecuteEdit; StateMethod = GetCellState; ]
257     SID_SPELL_DIALOG [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
258     SID_HANGUL_HANJA_CONVERSION [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
259         SID_CHINESE_CONVERSION          [ ExecMethod = ExecuteEdit; StateMethod = GetState; ]
261     SID_CONVERT_FORMULA_TO_VALUE [ ExecMethod = ExecuteEdit; StateMethod = GetBlockState; ]
263     SID_TRANSLITERATE_SENTENCE_CASE [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
264     SID_TRANSLITERATE_TITLE_CASE    [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
265     SID_TRANSLITERATE_TOGGLE_CASE   [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
266     SID_TRANSLITERATE_ROTATE_CASE   [ ExecMethod = ExecuteRotateTrans; StateMethod = GetBlockState; ]
267     SID_TRANSLITERATE_UPPER     [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
268     SID_TRANSLITERATE_LOWER     [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
269     SID_TRANSLITERATE_HALFWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
270     SID_TRANSLITERATE_FULLWIDTH [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
271     SID_TRANSLITERATE_HIRAGANA  [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
272     SID_TRANSLITERATE_KATAKANA  [ ExecMethod = ExecuteTrans; StateMethod = GetBlockState; ]
273     SID_AUTO_SUM  [ ExecMethod = ExecuteEdit; ]
277 interface CellMovement
279     SID_NEXT_TABLE
280     [
281         ExecMethod = ExecuteMove ;
282         StateMethod = GetStateCursor ;
283     ]
285     SID_PREV_TABLE
286     [
287         ExecMethod = ExecuteMove ;
288         StateMethod = GetStateCursor ;
289     ]
291     SID_NEXT_TABLE_SEL
292     [
293         ExecMethod = ExecuteMove ;
294         StateMethod = GetStateCursor ;
295     ]
297     SID_PREV_TABLE_SEL
298     [
299         ExecMethod = ExecuteMove ;
300         StateMethod = GetStateCursor ;
301     ]
303     SfxVoidItem GoDown SID_CURSORDOWN
304     (
305         SfxInt16Item By FN_PARAM_1,
306         SfxBoolItem  Sel FN_PARAM_2
307     )
308     [
309         ExecMethod = ExecuteCursor ;
310         StateMethod = GetStateCursor ;
311     ]
313     SfxVoidItem GoDownSel SID_CURSORDOWN_SEL
314     (
315         SfxInt16Item By FN_PARAM_1
316     )
317     [
318         ExecMethod = ExecuteCursorSel ;
319         StateMethod = GetStateCursor ;
320     ]
321     SID_CURSORBLKDOWN       [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
322     SID_CURSORBLKDOWN_SEL   [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
324     SfxVoidItem GoUp SID_CURSORUP
325     (
326         SfxInt16Item By FN_PARAM_1,
327         SfxBoolItem  Sel FN_PARAM_2
328     )
329     [
330         ExecMethod = ExecuteCursor ;
331         StateMethod = GetStateCursor ;
332     ]
333     SID_CURSORUP_SEL    [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
334     SID_CURSORBLKUP     [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
335     SID_CURSORBLKUP_SEL [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
337     SfxVoidItem GoLeft SID_CURSORLEFT
338     (
339         SfxInt16Item By FN_PARAM_1,
340         SfxBoolItem  Sel FN_PARAM_2
341     )
342     [
343         ExecMethod = ExecuteCursor ;
344         StateMethod = GetStateCursor ;
345     ]
346     SID_CURSORLEFT_SEL      [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
347     SID_CURSORBLKLEFT       [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
348     SID_CURSORBLKLEFT_SEL   [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
350     SfxVoidItem GoRight SID_CURSORRIGHT
351     (
352         SfxInt16Item By FN_PARAM_1,
353         SfxBoolItem  Sel FN_PARAM_2
354     )
355     [
356         ExecMethod = ExecuteCursor ;
357         StateMethod = GetStateCursor ;
358     ]
360     SID_CURSORRIGHT_SEL     [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
361     SID_CURSORBLKRIGHT      [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
362     SID_CURSORBLKRIGHT_SEL  [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
363     SID_NEXT_UNPROTECT  [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
364     SID_PREV_UNPROTECT  [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
365     SID_CURSORENTERDOWN [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
366     SID_CURSORENTERUP   [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
368     SfxVoidItem GoDownBlock SID_CURSORPAGEDOWN
369     (
370         SfxInt16Item By FN_PARAM_1,
371         SfxBoolItem  Sel FN_PARAM_2
372     )
373     [
374         ExecMethod = ExecuteCursor ;
375         StateMethod = GetStateCursor ;
376     ]
377     SID_CURSORPAGEDOWN_SEL  [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
379     SfxVoidItem GoUpBlock SID_CURSORPAGEUP
380     (
381         SfxInt16Item By FN_PARAM_1,
382         SfxBoolItem  Sel FN_PARAM_2
383     )
384     [
385         ExecMethod = ExecuteCursor ;
386         StateMethod = GetStateCursor ;
387     ]
388     SID_CURSORPAGEUP_SEL    [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
389     SID_CURSORPAGELEFT_     [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
390     SID_CURSORPAGELEFT_SEL  [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
391     SID_CURSORPAGERIGHT_    [ ExecMethod = ExecuteCursor;    StateMethod = GetStateCursor; ]
392     SID_CURSORPAGERIGHT_SEL [ ExecMethod = ExecuteCursorSel; StateMethod = GetStateCursor; ]
393     SID_ALIGNCURSOR         [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
395     SfxVoidItem GoToEndOfData SID_CURSORENDOFFILE
396     (
397         SfxBoolItem  Sel FN_PARAM_2 //XXX
398     )
399     [
400         ExecMethod = ExecutePage ;
401         StateMethod = GetStateCursor ;
402     ]
403     SID_CURSORENDOFFILE_SEL [ ExecMethod = ExecutePageSel; StateMethod = GetStateCursor; ]
405     SfxVoidItem GoToStart SID_CURSORTOPOFFILE
406     (
407         SfxBoolItem  Sel FN_PARAM_2 //XXX
408     )
409     [
410         ExecMethod = ExecutePage ;
411         StateMethod = GetStateCursor ;
412     ]
413     SID_CURSORTOPOFSCREEN   [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
414     SID_CURSORENDOFSCREEN   [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
416     SfxVoidItem GoToStartOfRow SID_CURSORHOME
417     (
418         SfxBoolItem Sel FN_PARAM_2
419     )
420     [
421         ExecMethod = ExecutePage ;
422         StateMethod = GetStateCursor ;
423     ]
425     SID_CURSOREND   [ ExecMethod = ExecutePage; StateMethod = GetStateCursor; ]
426     SID_CURSORTOPOFFILE_SEL [ ExecMethod = ExecutePageSel; StateMethod = GetStateCursor; ]
427     SID_CURSORHOME_SEL      [ ExecMethod = ExecutePageSel; StateMethod = GetStateCursor; ]
428     SID_CURSOREND_SEL       [ ExecMethod = ExecutePageSel; StateMethod = GetStateCursor; ]
429     SID_SELECT_COL  [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
430     SID_SELECT_ROW  [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
431     SID_SELECT_NONE [ ExecMethod = ExecuteMove; StateMethod = GetStateCursor; ]
432     SID_SELECTALL   [ ExecMethod = Execute;     StateMethod = GetState;       ]
433     SID_STATUS_SUM      [ ExecMethod = Execute; StateMethod = GetState; ]
434     SID_STATUS_DOCPOS   [ ExecMethod = Execute; StateMethod = GetState; ]
435     SID_ROWCOL_SELCOUNT [ ExecMethod = Execute; StateMethod = GetState; ]
436     SID_STATUS_SELMODE  [ ExecMethod = Execute; StateMethod = GetState; ]
437     SID_STATUS_SELMODE_ERG  [ ExecMethod = Execute; ]
438     SID_STATUS_SELMODE_ERW  [ ExecMethod = Execute; ]
439     SID_STATUS_SELMODE_NORM [ ExecMethod = Execute; ]
440     SID_ATTR_SIZE       [ StateMethod = GetState; ]
441     SID_ATTR_POSITION   [ StateMethod = GetState; ]
442     SID_TABLE_CELL
443     [
444         // "table cell" should not appear in change dialog
445         StateMethod = GetState ;
446     ]
447     SID_DATA_SELECT         [ ExecMethod = Execute; StateMethod = GetState; ]
448     SID_DETECTIVE_FILLMODE  [ ExecMethod = Execute; StateMethod = GetState; ] // api:
450     FID_MOVE_KEEP_INSERT_MODE [ ExecMethod = Execute; ]
454 interface Cell
456     import CellSelection;
457     import CellMovement;
461 shell ScCellShell : ScFormatShell
463     import Cell;