blob: 8213833db7d8cb2d99322bcce322aeaa4b6c0553 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_ORCUS_SPREADSHEET_GLOBAL_SETTINGS_HPP
#define INCLUDED_ORCUS_SPREADSHEET_GLOBAL_SETTINGS_HPP
#include "orcus/spreadsheet/import_interface.hpp"
#include <memory>
namespace orcus { namespace spreadsheet {
class document;
class import_factory;
class import_global_settings : public spreadsheet::iface::import_global_settings
{
struct impl;
std::unique_ptr<impl> mp_impl;
public:
import_global_settings(import_factory& factory, document& doc);
virtual ~import_global_settings() override;
virtual void set_origin_date(int year, int month, int day) override;
virtual void set_default_formula_grammar(orcus::spreadsheet::formula_grammar_t grammar) override;
virtual orcus::spreadsheet::formula_grammar_t get_default_formula_grammar() const override;
virtual void set_character_set(character_set_t charset) override;
};
}}
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|