merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / sheet / SpreadsheetView.idl
blob07a4d10f53048de01d7c92a2da6daf96e361687c
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: SpreadsheetView.idl,v $
10 * $Revision: 1.9 $
12 * This file is part of OpenOffice.org.
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.
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).
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.
29 ************************************************************************/
30 #ifndef __com_sun_star_sheet_SpreadsheetView_idl__
31 #define __com_sun_star_sheet_SpreadsheetView_idl__
33 #ifndef __com_sun_star_frame_Controller_idl__
34 #include <com/sun/star/frame/Controller.idl>
35 #endif
37 #ifndef __com_sun_star_sheet_SpreadsheetViewSettings_idl__
38 #include <com/sun/star/sheet/SpreadsheetViewSettings.idl>
39 #endif
41 #ifndef __com_sun_star_sheet_SpreadsheetViewPane_idl__
42 #include <com/sun/star/sheet/SpreadsheetViewPane.idl>
43 #endif
45 #ifndef __com_sun_star_sheet_XSpreadsheetView_idl__
46 #include <com/sun/star/sheet/XSpreadsheetView.idl>
47 #endif
49 #ifndef __com_sun_star_container_XIndexAccess_idl__
50 #include <com/sun/star/container/XIndexAccess.idl>
51 #endif
53 #ifndef __com_sun_star_view_XSelectionSupplier_idl__
54 #include <com/sun/star/view/XSelectionSupplier.idl>
55 #endif
57 #ifndef __com_sun_star_sheet_XViewSplitable_idl__
58 #include <com/sun/star/sheet/XViewSplitable.idl>
59 #endif
61 #ifndef __com_sun_star_sheet_XViewFreezable_idl__
62 #include <com/sun/star/sheet/XViewFreezable.idl>
63 #endif
65 #ifndef __com_sun_star_sheet_XRangeSelection_idl__
66 #include <com/sun/star/sheet/XRangeSelection.idl>
67 #endif
69 #ifndef __com_sun_star_container_XEnumerationAccess_idl__
70 #include <com/sun/star/container/XEnumerationAccess.idl>
71 #endif
73 #ifndef __com_sun_star_sheet_XActivationBroadcaster_idl__
74 #include <com/sun/star/sheet/XActivationBroadcaster.idl>
75 #endif
77 #ifndef __com_sun_star_sheet_XEnhancedMouseClickBroadcaster_idl__
78 #include <com/sun/star/sheet/XEnhancedMouseClickBroadcaster.idl>
79 #endif
81 //=============================================================================
83 module com { module sun { module star { module sheet {
85 //=============================================================================
87 /** represents a view of a spreadsheet document.
89 published service SpreadsheetView
91 /** provides the integration into the framework.
93 service com::sun::star::frame::Controller;
95 /** provides the view's settings.
97 service com::sun::star::sheet::SpreadsheetViewSettings;
99 /** provides direct access to the view's active pane.
101 service com::sun::star::sheet::SpreadsheetViewPane;
103 /** provides access to the active sheet in the view.
105 interface com::sun::star::sheet::XSpreadsheetView;
107 /** provides access to the collection of view panes.
109 interface com::sun::star::container::XIndexAccess;
111 /** creates an enumeration of view panes.
113 @see com::sun::star::sheet::SpreadsheetViewPanesEnumeration
116 interface com::sun::star::container::XEnumerationAccess;
118 /** provides access to the view's selection.
119 <p>The selection in a spreadsheet view can be a
120 <type scope="com::sun::star::sheet">SheetCell</type>,
121 <type scope="com::sun::star::sheet">SheetCellRange</type>,
122 <type scope="com::sun::star::sheet">SheetCellRanges</type>,
123 <type scope="com::sun::star::drawing">Shape</type> or
124 <type scope="com::sun::star::drawing">Shapes</type> object.
125 </p>
127 interface com::sun::star::view::XSelectionSupplier;
129 /** allows to split the view.
131 interface com::sun::star::sheet::XViewSplitable;
133 /** allows to freeze columns and rows of the view.
135 interface com::sun::star::sheet::XViewFreezable;
137 /** allows to let the user interactively select a cell range.
139 interface com::sun::star::sheet::XRangeSelection;
141 [optional] interface com::sun::star::sheet::XEnhancedMouseClickBroadcaster;
143 [optional] interface com::sun::star::sheet::XActivationBroadcaster;
146 //=============================================================================
148 }; }; }; };
150 #endif