DocWire DocToText - Powered by Silvercoders 5.0.5
A multifaceted, data extraction software development toolkit that converts all sorts of files to plain text and html. Written in C++, this data extraction tool has a parser able to convert PST & OST files along with a brand new API for better file processing. To enhance its utility, DocToText, as a data extraction tool, can be integrated with other data mining and data analytics applications. It comes equipped with a high grade, scriptable and trainable OCR that has LSTM neural networks based character recognition. This document parser is able to extract metadata along with annotations and supports a list of formats that include: DOC, XLS, XLSB, PPT, RTF, ODF (ODT, ODS, ODP), OOXML (DOCX, XLSX, PPTX), iWork (PAGES, NUMBERS, KEYNOTE), ODFXML (FODP, FODS, FODT), PDF, EML, HTML, Outlook (PST, OST), Image (JPG, JPEG, JFIF, BMP, PNM, PNG, TIFF, WEBP) and DICOM (DCM)
doctotext::PlainTextWriter Class Reference
Inheritance diagram for doctotext::PlainTextWriter:
Collaboration diagram for doctotext::PlainTextWriter:

Public Member Functions

 PlainTextWriter (const PlainTextWriter &plainTextWriter)
 
void write_footer (std::ostream &stream) const override
 Write footer for plain text format. More...
 
void write_to (const doctotext::Info &info, std::ostream &stream) const override
 Converts text from callback to plain text format. More...
 
virtual Writer * clone () const override
 Creates a new instance of PlainTextWriter.
 
PlainTextWriteroperator= (const PlainTextWriter &plainTextWriter)
 

Detailed Description

Examples
example_6.cpp.

Definition at line 45 of file plain_text_writer.h.

Member Function Documentation

◆ write_footer()

void doctotext::PlainTextWriter::write_footer ( std::ostream &  stream) const
override

Write footer for plain text format.

Parameters
streamoutput stream
Examples
example_6.cpp.

◆ write_to()

void doctotext::PlainTextWriter::write_to ( const doctotext::Info info,
std::ostream &  stream 
) const
override

Converts text from callback to plain text format.

Parameters
infodata from callback
streamoutput stream
Examples
example_6.cpp.

The documentation for this class was generated from the following file: