orcus_ods

Defined in header: <orcus/orcus_ods.hpp>

class orcus_ods : public orcus::iface::import_filter

Public Functions

orcus_ods(spreadsheet::iface::import_factory *factory)
~orcus_ods()
orcus_ods() = delete
orcus_ods(const orcus_ods&) = delete
orcus_ods &operator=(const orcus_ods&) = delete
virtual void read_file(const std::filesystem::path &filepath) override

Read the content of a file.

Parameters:

filepath – Path to a local file to read the content from.

virtual void read_stream(std::string_view stream) override

Read the content of an in-memory stream.

Parameters:

stream – in-memory stream to read from.

virtual std::string_view get_name() const override

Get the name of a filter.

Returns:

name of a filter.

Public Static Functions

static bool detect(std::string_view strm)