8 #ifndef ORCUS_ORCUS_XLSX_HPP 9 #define ORCUS_ORCUS_XLSX_HPP 11 #include "interface.hpp" 15 namespace spreadsheet {
namespace iface {
class import_factory; }}
17 struct xlsx_rel_sheet_info;
18 struct xlsx_rel_table_info;
19 struct orcus_xlsx_impl;
20 class xlsx_opc_handler;
24 friend class xlsx_opc_handler;
27 orcus_xlsx& operator= (
const orcus_xlsx&);
33 static bool detect(
const unsigned char* blob,
size_t size);
35 virtual void read_file(
const std::string& filepath);
36 virtual void read_stream(
const char* content,
size_t len);
38 virtual const char* get_name()
const;
42 void set_formulas_to_doc();
44 void read_workbook(
const std::string& dir_path,
const std::string& file_name);
49 void read_sheet(
const std::string& dir_path,
const std::string& file_name, xlsx_rel_sheet_info* data);
55 void read_shared_strings(
const std::string& dir_path,
const std::string& file_name);
57 void read_styles(
const std::string& dir_path,
const std::string& file_name);
59 void read_table(
const std::string& dir_path,
const std::string& file_name, xlsx_rel_table_info* data);
61 void read_pivot_cache_def(
const std::string& dir_path,
const std::string& file_name);
63 void read_pivot_cache_rec(
const std::string& dir_path,
const std::string& file_name);
65 void read_pivot_table(
const std::string& dir_path,
const std::string& file_name);
67 void read_rev_headers(
const std::string& dir_path,
const std::string& file_name);
69 void read_rev_log(
const std::string& dir_path,
const std::string& file_name);
72 orcus_xlsx_impl* mp_impl;
Definition: import_interface.hpp:685
Definition: orcus_xlsx.hpp:22
Definition: base64.hpp:15
Definition: interface.hpp:21