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

Generated for libetonyek by doxygen 1.13.2