Spreadsheet Import Filters¶
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(const std::string &filepath)¶ expects a system path to a local file
-
virtual void
read_stream(const char *content, size_t len)¶ expects the whole content of the file
-
virtual const char *
get_name() const¶
Public Static Functions
-
static bool
detect(const unsigned char *blob, size_t size)¶
-
Microsoft Excel 2003 XML¶
-
class
orcus_xls_xml: public orcus::iface::import_filter¶ Public Functions
-
orcus_xls_xml(spreadsheet::iface::import_factory *factory)¶
-
~orcus_xls_xml()¶
-
orcus_xls_xml(const orcus_xls_xml&)¶
-
orcus_xls_xml &
operator=(const orcus_xls_xml&)¶
-
virtual void
read_file(const std::string &filepath)¶ expects a system path to a local file
-
virtual void
read_stream(const char *content, size_t len)¶ expects the whole content of the file
-
virtual const char *
get_name() const¶
Public Static Functions
-
static bool
detect(const unsigned char *blob, size_t size)¶
-
Microsoft Excel 2007 XML¶
-
class
orcus_xlsx: public orcus::iface::import_filter¶ Public Functions
-
orcus_xlsx(spreadsheet::iface::import_factory *factory)¶
-
~orcus_xlsx()¶
-
orcus_xlsx(const orcus_xlsx&)¶
-
orcus_xlsx &
operator=(const orcus_xlsx&)¶
-
virtual void
read_file(const std::string &filepath)¶ expects a system path to a local file
-
virtual void
read_stream(const char *content, size_t len)¶ expects the whole content of the file
-
virtual const char *
get_name() const¶
Public Static Functions
-
static bool
detect(const unsigned char *blob, size_t size)¶
-
Gnumeric XML¶
-
class
orcus_gnumeric: public orcus::iface::import_filter¶ Public Functions
-
orcus_gnumeric(spreadsheet::iface::import_factory *factory)¶
-
~orcus_gnumeric()¶
-
virtual void
read_file(const std::string &filepath)¶ expects a system path to a local file
-
virtual void
read_stream(const char *content, size_t len)¶ expects the whole content of the file
-
virtual const char *
get_name() const¶
Public Static Functions
-
static bool
detect(const unsigned char *blob, size_t size)¶
-
Generic XML¶
-
class
orcus_xml¶ Public Functions
-
orcus_xml(xmlns_repository &ns_repo, spreadsheet::iface::import_factory *im_fact, spreadsheet::iface::export_factory *ex_fact)¶
-
~orcus_xml()¶
-
void
set_cell_link(const pstring &xpath, const pstring &sheet, spreadsheet::row_t row, spreadsheet::col_t col)¶
-
void
commit_range()¶
-
void
read_stream(const char *p, size_t n)¶
-
void
read_map_definition(const char *p, size_t n)¶ Read an XML string that contains an entire set of mapping rules.
This method also inserts all necessary sheets into the document model.
- Parameters
p: pointer to the in-memory buffer that contains the XML string.n: size of the buffer.
-
void
write(const char *p_in, size_t n_in, std::ostream &out) const¶
-