PAG1Parser.h Source File documentation

PAG1Parser.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 PAG1PARSER_H_INCLUDED
11#define PAG1PARSER_H_INCLUDED
12
13#include "IWORKParser.h"
14#include "PAG1ParserState.h"
15
16namespace libetonyek
17{
18
19class PAGCollector;
20struct PAG1Dictionary;
21
22 class PAG1Parser: public IWORKParser
23{
24public:
25 PAG1Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, PAGCollector &collector, PAG1Dictionary *dict);
26 ~PAG1Parser() override;
27
28private:
29 IWORKXMLContextPtr_t createDocumentContext() override;
30 IWORKXMLContextPtr_t createDiscardContext() override;
31 const IWORKTokenizer &getTokenizer() const override;
32
33private:
34 PAG1ParserState m_state;
35};
36
37} // namespace libetonyek
38
39#endif // PAG1PARSER_H_INCLUDED
40
41/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKParser.h
PAG1ParserState.h
libetonyek::IWORKParser::IWORKParser
IWORKParser(const IWORKParser &)
libetonyek::IWORKTokenizer
Definition IWORKTokenizer.h:17
libetonyek::PAG1ParserState
Definition PAG1ParserState.h:24
libetonyek::PAG1Parser::createDiscardContext
IWORKXMLContextPtr_t createDiscardContext() override
Definition PAG1Parser.cpp:924
libetonyek::PAG1Parser::PAG1Parser
PAG1Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, PAGCollector &collector, PAG1Dictionary *dict)
Definition PAG1Parser.cpp:909
libetonyek::PAG1Parser::getTokenizer
const IWORKTokenizer & getTokenizer() const override
Definition PAG1Parser.cpp:929
libetonyek::PAG1Parser::createDocumentContext
IWORKXMLContextPtr_t createDocumentContext() override
Definition PAG1Parser.cpp:919
libetonyek::PAG1Parser::m_state
PAG1ParserState m_state
Definition PAG1Parser.h:34
libetonyek::PAG1Parser::~PAG1Parser
~PAG1Parser() override
Definition PAG1Parser.cpp:915
libetonyek::PAGCollector
Definition PAGCollector.h:24
libetonyek::KEY1Token::dict
@ dict
Definition KEY1Token.h:51
libetonyek
Definition IWORKBezierElement.cpp:21
libetonyek::RVNGInputStreamPtr_t
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition libetonyek_utils.h:82
libetonyek::IWORKXMLContextPtr_t
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition IWORKXMLContext.h:20
libetonyek::PAG1Dictionary
Definition PAG1Dictionary.h:20