8#ifndef INCLUDED_ORCUS_SPREADSHEET_VIEW_HPP
9#define INCLUDED_ORCUS_SPREADSHEET_VIEW_HPP
11#include "orcus/env.hpp"
12#include "orcus/spreadsheet/types.hpp"
13#include "orcus/spreadsheet/view_types.hpp"
17namespace orcus {
namespace spreadsheet {
22class ORCUS_SPM_DLLPUBLIC
view
25 std::unique_ptr<impl> mp_impl;
32 view& operator=(
const view&) =
delete;
37 void set_active_sheet(sheet_t
sheet);
38 sheet_t get_active_sheet()
const;
44 std::unique_ptr<impl> mp_impl;
53 const range_t& get_selection(sheet_pane_t pos)
const;
55 void set_selection(sheet_pane_t pos,
const range_t& range);
57 void set_active_pane(sheet_pane_t pos);
58 sheet_pane_t get_active_pane()
const;
60 void set_split_pane(
double hor_split,
double ver_split,
const address_t& top_left_cell);
63 void set_frozen_pane(col_t visible_cols, row_t visible_rows,
const address_t& top_left_cell);
66 view& get_document_view();
Definition document.hpp:55
Definition view_types.hpp:76
Definition view_types.hpp:51