WP5Parser.h Source File documentation

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
32class WP5Listener;
33class WP5PrefixData;
34
35 class WP5Parser : public WPXParser
36{
37public:
38 WP5Parser(librevenge::RVNGInputStream *input, WPXHeader *header, WPXEncryption *encryption);
39 ~WP5Parser() override;
40
41 void parse(librevenge::RVNGTextInterface *documentInterface) override;
42 void parseSubDocument(librevenge::RVNGTextInterface *documentInterface) override;
43
44 static void parseDocument(librevenge::RVNGInputStream *input, WPXEncryption *encryption, WP5Listener *listener);
45
46private:
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: */
WPXParser.h
WP5Listener
Definition WP5Listener.h:41
WP5Parser::parse
void parse(librevenge::RVNGTextInterface *documentInterface) override
Definition WP5Parser.cpp:118
WP5Parser::~WP5Parser
~WP5Parser() override
Definition WP5Parser.cpp:47
WP5Parser::WP5Parser
WP5Parser(librevenge::RVNGInputStream *input, WPXHeader *header, WPXEncryption *encryption)
Definition WP5Parser.cpp:42
WP5Parser::getPrefixData
WP5PrefixData * getPrefixData(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition WP5Parser.cpp:51
WP5Parser::parseSubDocument
void parseSubDocument(librevenge::RVNGTextInterface *documentInterface) override
Definition WP5Parser.cpp:194
WP5Parser::parseDocument
static void parseDocument(librevenge::RVNGInputStream *input, WPXEncryption *encryption, WP5Listener *listener)
Definition WP5Parser.cpp:70
WP5PrefixData
Definition WP5PrefixData.h:35
WPXEncryption
Definition WPXEncryption.h:36
WPXHeader
Definition WPXHeader.h:36
WPXParser::WPXParser
WPXParser(librevenge::RVNGInputStream *input, WPXHeader *header, WPXEncryption *encryption)
Definition WPXParser.cpp:32