merge the formfield patch from ooo-build
[ooovba.git] / sc / sdi / docsh.sdi
blobe780e11cf28b11838364fd6ab15171955dfd1965
1 /*************************************************************************
2  *
3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4  * 
5  * Copyright 2008 by Sun Microsystems, Inc.
6  *
7  * OpenOffice.org - a multi-platform office productivity suite
8  *
9  * $RCSfile: docsh.sdi,v $
10  * $Revision: 1.11 $
11  *
12  * This file is part of OpenOffice.org.
13  *
14  * OpenOffice.org is free software: you can redistribute it and/or modify
15  * it under the terms of the GNU Lesser General Public License version 3
16  * only, as published by the Free Software Foundation.
17  *
18  * OpenOffice.org is distributed in the hope that it will be useful,
19  * but WITHOUT ANY WARRANTY; without even the implied warranty of
20  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21  * GNU Lesser General Public License version 3 for more details
22  * (a copy is included in the LICENSE file that accompanied this code).
23  *
24  * You should have received a copy of the GNU Lesser General Public License
25  * version 3 along with OpenOffice.org.  If not, see
26  * <http://www.openoffice.org/license.html>
27  * for a copy of the LGPLv3 License.
28  *
29  ************************************************************************/
31  //============================================================================
32 interface TableSelection
34     uuid = "BA338A41-064E-11d0-89CB-008029E4B0B1" ;
37     SID_DELETE_PRINTAREA                [ ExecMethod = Execute; StateMethod = GetState; ]
38     SID_OPENDLG_EDIT_PRINTAREA  [ ExecMethod = Execute; StateMethod = GetState; ]
39     SID_CHANGE_PRINTAREA                [ ExecMethod = Execute; ]
40     FID_DEL_MANUALBREAKS                [ ExecMethod = Execute; StateMethod = GetState; ]
41     FID_RESET_PRINTZOOM                 [ ExecMethod = Execute; StateMethod = GetState; ]
42     SbxObject Cells SID_SC_CELLS
43     (
44         INT16   Column          SID_SC_CELLS,
45         INT32   Row                     FN_PARAM_1
46     )
47     [
48     ]
49     UINT16 Index FID_TAB_INDEX
50     [
51         Readonly ;
52     ]
53     FID_PROTECT_TABLE           [ ExecMethod = Execute; StateMethod = GetState; ]
54     FID_PROTECT_DOC                     [ ExecMethod = Execute; StateMethod = GetState; ]
56     SID_AUTO_OUTLINE            [ ExecMethod = Execute; StateMethod = GetState; ]
57     SID_OUTLINE_DELETEALL       [ ExecMethod = Execute; StateMethod = GetState; ]
58     SID_FORMATPAGE                      [ ExecMethod = Execute; StateMethod = GetState; ]
59     SID_HFEDIT                          [ ExecMethod = Execute; StateMethod = GetState; ]
60     SID_DETECTIVE_DEL_ALL       [ ExecMethod = Execute; StateMethod = GetState; ]
61     FID_TABLE_VISIBLE   [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
62     FID_TAB_MOVE                [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
63     FID_DELETE_TABLE    [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
64     FID_TAB_RENAME              [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
65     FID_TAB_RTL                 [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
66     FID_TAB_SET_TAB_BG_COLOR    [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
67     FID_TAB_TOGGLE_GRID [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
69     SID_TABLE_ACTIVATE  [ ExecMethod = Execute; ]
73  //============================================================================
74 interface TableDocument : OfficeDocument
76     uuid = "BA338A42-064E-11d0-89CB-008029E4B0B1" ;
79     SID_SBA_IMPORT      [ ExecMethod = Execute; ]
80     SID_SC_CELLS        [ ExecMethod = Execute; ]
81     SID_SC_CELLTEXT     [ ExecMethod = Execute; ]
82     SID_SC_SETTEXT      [ ExecMethod = Execute; ]
83     SID_SC_RANGE        [ ExecMethod = Execute; ]
84     SID_SC_SELECTION    [ StateMethod = GetSbxState; ]
85     SID_SC_ACTIVECELL   [ StateMethod = GetSbxState; ]
86     SID_SC_ACTIVETAB    [ StateMethod = GetSbxState; ]
87     SID_TABLES_GET              [ StateMethod = GetSbxState; ]
88     SID_TABLES_COUNT    [ StateMethod = GetState; ]
89     SID_PIVOT_GET               [ StateMethod = GetSbxState; ]
90     SID_SC_ACTIVEOBJECT [ StateMethod = GetDrawObjState; ]
91     SID_ATTR_YEAR2000   [ StateMethod = GetState; ExecMethod = Execute; ]
92     SbxObject OLEObjects
93     [
94         Readonly ;
95         IsCollection ;
96     ]
97     SID_CHART_SOURCE    [ ExecMethod = Execute; ]
98     SID_CHART_ADDSOURCE [ ExecMethod = Execute; ]
99     FID_AUTO_CALC       [ ExecMethod = Execute; StateMethod = GetState; ]
100     FID_RECALC          [ ExecMethod = Execute; StateMethod = GetState; ]
101     FID_HARD_RECALC     [ ExecMethod = Execute;                         ]
102     SID_UPDATETABLINKS          [ ExecMethod = Execute; ]
103     SID_REIMPORT_AFTER_LOAD     [ ExecMethod = Execute; ]
104     SID_AUTO_STYLE                      [ ExecMethod = Execute; ]
106     SID_GET_COLORTABLE          [ ExecMethod = Execute; ]
108     FID_CHG_RECORD                      [ ExecMethod = Execute; StateMethod = GetState; ]
109     SID_DOCUMENT_COMPARE        [ ExecMethod = Execute; StateMethod = GetState; ]
110     SID_DOCUMENT_MERGE          [ ExecMethod = Execute; StateMethod = GetState; ]
111     SID_CHG_PROTECT         [ ExecMethod = Execute; StateMethod = GetState; ]
113     SID_DELETE_SCENARIO         [ ExecMethod = Execute; ]
114     SID_EDIT_SCENARIO           [ ExecMethod = Execute; ]
115     SID_ATTR_CHAR_FONTLIST  [ StateMethod = GetState; ]
116     SID_SHARE_DOC           [ ExecMethod = Execute; StateMethod = GetState; ]
120  //============================================================================
121 shell ScDocShell : SfxObjectShell
123     uuid ( "3F543FA0-B6A6-101B-9961-04021C007002" )
126         import TableDocument[Automation];