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
html_writer.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_HTML_WRITER_H
13 #define DOCWIRE_HTML_WRITER_H
14 
15 #include "html_export.h"
16 #include <iostream>
17 
18 #include "pimpl.h"
19 #include "writer.h"
20 
21 namespace docwire
22 {
23 
24 class DOCWIRE_HTML_EXPORT html_writer : public writer, public with_pimpl<html_writer>
25 {
26 public:
27 
28  html_writer();
29 
35  void write_to(const message_ptr& msg, std::ostream &stream) override;
36 
37 private:
39 };
40 } // namespace docwire
41 
42 #endif //DOCWIRE_HTML_WRITER_H
void write_to(const message_ptr &msg, std::ostream &stream) override
Converts text from callback to html format.
The Writer class is used to write data from callbacks to an output stream.
Definition: writer.h:41
The main namespace for the DocWire SDK.
Definition: ai_elements.h:19