KEY1Parser.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 KEY1PARSER_H_INCLUDED
11#define KEY1PARSER_H_INCLUDED
12
13#include "librevenge/RVNGBinaryData.h"
14
15#include "IWORKParser.h"
16#include "KEY1ParserState.h"
17
18 namespace libetonyek
19{
20
21 class KEYCollector;
22
23 class KEY1Parser : public IWORKParser
24{
25 public:
26 KEY1Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, KEYCollector &collector, KEY1Dictionary &dict);
27 ~KEY1Parser() override;
28
29 private:
30 IWORKXMLContextPtr_t createDocumentContext() override;
31 IWORKXMLContextPtr_t createDiscardContext() override;
32 const IWORKTokenizer &getTokenizer() const override;
33
34 private:
35 KEY1ParserState m_state;
36 librevenge::RVNGBinaryData m_data;
37};
38
39}
40
41#endif // KEY1PARSER_H_INCLUDED
42
43/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKParser.h
KEY1ParserState.h
libetonyek::IWORKParser::IWORKParser
IWORKParser(const IWORKParser &)
libetonyek::IWORKTokenizer
Definition IWORKTokenizer.h:17
libetonyek::KEY1ParserState
Definition KEY1ParserState.h:45
libetonyek::KEY1Parser::getTokenizer
const IWORKTokenizer & getTokenizer() const override
Definition KEY1Parser.cpp:1977
libetonyek::KEY1Parser::createDiscardContext
IWORKXMLContextPtr_t createDiscardContext() override
Definition KEY1Parser.cpp:1972
libetonyek::KEY1Parser::~KEY1Parser
~KEY1Parser() override
Definition KEY1Parser.cpp:1963
libetonyek::KEY1Parser::m_data
librevenge::RVNGBinaryData m_data
Definition KEY1Parser.h:36
libetonyek::KEY1Parser::KEY1Parser
KEY1Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, KEYCollector &collector, KEY1Dictionary &dict)
Definition KEY1Parser.cpp:1955
libetonyek::KEY1Parser::m_state
KEY1ParserState m_state
Definition KEY1Parser.h:35
libetonyek::KEY1Parser::createDocumentContext
IWORKXMLContextPtr_t createDocumentContext() override
Definition KEY1Parser.cpp:1967
libetonyek::KEYCollector
Definition KEYCollector.h:25
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::KEY1Dictionary
A dictionary of all referenceable entities in the presentation.
Definition KEY1Dictionary.h:36