MLBookProc
2.1
Toggle main menu visibility
Loading...
Searching...
No Matches
DOCXParser.h
1
/*
2
* Copyright (C) 2026 Yury Bobylev <bobilev_yury@mail.ru>
3
*
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the Free
6
* Software Foundation, version 3.
7
*
8
* This program is distributed in the hope that it will be useful, but WITHOUT
9
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11
* more details.
12
*
13
* You should have received a copy of the GNU General Public License along with
14
* this program. If not, see <https://www.gnu.org/licenses/>.
15
*/
16
#ifndef DOCXPARSER_H
17
#define DOCXPARSER_H
18
19
#include <BaseID.h>
20
#include <DublinCoreParser.h>
21
#include <LibArchive.h>
22
#include <MLBookProc.h>
23
#include <UDBase.h>
24
#include <XMLParserCPP.h>
25
33
class
DOCXParser
34
{
35
public
:
41
DOCXParser
(
const
std::shared_ptr<MLBookProc> &mlbp);
42
43
virtual
~DOCXParser
();
44
53
UDBElement
54
parseBook
(
const
std::string &book_content);
55
64
UDBase
65
getBookInfo
(
const
std::string &book_content);
66
67
private
:
68
std::shared_ptr<MLBookProc> mlbp;
69
70
LibArchive
*a;
71
72
XMLParserCPP *xml_parser;
73
74
DublinCoreParser
*dc_parser;
75
76
BaseID
bid;
77
};
78
79
#endif
// DOCXPARSER_H
BaseID
The BaseID class.
Definition
BaseID.h:28
DOCXParser::DOCXParser
DOCXParser(const std::shared_ptr< MLBookProc > &mlbp)
DOCXParser contructor.
DOCXParser::parseBook
UDBElement parseBook(const std::string &book_content)
DOCXParser::getBookInfo
UDBase getBookInfo(const std::string &book_content)
DublinCoreParser
The DublinCoreParser class.
Definition
DublinCoreParser.h:33
LibArchive
The LibArchive class.
Definition
LibArchive.h:34
DOCXParser.h
Generated by
1.17.0