NUM3Parser.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 NUM3PARSER_H_INCLUDED
11 #define NUM3PARSER_H_INCLUDED
12 
13 #include "IWAParser.h"
14 
15 namespace libetonyek
16 {
17 
18 class NUMCollector;
19 
20 class NUM3Parser : public IWAParser
21 {
22 public:
23  NUM3Parser(const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package, NUMCollector &collector);
24 
25 private:
26  bool parseDocument() override;
27  bool parseShapePlacement(const IWAMessage &msg, IWORKGeometryPtr_t &geometry, boost::optional<unsigned> &flags) override;
28  bool parseStickyNote(const IWAMessage &msg) override;
29 
30  bool parseSheet(unsigned id);
31 
32 private:
34 };
35 
36 }
37 
38 #endif
39 
40 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
NUM3Parser(const RVNGInputStreamPtr_t &fragments, const RVNGInputStreamPtr_t &package, NUMCollector &collector)
Definition: NUM3Parser.cpp:24
std::shared_ptr< IWORKGeometry > IWORKGeometryPtr_t
Definition: IWORKTypes_fwd.h:41
bool parseStickyNote(const IWAMessage &msg) override
Definition: NUM3Parser.cpp:67
Definition: NUMCollector.h:20
Definition: NUM3Parser.h:20
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr_t
Definition: libetonyek_utils.h:82
Definition: IWORKToken.h:236
bool parseDocument() override
Definition: NUM3Parser.cpp:84
Definition: IWORKToken.h:534
bool parseSheet(unsigned id)
Definition: NUM3Parser.cpp:30
NUMCollector & m_collector
Definition: NUM3Parser.h:33
Definition: IWAMessage.h:21
Definition: IWAParser.h:49
bool parseShapePlacement(const IWAMessage &msg, IWORKGeometryPtr_t &geometry, boost::optional< unsigned > &flags) override
Definition: NUM3Parser.cpp:46

Generated for libetonyek by doxygen 1.8.6