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 bool parseDocumentSettingsRef(unsigned id);
31 private:
32 PAGCollector &m_collector;
33};
34
35}
36
37#endif
38
39/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWAParser.h
libetonyek::IWAParser::IWAParser
IWAParser(const IWAParser &)
libetonyek::PAG5Parser::parseGroupRef
bool parseGroupRef(unsigned id)
Definition PAG5Parser.cpp:40
libetonyek::PAG5Parser::dispatchShape
bool dispatchShape(unsigned id)
Definition PAG5Parser.cpp:32
libetonyek::PAG5Parser::parseDocumentSettingsRef
bool parseDocumentSettingsRef(unsigned id)
Definition PAG5Parser.cpp:74
libetonyek::PAG5Parser::PAG5Parser
PAG5Parser(const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package, PAGCollector &collector)
Definition PAG5Parser.cpp:26
libetonyek::PAG5Parser::parseDocument
bool parseDocument() override
Definition PAG5Parser.cpp:115
libetonyek::PAG5Parser::m_collector
PAGCollector & m_collector
Definition PAG5Parser.h:32
libetonyek::PAGCollector
Definition PAGCollector.h:24
libetonyek
Definition IWORKBezierElement.cpp:21
libetonyek::RVNGInputStreamPtr_t
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition libetonyek_utils.h:82