mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
minor fixes to get it to compile. lots of failing tests for now...
This commit is contained in:
parent
d7e7526beb
commit
a9fd6b064e
|
@ -50,6 +50,7 @@ class xlsx_consumer;
|
|||
class XLNT_API streaming_workbook_reader
|
||||
{
|
||||
public:
|
||||
streaming_workbook_reader();
|
||||
~streaming_workbook_reader();
|
||||
|
||||
/// <summary>
|
||||
|
|
|
@ -88,6 +88,6 @@ public:
|
|||
/// Serializes the workbook into an XLSX file and saves the data into stream.
|
||||
/// </summary>
|
||||
void open(std::ostream &stream) const;
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace xlnt
|
||||
|
|
|
@ -151,6 +151,12 @@ cell xlsx_consumer::read_cell()
|
|||
return cell(nullptr);
|
||||
}
|
||||
|
||||
void xlsx_consumer::read_worksheet(const std::string &rel)
|
||||
{
|
||||
read_worksheet_begin();
|
||||
read_worksheet_end();
|
||||
}
|
||||
|
||||
std::string xlsx_consumer::read_worksheet_begin()
|
||||
{
|
||||
if (worksheet_queue_.empty())
|
||||
|
|
|
@ -71,7 +71,6 @@ public:
|
|||
private:
|
||||
friend class streaming_workbook_reader;
|
||||
|
||||
|
||||
void open(std::istream &source);
|
||||
|
||||
bool has_cell();
|
||||
|
|
|
@ -73,9 +73,14 @@ void open_stream(std::ofstream &stream, const std::string &path)
|
|||
|
||||
namespace xlnt {
|
||||
|
||||
streaming_workbook_reader::streaming_workbook_reader()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
streaming_workbook_reader::~streaming_workbook_reader()
|
||||
{
|
||||
close();
|
||||
close();
|
||||
}
|
||||
|
||||
void streaming_workbook_reader::close()
|
||||
|
|
Loading…
Reference in New Issue
Block a user