DocWire SDK
DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, document analysis. Offline processing possible for security and confidentiality
xls_parser.h
1 /*********************************************************************************************************************************************/
2 /* DocWire SDK: Award-winning modern data processing in C++20. SourceForge Community Choice & Microsoft support. AI-driven processing. */
3 /* Supports nearly 100 data formats, including email boxes and OCR. Boost efficiency in text extraction, web data extraction, data mining, */
4 /* document analysis. Offline processing possible for security and confidentiality */
5 /* */
6 /* Copyright (c) SILVERCODERS Ltd, http://silvercoders.com */
7 /* Project homepage: https://github.com/docwire/docwire */
8 /* */
9 /* SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-DocWire-Commercial */
10 /*********************************************************************************************************************************************/
11 
12 #ifndef DOCWIRE_XLS_PARSER_H
13 #define DOCWIRE_XLS_PARSER_H
14 
15 #include "ole_office_formats_export.h"
16 #include "chain_element.h"
17 #include "pimpl.h"
18 #include <string>
19 
20 namespace docwire
21 {
22 
23 class thread_safe_ole_storage;
24 
25 class DOCWIRE_OLE_OFFICE_FORMATS_EXPORT xls_parser : public chain_element, public with_pimpl<xls_parser>
26 {
27  private:
30 
31  public:
32  xls_parser();
33  continuation operator()(message_ptr msg, const message_callbacks& emit_message) override;
34  bool is_leaf() const override { return false; }
35  std::string parse(thread_safe_ole_storage& storage, const message_callbacks& emit_message);
36 };
37 
38 } // namespace docwire
39 
40 #endif
bool is_leaf() const override
Check if chain element is a leaf (last element which doesn't produce any messages)....
Definition: xls_parser.h:34
The main namespace for the DocWire SDK.
Definition: ai_elements.h:19