HTMLParser.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3  * This file is part of the libe-book project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef HTMLPARSER_H_INCLUDED
11 #define HTMLPARSER_H_INCLUDED
12 
13 #include <libe-book/libe-book.h>
14 
15 namespace libebook
16 {
17 
19 {
20  // disable copying
21  HTMLParser(const HTMLParser &other);
22  HTMLParser &operator=(const HTMLParser &other);
23 
24 public:
25  HTMLParser(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *document, bool xhtml);
26 
27  void parse();
28 
29 private:
30  librevenge::RVNGInputStream *const m_input;
31  librevenge::RVNGTextInterface *const m_document;
32  const bool m_xhtml;
33 };
34 
35 }
36 
37 #endif // HTMLPARSER_H_INCLUDED
38 
39 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition: EBOOKHTMLToken.h:89
void parse()
Definition: HTMLParser.cpp:72
const bool m_xhtml
Definition: HTMLParser.h:32
XMLTreeNodePtr_t document
Definition: EBOOKHTMLParser.cpp:163
HTMLParser & operator=(const HTMLParser &other)
Definition: BBeBCollector.cpp:18
librevenge::RVNGTextInterface *const m_document
Definition: HTMLParser.h:31
librevenge::RVNGInputStream *const m_input
Definition: HTMLParser.h:30
HTMLParser(const HTMLParser &other)
Definition: HTMLParser.h:18

Generated for libe-book by doxygen 1.8.14