Orcus
global_settings.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_GLOBAL_SETTINGS_HPP
9 #define ORCUS_GLOBAL_SETTINGS_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 
18 struct import_global_settings_impl;
19 
21 {
22  import_global_settings_impl* mp_impl;
23 
24 public:
26  virtual ~import_global_settings();
27 
28  virtual void set_origin_date(int year, int month, int day);
29 
30  virtual void set_default_formula_grammar(orcus::spreadsheet::formula_grammar_t grammar);
31 
32  virtual orcus::spreadsheet::formula_grammar_t get_default_formula_grammar() const;
33 };
34 
35 }}
36 
37 #endif
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Definition: document.hpp:44
Definition: import_interface.hpp:641
Definition: base64.hpp:15
Definition: global_settings.hpp:20