xref: /trunk/main/sc/sdi/docsh.sdi (revision e07c0dce)
1*e07c0dceSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*e07c0dceSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*e07c0dceSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*e07c0dceSAndrew Rist * distributed with this work for additional information
6*e07c0dceSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*e07c0dceSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*e07c0dceSAndrew Rist * "License"); you may not use this file except in compliance
9*e07c0dceSAndrew Rist * with the License.  You may obtain a copy of the License at
10*e07c0dceSAndrew Rist *
11*e07c0dceSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*e07c0dceSAndrew Rist *
13*e07c0dceSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*e07c0dceSAndrew Rist * software distributed under the License is distributed on an
15*e07c0dceSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*e07c0dceSAndrew Rist * KIND, either express or implied.  See the License for the
17*e07c0dceSAndrew Rist * specific language governing permissions and limitations
18*e07c0dceSAndrew Rist * under the License.
19*e07c0dceSAndrew Rist *
20*e07c0dceSAndrew Rist *************************************************************/
21*e07c0dceSAndrew Rist
22*e07c0dceSAndrew Rist
23cdf0e10cSrcweir
24cdf0e10cSrcweir //============================================================================
25cdf0e10cSrcweirinterface TableSelection
26cdf0e10cSrcweir[
27cdf0e10cSrcweir	uuid = "BA338A41-064E-11d0-89CB-008029E4B0B1" ;
28cdf0e10cSrcweir]
29cdf0e10cSrcweir{
30cdf0e10cSrcweir	SID_DELETE_PRINTAREA		[ ExecMethod = Execute; StateMethod = GetState; ]
31cdf0e10cSrcweir	SID_OPENDLG_EDIT_PRINTAREA	[ ExecMethod = Execute; StateMethod = GetState; ]
32cdf0e10cSrcweir	SID_CHANGE_PRINTAREA		[ ExecMethod = Execute; ]
33cdf0e10cSrcweir	FID_DEL_MANUALBREAKS		[ ExecMethod = Execute; StateMethod = GetState; ]
34cdf0e10cSrcweir	FID_RESET_PRINTZOOM			[ ExecMethod = Execute; StateMethod = GetState; ]
35cdf0e10cSrcweir	SbxObject Cells SID_SC_CELLS
36cdf0e10cSrcweir	(
37cdf0e10cSrcweir		INT16	Column		SID_SC_CELLS,
38cdf0e10cSrcweir		INT32	Row			FN_PARAM_1
39cdf0e10cSrcweir	)
40cdf0e10cSrcweir	[
41cdf0e10cSrcweir	]
42cdf0e10cSrcweir	UINT16 Index FID_TAB_INDEX
43cdf0e10cSrcweir	[
44cdf0e10cSrcweir		Readonly ;
45cdf0e10cSrcweir	]
46cdf0e10cSrcweir	FID_PROTECT_TABLE		[ ExecMethod = Execute; StateMethod = GetState; ]
47cdf0e10cSrcweir	FID_PROTECT_DOC			[ ExecMethod = Execute; StateMethod = GetState; ]
48cdf0e10cSrcweir
49cdf0e10cSrcweir	SID_AUTO_OUTLINE		[ ExecMethod = Execute; StateMethod = GetState; ]
50cdf0e10cSrcweir	SID_OUTLINE_DELETEALL	[ ExecMethod = Execute; StateMethod = GetState; ]
51cdf0e10cSrcweir	SID_FORMATPAGE			[ ExecMethod = Execute; StateMethod = GetState; ]
52cdf0e10cSrcweir	SID_HFEDIT				[ ExecMethod = Execute; StateMethod = GetState; ]
53cdf0e10cSrcweir	SID_DETECTIVE_DEL_ALL	[ ExecMethod = Execute; StateMethod = GetState; ]
54cdf0e10cSrcweir	FID_TABLE_VISIBLE	[ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
55cdf0e10cSrcweir	FID_TAB_MOVE		[ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
56cdf0e10cSrcweir	FID_DELETE_TABLE	[ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
57cdf0e10cSrcweir	FID_TAB_RENAME		[ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
58cdf0e10cSrcweir	FID_TAB_RTL			[ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
59cdf0e10cSrcweir    FID_TAB_SET_TAB_BG_COLOR    [ ExecMethod = ExecuteTable; StateMethod = GetStateTable; ]
60cdf0e10cSrcweir
61cdf0e10cSrcweir	SID_TABLE_ACTIVATE	[ ExecMethod = Execute; ]
62cdf0e10cSrcweir}
63cdf0e10cSrcweir
64cdf0e10cSrcweir
65cdf0e10cSrcweir //============================================================================
66cdf0e10cSrcweirinterface TableDocument
67cdf0e10cSrcweir[
68cdf0e10cSrcweir	uuid = "BA338A42-064E-11d0-89CB-008029E4B0B1" ;
69cdf0e10cSrcweir]
70cdf0e10cSrcweir{
71cdf0e10cSrcweir	SID_SBA_IMPORT	[ ExecMethod = Execute; ]
72cdf0e10cSrcweir	SID_SC_CELLS	[ ExecMethod = Execute; ]
73cdf0e10cSrcweir	SID_SC_CELLTEXT	[ ExecMethod = Execute; ]
74cdf0e10cSrcweir	SID_SC_SETTEXT	[ ExecMethod = Execute; ]
75cdf0e10cSrcweir	SID_SC_RANGE	[ ExecMethod = Execute; ]
76cdf0e10cSrcweir	SID_SC_SELECTION	[ StateMethod = GetSbxState; ]
77cdf0e10cSrcweir	SID_SC_ACTIVECELL	[ StateMethod = GetSbxState; ]
78cdf0e10cSrcweir	SID_SC_ACTIVETAB	[ StateMethod = GetSbxState; ]
79cdf0e10cSrcweir	SID_TABLES_GET		[ StateMethod = GetSbxState; ]
80cdf0e10cSrcweir	SID_TABLES_COUNT	[ StateMethod = GetState; ]
81cdf0e10cSrcweir	SID_PIVOT_GET		[ StateMethod = GetSbxState; ]
82cdf0e10cSrcweir	SID_SC_ACTIVEOBJECT	[ StateMethod = GetDrawObjState; ]
83cdf0e10cSrcweir	SID_ATTR_YEAR2000	[ StateMethod = GetState; ExecMethod = Execute; ]
84cdf0e10cSrcweir	SbxObject OLEObjects
85cdf0e10cSrcweir	[
86cdf0e10cSrcweir		Readonly ;
87cdf0e10cSrcweir		IsCollection ;
88cdf0e10cSrcweir	]
89cdf0e10cSrcweir	SID_CHART_SOURCE	[ ExecMethod = Execute; ]
90cdf0e10cSrcweir	SID_CHART_ADDSOURCE	[ ExecMethod = Execute; ]
91cdf0e10cSrcweir	FID_AUTO_CALC	[ ExecMethod = Execute; StateMethod = GetState; ]
92cdf0e10cSrcweir	FID_RECALC		[ ExecMethod = Execute; StateMethod = GetState; ]
93cdf0e10cSrcweir	FID_HARD_RECALC	[ ExecMethod = Execute;                         ]
94cdf0e10cSrcweir	SID_UPDATETABLINKS		[ ExecMethod = Execute; ]
95cdf0e10cSrcweir	SID_REIMPORT_AFTER_LOAD	[ ExecMethod = Execute; ]
96cdf0e10cSrcweir	SID_AUTO_STYLE			[ ExecMethod = Execute; ]
97cdf0e10cSrcweir
98cdf0e10cSrcweir	SID_GET_COLORTABLE		[ ExecMethod = Execute; ]
99cdf0e10cSrcweir
100cdf0e10cSrcweir	FID_CHG_RECORD			[ ExecMethod = Execute; StateMethod = GetState; ]
101cdf0e10cSrcweir	SID_DOCUMENT_COMPARE	[ ExecMethod = Execute; StateMethod = GetState; ]
102cdf0e10cSrcweir	SID_DOCUMENT_MERGE		[ ExecMethod = Execute; StateMethod = GetState; ]
103cdf0e10cSrcweir    SID_CHG_PROTECT         [ ExecMethod = Execute; StateMethod = GetState; ]
104cdf0e10cSrcweir
105cdf0e10cSrcweir	SID_DELETE_SCENARIO		[ ExecMethod = Execute; ]
106cdf0e10cSrcweir	SID_EDIT_SCENARIO		[ ExecMethod = Execute; ]
107cdf0e10cSrcweir	SID_ATTR_CHAR_FONTLIST  [ StateMethod = GetState; ]
108cdf0e10cSrcweir    SID_SHARE_DOC           [ ExecMethod = Execute; StateMethod = GetState; ]
109cdf0e10cSrcweir}
110cdf0e10cSrcweir
111cdf0e10cSrcweir
112cdf0e10cSrcweir //============================================================================
113cdf0e10cSrcweirshell ScDocShell
114cdf0e10cSrcweir[
115cdf0e10cSrcweir	uuid ( "3F543FA0-B6A6-101B-9961-04021C007002" )
116cdf0e10cSrcweir]
117cdf0e10cSrcweir{
118cdf0e10cSrcweir		import TableDocument[Automation];
119cdf0e10cSrcweir}
120