Orcus
import_interface_view.hpp
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6  */
7 
8 #ifndef IMPORT_ORCUS_SPREADSHEET_IMPORT_INTERFACE_VIEW_HPP
9 #define IMPORT_ORCUS_SPREADSHEET_IMPORT_INTERFACE_VIEW_HPP
10 
11 #include <cstdlib>
12 
13 #include "orcus/spreadsheet/view_types.hpp"
14 #include "orcus/types.hpp"
15 #include "orcus/env.hpp"
16 
17 namespace orcus { namespace spreadsheet { namespace iface {
18 
19 class ORCUS_DLLPUBLIC import_sheet_view
20 {
21 public:
22  virtual ~import_sheet_view();
23 
27  virtual void set_sheet_active() = 0;
28 
42  virtual void set_split_pane(
43  double hor_split, double ver_split, const address_t& top_left_cell,
44  sheet_pane_t active_pane) = 0;
45 
55  virtual void set_frozen_pane(
56  col_t visible_columns, row_t visible_rows, const address_t& top_left_cell,
57  sheet_pane_t active_pane) = 0;
58 
67  virtual void set_selected_range(sheet_pane_t pane, range_t range) = 0;
68 };
69 
70 }}}
71 
72 #endif
73 
74 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
orcus::spreadsheet::iface::import_sheet_view
Definition: import_interface_view.hpp:19
orcus::spreadsheet::address_t
Definition: types.hpp:346
orcus::spreadsheet::range_t
Definition: types.hpp:358