Orcus
sheet_properties.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 ORCUS_SHEET_PROPERTIES_HPP
9 #define ORCUS_SHEET_PROPERTIES_HPP
10 
11 #include "orcus/spreadsheet/import_interface.hpp"
12 #include "orcus/env.hpp"
13 
14 namespace orcus { namespace spreadsheet {
15 
16 class document;
17 class sheet;
18 struct sheet_properties_impl;
19 
25 {
26  sheet_properties_impl* mp_impl;
27 public:
28  sheet_properties(document& doc, sheet& sh);
30 
31  virtual void set_column_width(col_t col, double width, orcus::length_unit_t unit);
32  virtual void set_column_hidden(col_t col, bool hidden);
33  virtual void set_row_height(row_t row, double height, orcus::length_unit_t unit);
34  virtual void set_row_hidden(row_t row, bool hidden);
35  virtual void set_merge_cell_range(const char* p_ref, size_t p_ref_len);
36 };
37 
38 }}
39 
40 #endif
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: document.hpp:44
virtual void set_merge_cell_range(const char *p_ref, size_t p_ref_len)
Definition: sheet.hpp:31
Definition: import_interface.hpp:156
Definition: sheet_properties.hpp:24
Definition: base64.hpp:15