PAG5Parser.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 libetonyek 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 PAG5PARSER_H_INCLUDED
11 #define PAG5PARSER_H_INCLUDED
12
13 #include "IWAParser.h"
14
15 namespace libetonyek
16 {
17
18 class PAGCollector;
19
20 class PAG5Parser : public IWAParser
21 {
22 public:
23 PAG5Parser(const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package, PAGCollector &collector);
24
25 private:
26 bool parseDocument() override;
27
28 bool dispatchShape(unsigned id);
29 bool parseGroupRef(unsigned id);
30 private:
31 PAGCollector &m_collector;
32 };
33
34 }
35
36 #endif
37
38 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::PAG5Parser::m_collector
PAGCollector & m_collector
Definition: PAG5Parser.h:31
libetonyek::PAGCollector
Definition: PAGCollector.h:23
libetonyek::PAG5Parser::PAG5Parser
PAG5Parser(const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package, PAGCollector &collector)
Definition: PAG5Parser.cpp:26
libetonyek::PAG5Parser::parseGroupRef
bool parseGroupRef(unsigned id)
Definition: PAG5Parser.cpp:40
libetonyek::PAG5Parser
Definition: PAG5Parser.h:20
libetonyek::RVNGInputStreamPtr_t
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:82
libetonyek::PAG5Parser::parseDocument
bool parseDocument() override
Definition: PAG5Parser.cpp:74
IWAParser.h
libetonyek::IWAParser
Definition: IWAParser.h:48
libetonyek::PAG5Parser::dispatchShape
bool dispatchShape(unsigned id)
Definition: PAG5Parser.cpp:32