Open document spreadsheet

class orcus_ods : public orcus::iface::import_filter

Public Functions

orcus_ods(spreadsheet::iface::import_factory *factory)
~orcus_ods()
virtual void read_file(std::string_view filepath) override

Read the content of a file.

Parameters:

filepath – path to a local file. It must be a system path.

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(const unsigned char *blob, size_t size)
class import_ods

Public Functions

import_ods() = delete
import_ods(const import_ods&) = delete
import_ods &operator=(const import_ods&) = delete

Public Static Functions

static void read_styles(std::string_view s, spreadsheet::iface::import_styles *data)