IMPText.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 IMPTEXT_H_INCLUDED
11 #define IMPTEXT_H_INCLUDED
12 
13 #include <string>
14 
15 
16 namespace libebook
17 {
18 
19 class IMPCollector;
20 
21 class IMPText
22 {
23  // -Weffc++
24  IMPText(const IMPText &);
25  IMPText &operator=(const IMPText &);
26 
27 public:
28  IMPText(librevenge::RVNGInputStream *input, IMPCollector *collector);
29 
30  bool parse();
31 
32 private:
33  void flushText();
34 
35 private:
36  librevenge::RVNGInputStream *const m_input;
38 
39  std::string m_text;
42 };
43 
44 }
45 
46 #endif // IMPTEXT_H_INCLUDED
47 
48 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IMPText(const IMPText &)
Definition: EBOOKHTMLToken.h:91
bool parse()
Definition: IMPText.cpp:53
Definition: IMPText.h:21
IMPText & operator=(const IMPText &)
bool m_openHeader
Definition: IMPText.h:40
IMPCollector *const m_collector
Definition: IMPText.h:37
void flushText()
Definition: IMPText.cpp:130
Definition: IMPCollector.h:22
bool m_openFooter
Definition: IMPText.h:41
std::string m_text
Definition: IMPText.h:39
Definition: CHMParser.cpp:20
librevenge::RVNGInputStream *const m_input
Definition: IMPText.h:36

Generated for libe-book by doxygen 1.8.8