- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

WP5Parser.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* libwpd
3 * Version: MPL 2.0 / LGPLv2.1+
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 * Major Contributor(s):
10 * Copyright (C) 2003 William Lachance (wrlach@gmail.com)
11 * Copyright (C) 2003 Marc Maurer (uwog@uwog.net)
12 *
13 * For minor contributions see the git repository.
14 *
15 * Alternatively, the contents of this file may be used under the terms
16 * of the GNU Lesser General Public License Version 2.1 or later
17 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
18 * applicable instead of those above.
19 *
20 * For further information visit http://libwpd.sourceforge.net
21 */
22
23 /* "This product is not manufactured, approved, or supported by
24 * Corel Corporation or Corel Corporation Limited."
25 */
26
27 #ifndef WP5PARSER_H
28 #define WP5PARSER_H
29
30 #include "WPXParser.h"
31
32 class WP5Listener;
33 class WP5PrefixData;
34
35 class WP5Parser : public WPXParser
36 {
37 public:
38 WP5Parser(librevenge::RVNGInputStream *input, WPXHeader *header, WPXEncryption *encryption);
39 ~WP5Parser();
40
41 void parse(librevenge::RVNGTextInterface *documentInterface);
42 void parseSubDocument(librevenge::RVNGTextInterface *documentInterface);
43
44 static void parseDocument(librevenge::RVNGInputStream *input, WPXEncryption *encryption, WP5Listener *listener);
45
46 private:
47 WP5PrefixData *getPrefixData(librevenge::RVNGInputStream *input, WPXEncryption *encryption);
48
49 void parse(librevenge::RVNGInputStream *input, WPXEncryption *encryption, WP5Listener *listener);
50 };
51
52 #endif /* WP5PARSER_H */
53 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP5PrefixData
Definition: WP5PrefixData.h:32
WPXHeader
Definition: WPXHeader.h:35
WP5Listener
Definition: WP5Listener.h:39
WP5Parser::~WP5Parser
~WP5Parser()
Definition: WP5Parser.cpp:44
WP5Parser::WP5Parser
WP5Parser(librevenge::RVNGInputStream *input, WPXHeader *header, WPXEncryption *encryption)
Definition: WP5Parser.cpp:39
WPXParser
Definition: WPXParser.h:34
WPXParser.h
WP5Parser::parseDocument
static void parseDocument(librevenge::RVNGInputStream *input, WPXEncryption *encryption, WP5Listener *listener)
Definition: WP5Parser.cpp:77
WP5Parser::parse
void parse(librevenge::RVNGTextInterface *documentInterface)
Definition: WP5Parser.cpp:128
WP5Parser::getPrefixData
WP5PrefixData * getPrefixData(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP5Parser.cpp:48
WPXEncryption
Definition: WPXEncryption.h:33
WP5Parser::parseSubDocument
void parseSubDocument(librevenge::RVNGTextInterface *documentInterface)
Definition: WP5Parser.cpp:222
WP5Parser
Definition: WP5Parser.h:35