Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sheet / SpreadsheetView.idl
blob864c97307b744e04f952a646502cbe72f8a5c189
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 #ifndef __com_sun_star_sheet_SpreadsheetView_idl__
20 #define __com_sun_star_sheet_SpreadsheetView_idl__
22 #include <com/sun/star/frame/Controller.idl>
23 #include <com/sun/star/sheet/SpreadsheetViewSettings.idl>
24 #include <com/sun/star/sheet/SpreadsheetViewPane.idl>
25 #include <com/sun/star/sheet/XSpreadsheetView.idl>
26 #include <com/sun/star/container/XIndexAccess.idl>
27 #include <com/sun/star/view/XSelectionSupplier.idl>
28 #include <com/sun/star/sheet/XViewSplitable.idl>
29 #include <com/sun/star/sheet/XViewFreezable.idl>
30 #include <com/sun/star/sheet/XRangeSelection.idl>
31 #include <com/sun/star/container/XEnumerationAccess.idl>
32 #include <com/sun/star/sheet/XActivationBroadcaster.idl>
33 #include <com/sun/star/sheet/XEnhancedMouseClickBroadcaster.idl>
36 module com { module sun { module star { module sheet {
39 /** represents a view of a spreadsheet document.
41 published service SpreadsheetView
43 /** provides the integration into the framework.
45 service com::sun::star::frame::Controller;
47 /** provides the view's settings.
49 service com::sun::star::sheet::SpreadsheetViewSettings;
51 /** provides direct access to the view's active pane.
53 service com::sun::star::sheet::SpreadsheetViewPane;
55 /** provides access to the active sheet in the view.
57 interface com::sun::star::sheet::XSpreadsheetView;
59 /** provides access to the collection of view panes.
61 interface com::sun::star::container::XIndexAccess;
63 /** creates an enumeration of view panes.
65 @see com::sun::star::sheet::SpreadsheetViewPanesEnumeration
68 interface com::sun::star::container::XEnumerationAccess;
70 /** provides access to the view's selection.
71 <p>The selection in a spreadsheet view can be a
72 com::sun::star::sheet::SheetCell,
73 com::sun::star::sheet::SheetCellRange,
74 com::sun::star::sheet::SheetCellRanges,
75 com::sun::star::drawing::Shape or
76 com::sun::star::drawing::Shapes object.
77 </p>
79 interface com::sun::star::view::XSelectionSupplier;
81 /** allows to split the view.
83 interface com::sun::star::sheet::XViewSplitable;
85 /** allows to freeze columns and rows of the view.
87 interface com::sun::star::sheet::XViewFreezable;
89 /** allows to let the user interactively select a cell range.
91 interface com::sun::star::sheet::XRangeSelection;
93 [optional] interface com::sun::star::sheet::XEnhancedMouseClickBroadcaster;
95 [optional] interface com::sun::star::sheet::XActivationBroadcaster;
99 }; }; }; };
101 #endif
103 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */