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