8#ifndef INCLUDED_ORCUS_ORCUS_XLSX_HPP
9#define INCLUDED_ORCUS_ORCUS_XLSX_HPP
11#include "interface.hpp"
18namespace spreadsheet {
namespace iface {
class import_factory; }}
20struct xlsx_rel_sheet_info;
21struct xlsx_rel_table_info;
22struct xlsx_rel_pivot_cache_info;
23struct xlsx_rel_pivot_cache_record_info;
24struct orcus_xlsx_impl;
25class xlsx_opc_handler;
29 friend class xlsx_opc_handler;
31 std::unique_ptr<impl> mp_impl;
41 static bool detect(std::string_view strm);
43 virtual void read_file(std::string_view filepath)
override;
44 virtual void read_file(std::u16string_view filepath)
override;
47 virtual std::string_view
get_name()
const override;
51 void set_formulas_to_doc();
53 void read_workbook(
const std::string& dir_path,
const std::string& file_name);
58 void read_sheet(
const std::string& dir_path,
const std::string& file_name, xlsx_rel_sheet_info* data);
64 void read_shared_strings(
const std::string& dir_path,
const std::string& file_name);
66 void read_styles(
const std::string& dir_path,
const std::string& file_name);
68 void read_table(
const std::string& dir_path,
const std::string& file_name, xlsx_rel_table_info* data);
70 void read_pivot_cache_def(
71 const std::string& dir_path,
const std::string& file_name,
72 const xlsx_rel_pivot_cache_info* data);
74 void read_pivot_cache_rec(
75 const std::string& dir_path,
const std::string& file_name,
76 const xlsx_rel_pivot_cache_record_info* data);
78 void read_pivot_table(
const std::string& dir_path,
const std::string& file_name);
80 void read_rev_headers(
const std::string& dir_path,
const std::string& file_name);
82 void read_rev_log(
const std::string& dir_path,
const std::string& file_name);
84 void read_drawing(
const std::string& dir_path,
const std::string& file_name);
Definition interface.hpp:27
Definition orcus_xlsx.hpp:28
virtual void read_file(std::string_view filepath) override
virtual void read_stream(std::string_view stream) override
virtual std::string_view get_name() const override
Definition import_interface.hpp:1184