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 */
18
19
20interface TableSelection
21{
22    SID_DELETE_PRINTAREA        [ ExecMethod = Execute; StateMethod = GetState; ]
23    SID_OPENDLG_EDIT_PRINTAREA  [ ExecMethod = Execute; StateMethod = GetState; ]
24    SID_CHANGE_PRINTAREA        [ ExecMethod = Execute; ]
25    FID_DEL_MANUALBREAKS        [ ExecMethod = Execute; StateMethod = GetState; ]
26    FID_RESET_PRINTZOOM         [ ExecMethod = Execute; StateMethod = GetState; ]
27    UINT16 Index FID_TAB_INDEX ()
28    FID_PROTECT_TABLE       [ ExecMethod = Execute; StateMethod = GetState; ]
29    FID_PROTECT_DOC         [ ExecMethod = Execute; StateMethod = GetState; ]
30
31    SID_AUTO_OUTLINE        [ ExecMethod = Execute; StateMethod = GetState; ]
32    SID_OUTLINE_DELETEALL   [ ExecMethod = Execute; StateMethod = GetState; ]
33    SID_FORMATPAGE          [ ExecMethod = Execute; StateMethod = GetState; ]
34    SID_HFEDIT              [ ExecMethod = Execute; StateMethod = GetState; ]
35    SID_DETECTIVE_DEL_ALL   [ ExecMethod = Execute; StateMethod = GetState; ]
36    FID_TABLE_VISIBLE   [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
37    FID_TAB_MOVE        [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
38    FID_DELETE_TABLE    [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
39    FID_TAB_RENAME      [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
40    FID_TAB_RTL         [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
41    FID_TAB_SET_TAB_BG_COLOR    [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
42    FID_TAB_TOGGLE_GRID [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
43
44    SID_TABLE_ACTIVATE  [ ExecMethod = Execute; ]
45}
46
47
48
49interface TableDocument
50{
51    SID_OPEN_CALC   [ ExecMethod = Execute; StateMethod = GetState; ]
52    SID_SBA_IMPORT  [ ExecMethod = Execute; StateMethod = GetState; ]
53    SID_SC_SETTEXT  [ ExecMethod = Execute; StateMethod = GetState; ]
54    SID_TABLES_COUNT    [ StateMethod = GetState; ]
55    SID_ATTR_YEAR2000   [ StateMethod = GetState; ExecMethod = Execute; ]
56    SID_CHART_SOURCE    [ ExecMethod = Execute; ]
57    SID_CHART_ADDSOURCE [ ExecMethod = Execute; ]
58    FID_AUTO_CALC   [ ExecMethod = Execute; StateMethod = GetState; ]
59    FID_RECALC      [ ExecMethod = Execute; StateMethod = GetState; ]
60    FID_HARD_RECALC [ ExecMethod = Execute; StateMethod = GetState; ]
61    SID_UPDATETABLINKS      [ ExecMethod = Execute; ]
62    SID_REIMPORT_AFTER_LOAD [ ExecMethod = Execute; ]
63    SID_AUTO_STYLE          [ ExecMethod = Execute; ]
64
65    SID_GET_COLORLIST       [ ExecMethod = Execute; ]
66
67    FID_CHG_RECORD          [ ExecMethod = Execute; StateMethod = GetState; ]
68    SID_DOCUMENT_COMPARE    [ ExecMethod = Execute; StateMethod = GetState; ]
69    SID_DOCUMENT_MERGE      [ ExecMethod = Execute; StateMethod = GetState; ]
70    SID_CHG_PROTECT         [ ExecMethod = Execute; StateMethod = GetState; ]
71
72    SID_DELETE_SCENARIO     [ ExecMethod = Execute; ]
73    SID_EDIT_SCENARIO       [ ExecMethod = Execute; ]
74    SID_ATTR_CHAR_FONTLIST  [ StateMethod = GetState; ]
75    SID_SHARE_DOC           [ ExecMethod = Execute; StateMethod = GetState; ]
76    SID_NOTEBOOKBAR         [ ExecMethod = Execute; StateMethod = GetState; ]
77    SID_LANGUAGE_STATUS     [ ExecMethod = Execute; StateMethod = GetState; ]
78}
79
80
81
82shell ScDocShell
83{
84        import TableDocument;
85}
86