8 #ifndef __ORCUS_SPREADSHEET_DOCUMENT_HPP__ 9 #define __ORCUS_SPREADSHEET_DOCUMENT_HPP__ 11 #include "orcus/env.hpp" 12 #include "orcus/interface.hpp" 13 #include "orcus/spreadsheet/types.hpp" 19 class formula_name_resolver;
30 namespace spreadsheet {
32 class import_global_settings;
33 class import_shared_strings;
49 document& operator= (
const document&);
61 sheet* append_sheet(
const pstring& sheet_name, row_t row_size, col_t col_size);
63 sheet* get_sheet(sheet_t sheet_pos);
64 const sheet* get_sheet(sheet_t sheet_pos)
const;
68 void swap(document& other);
78 virtual void dump_flat(
const std::string& outdir)
const;
86 virtual void dump_html(const ::std::string& outdir)
const;
92 virtual void dump_check(std::ostream& os)
const;
94 sheet_t get_sheet_index(
const pstring& name)
const;
95 pstring get_sheet_name(sheet_t sheet_pos)
const;
97 size_t sheet_size()
const;
99 void set_origin_date(
int year,
int month,
int day);
100 void set_formula_grammar(formula_grammar_t grammar);
101 formula_grammar_t get_formula_grammar()
const;
103 const ixion::formula_name_resolver* get_formula_name_resolver()
const;
105 ixion::model_context& get_model_context();
106 const ixion::model_context& get_model_context()
const;
125 void insert_dirty_cell(
const ixion::abs_address_t& pos);
128 document_impl* mp_impl;
Definition: shared_strings.hpp:51
Definition: pstring.hpp:24
Definition: document.hpp:44
Definition: document.hpp:17
Definition: interface.hpp:42
Definition: styles.hpp:133
Definition: string_pool.hpp:22
Definition: base64.hpp:15
Definition: auto_filter.hpp:98