MLBookProc 2.1
Loading...
Searching...
No Matches
DOCParser Class Reference

The DOCParser class. More...

#include <DOCParser.h>

Public Member Functions

 DOCParser (const std::shared_ptr< MLBookProc > &mlbp)
 DOCParser constructor.
UDBElement parseBook (const std::filesystem::path &file_path)
UDBase getBookInfo (const std::filesystem::path &file_path)

Detailed Description

The DOCParser class.

This class contains methods for doc files parsing. In most cases you do not need to use it directly. Use CreateCollection and BookInfo instead.

Constructor & Destructor Documentation

◆ DOCParser()

DOCParser::DOCParser ( const std::shared_ptr< MLBookProc > & mlbp)

DOCParser constructor.

Parameters
mlbpSmart pointer to MLBookProc object.

Member Function Documentation

◆ getBookInfo()

UDBase DOCParser::getBookInfo ( const std::filesystem::path & file_path)

Obtains extra information from .doc file.

Parameters
file_pathPath to file information to be obtained for.
Returns
UDBase object containing informatiton (see BookInfo).

◆ parseBook()

UDBElement DOCParser::parseBook ( const std::filesystem::path & file_path)

Parses .doc file.

Parameters
file_pathPath to file to be parsed.
Returns
BaseID::Book object.