8 #ifndef INCLUDED_ORCUS_ORCUS_ODS_HPP
9 #define INCLUDED_ORCUS_ORCUS_ODS_HPP
11 #include "orcus/spreadsheet/import_interface.hpp"
12 #include "orcus/env.hpp"
13 #include "interface.hpp"
19 namespace spreadsheet {
namespace iface {
class import_factory; }}
21 struct orcus_ods_impl;
23 class zip_archive_stream;
34 static bool detect(
const unsigned char* blob,
size_t size);
36 virtual void read_file(
const std::string& filepath);
40 virtual const char* get_name()
const;
43 static void list_content(
const zip_archive& archive);
45 void read_content_xml(
const unsigned char* p,
size_t size);
51 std::unique_ptr<impl> mp_impl;
virtual void read_stream(const char *content, size_t len)
expects the whole content of the file
Definition: orcus_ods.hpp:26
Definition: import_interface.hpp:882
virtual void read_file(const std::string &filepath)
expects a system path to a local file
Definition: zip_archive.hpp:35
Definition: interface.hpp:24
Definition: zip_archive_stream.hpp:18