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::MetaDataWriter Class Reference

The MetaDataWriter class writes the meta data of the document as plain text to an output stream. More...

#include <meta_data_writer.h>

Inheritance diagram for doctotext::MetaDataWriter:
Collaboration diagram for doctotext::MetaDataWriter:

Public Member Functions

void write_to (const doctotext::Info &info, std::ostream &stream) const override
 Writes meta data of the document to an output stream. More...
 
virtual Writer * clone () const override
 creates a new instance of MetaDataWriter
 

Detailed Description

The MetaDataWriter class writes the meta data of the document as plain text to an output stream.

MetaDataWriter metaDataWriter;
parser.onNewNode([&metaDataWriter](doctotext::Info &info){
metaDataWriter.write_to(info, std::cout);
}).parse();
The MetaDataWriter class writes the meta data of the document as plain text to an output stream.
void write_to(const doctotext::Info &info, std::ostream &stream) const override
Writes meta data of the document to an output stream.

Definition at line 54 of file meta_data_writer.h.

Member Function Documentation

◆ write_to()

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

Writes meta data of the document to an output stream.

Parameters
infodata from callback
streamoutput stream

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