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"
19namespace spreadsheet {
namespace iface {
class import_factory; }}
23class zip_archive_stream;
34 static bool detect(
const unsigned char* blob,
size_t size);
36 virtual void read_file(
const std::string& filepath)
override;
40 virtual std::string_view get_name()
const override;
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;
Definition interface.hpp:24
Definition orcus_ods.hpp:26
virtual void read_file(const std::string &filepath) override
expects a system path to a local file
virtual void read_stream(std::string_view stream) override
expects the whole content of the file
Definition import_interface.hpp:898
Definition zip_archive_stream.hpp:19
Definition zip_archive.hpp:35