NUM1Parser.h Source File documentation

NUM1Parser.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 NUM1PARSER_H_INCLUDED
11 #define NUM1PARSER_H_INCLUDED
12
13 #include "IWORKParser.h"
14 #include "NUM1ParserState.h"
15
16 namespace libetonyek
17 {
18
19 class NUMCollector;
20 struct NUM1Dictionary;
21
22 class NUM1Parser: public IWORKParser
23 {
24 public:
25 NUM1Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, NUMCollector &collector, NUM1Dictionary *dict);
26 ~NUM1Parser() override;
27
28 private:
29 IWORKXMLContextPtr_t createDocumentContext() override;
30 IWORKXMLContextPtr_t createDiscardContext() override;
31 const IWORKTokenizer &getTokenizer() const override;
32
33 private:
34 NUM1ParserState m_state;
35 };
36
37 } // namespace libetonyek
38
39 #endif // NUM1PARSER_H_INCLUDED
40
41 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
IWORKChainedTokenizer.h
IWORKMetadataElement.h
NUM1Parser.h
libetonyek::NUM1Token::workspace_array
@ workspace_array
Definition: NUM1Token.h:38
NUM1Token.h
libetonyek
Definition: IWORKBezierElement.cpp:20
libetonyek::IWORKToken::group
@ group
Definition: IWORKToken.h:244
libetonyek::IWORKToken::shape
@ shape
Definition: IWORKToken.h:394
libetonyek::IWORKChainedTokenizer
Definition: IWORKChainedTokenizer.h:18
NUM1Dictionary.h
libetonyek::NUM1Token::stylesheet
@ stylesheet
Definition: NUM1Token.h:36
libetonyek::NUM1ParserState
Definition: NUM1ParserState.h:22
libetonyek::NUM1Token::version
@ version
Definition: NUM1Token.h:42
libetonyek::IWORKXMLContextPtr_t
std::shared_ptr< IWORKXMLContext > IWORKXMLContextPtr_t
Definition: IWORKXMLContext.h:18
IWORKStylesheetBase.h
libetonyek::IWORKTokenizer
Definition: IWORKTokenizer.h:16
libetonyek::NUM1Parser::NUM1Parser
NUM1Parser(const RVNGInputStreamPtr_t &input, const RVNGInputStreamPtr_t &package, NUMCollector &collector, NUM1Dictionary *dict)
Definition: NUM1Parser.cpp:510
libetonyek::NUM1Token::getTokenizer
const IWORKTokenizer & getTokenizer()
Definition: NUM1Token.cpp:57
IWORKStyleContext.h
ETONYEK_DEBUG_MSG
#define ETONYEK_DEBUG_MSG(M)
Definition: libetonyek_utils.h:54
libetonyek::IWORKToken::anon_styles
@ anon_styles
Definition: IWORKToken.h:101
libetonyek::NUM1Parser::~NUM1Parser
~NUM1Parser() override
Definition: NUM1Parser.cpp:516
libetonyek::IWORKToken::drawables
@ drawables
Definition: IWORKToken.h:183
libetonyek::NUM1Parser
Definition: NUM1Parser.h:22
libetonyek::IWORKToken::chart_info
@ chart_info
Definition: IWORKToken.h:140
libetonyek::NUM1Parser::createDiscardContext
IWORKXMLContextPtr_t createDiscardContext() override
Definition: NUM1Parser.cpp:525
libetonyek::IWORKToken::tabular_info
@ tabular_info
Definition: IWORKToken.h:458
libetonyek::IWORKParser
Definition: IWORKParser.h:23
IWORKShapeContext.h
libetonyek::NUM1Token::NS_URI_LS
@ NS_URI_LS
Definition: NUM1Token.h:54
libetonyek::NUM1XMLElementContextBase
NUM1XMLContextBase< IWORKXMLContextElement > NUM1XMLElementContextBase
Definition: NUM1XMLContextBase.h:38
libetonyek::NUM1Dictionary
Definition: NUM1Dictionary.h:18
IWORKStylesContext.h
IWORKGroupElement.h
NUMCollector.h
libetonyek::NUM1Token::page_info
@ page_info
Definition: NUM1Token.h:35
libetonyek::NUMCollector
Definition: NUMCollector.h:20
libetonyek::IWORKToken::workspace_style
@ workspace_style
Definition: IWORKToken.h:495
libetonyek::IWORKToken::metadata
@ metadata
Definition: IWORKToken.h:323
libetonyek::IWORKToken::element
@ element
Definition: IWORKToken.h:188
libetonyek::IWORKToken::layer
@ layer
Definition: IWORKToken.h:286
libetonyek::IWORKToken::styles
@ styles
Definition: IWORKToken.h:416
libetonyek::NUM1Token::document
@ document
Definition: NUM1Token.h:34
libetonyek::IWORKToken::layers
@ layers
Definition: IWORKToken.h:288
libetonyek::IWORKToken::version
@ version
Definition: IWORKToken.h:626
IWORKMediaElement.h
IWORKDiscardContext.h
libetonyek::NUM1Token::workspace_style
@ workspace_style
Definition: NUM1Token.h:39
NUM1ParserState.h
IWORKParser.h
libetonyek::NUM1Parser::getTokenizer
const IWORKTokenizer & getTokenizer() const override
Definition: NUM1Parser.cpp:530
IWORKChartInfoElement.h
IWORKTabularInfoElement.h
m_state
PAG1ParserState & m_state
Definition: PAG1TextStorageElement.cpp:413
libetonyek::NUM1Token::workspace
@ workspace
Definition: NUM1Token.h:37
libetonyek::KEY1Token::dict
@ dict
Definition: KEY1Token.h:51
libetonyek::IWORKToken::NS_URI_SF
@ NS_URI_SF
Definition: IWORKToken.h:688
libetonyek::NUM1Parser::createDocumentContext
IWORKXMLContextPtr_t createDocumentContext() override
Definition: NUM1Parser.cpp:520
IWORKToken.h
libetonyek::RVNGInputStreamPtr_t
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:82
libetonyek::IWORKToken::getTokenizer
const IWORKTokenizer & getTokenizer()
Definition: IWORKToken.cpp:57
libetonyek::IWORKToken::name
@ name
Definition: IWORKToken.h:578
libetonyek::IWORKToken::value
@ value
Definition: IWORKToken.h:624
NUM1XMLContextBase.h
libetonyek::NUM1Token::VERSION_STR_2
@ VERSION_STR_2
Definition: NUM1Token.h:45
libetonyek::NUM1Parser::m_state
NUM1ParserState m_state
Definition: NUM1Parser.h:34
libetonyek::IWORKToken::media
@ media
Definition: IWORKToken.h:321
libetonyek_xml.h