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