Orcus
include
orcus
orcus_xls_xml.hpp
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This Source Code Form is subject to the terms of the Mozilla Public
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
*/
7
8
#ifndef ORCUS_ORCUS_XLS_XML_HPP
9
#define ORCUS_ORCUS_XLS_XML_HPP
10
11
#include "interface.hpp"
12
13
namespace
orcus {
14
15
namespace
spreadsheet {
namespace
iface {
class
import_factory; }}
16
17
struct
orcus_xls_xml_impl;
18
19
class
ORCUS_DLLPUBLIC
orcus_xls_xml
:
public
iface::import_filter
20
{
21
orcus_xls_xml
(
const
orcus_xls_xml
&);
// disabled
22
orcus_xls_xml
& operator= (
const
orcus_xls_xml
&);
// disabled
23
24
public
:
25
orcus_xls_xml
(
spreadsheet::iface::import_factory
* factory);
26
~
orcus_xls_xml
();
27
28
static
bool
detect(
const
unsigned
char
* blob,
size_t
size);
29
30
virtual
void
read_file(
const
std::string& filepath);
31
virtual
void
read_stream(
const
char
* content,
size_t
len);
32
33
virtual
const
char
* get_name()
const
;
34
35
private
:
36
orcus_xls_xml_impl* mp_impl;
37
};
38
39
}
40
41
#endif
42
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
orcus::spreadsheet::iface::import_factory
Definition:
import_interface.hpp:773
orcus::orcus_xls_xml
Definition:
orcus_xls_xml.hpp:19
orcus::iface::import_filter
Definition:
interface.hpp:22
Generated on Thu Jul 8 2021 09:19:44 for Orcus by
1.8.17