VSD5Parser.h Source File documentation

VSD5Parser.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 libvisio 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 __VSD5PARSER_H__
11 #define __VSD5PARSER_H__
12
13 #include <stdio.h>
14 #include <iostream>
15 #include <librevenge/librevenge.h>
16 #include "VSD6Parser.h"
17 #include "VSDInternalStream.h"
18
19 namespace libvisio
20 {
21
22 class VSD5Parser : public VSD6Parser
23 {
24 public:
25 explicit VSD5Parser(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
26 ~VSD5Parser();
27
28 protected:
29 virtual void readPointer(librevenge::RVNGInputStream *input, Pointer &ptr);
30 virtual bool getChunkHeader(librevenge::RVNGInputStream *input);
31 virtual void readPointerInfo(librevenge::RVNGInputStream *input, unsigned ptrType, unsigned shift, unsigned &listSize, int &pointerCount);
32
33 virtual void readGeomList(librevenge::RVNGInputStream *input);
34 virtual void readCharList(librevenge::RVNGInputStream *input);
35 virtual void readParaList(librevenge::RVNGInputStream *input);
36 virtual void readShapeList(librevenge::RVNGInputStream *input);
37 virtual void readPropList(librevenge::RVNGInputStream *input);
38 virtual void readFieldList(librevenge::RVNGInputStream *input);
39 virtual void readNameList2(librevenge::RVNGInputStream *input);
40 virtual void readTabsDataList(librevenge::RVNGInputStream *input);
41
42 virtual void readLine(librevenge::RVNGInputStream *input);
43 virtual void readFillAndShadow(librevenge::RVNGInputStream *input);
44 virtual void readTextBlock(librevenge::RVNGInputStream *input);
45 virtual void readCharIX(librevenge::RVNGInputStream *input);
46 virtual void readParaIX(librevenge::RVNGInputStream *input);
47 virtual void readTextField(librevenge::RVNGInputStream *input);
48
49 virtual void readShape(librevenge::RVNGInputStream *input);
50 virtual void readPage(librevenge::RVNGInputStream *input);
51
52 virtual void handleChunkRecords(librevenge::RVNGInputStream *input);
53
54 virtual void readStyleSheet(librevenge::RVNGInputStream *input);
55
56 virtual void readNameIDX(librevenge::RVNGInputStream *input);
57
58 virtual unsigned getUInt(librevenge::RVNGInputStream *input);
59 virtual int getInt(librevenge::RVNGInputStream *input);
60
61 private:
62 VSD5Parser();
63 VSD5Parser(const VSDParser &);
64 VSD5Parser &operator=(const VSDParser &);
65
66 void readList(librevenge::RVNGInputStream *input);
67 };
68
69 } // namespace libvisio
70
71 #endif // __VSD5PARSER_H__
72 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libvisio::VSD5Parser::handleChunkRecords
virtual void handleChunkRecords(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:99
libvisio::VSD5Parser::readShape
virtual void readShape(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:371
libvisio::VSD5Parser::~VSD5Parser
~VSD5Parser()
Definition: VSD5Parser.cpp:26
libvisio::VSD5Parser::readPointer
virtual void readPointer(librevenge::RVNGInputStream *input, Pointer &ptr)
Definition: VSD5Parser.cpp:29
libvisio::VSD5Parser::readList
void readList(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:152
libvisio::VSD5Parser::readLine
virtual void readLine(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:201
libvisio::VSD5Parser::readTextField
virtual void readTextField(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:453
VSD6Parser.h
libvisio::VSD5Parser::readTabsDataList
virtual void readTabsDataList(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:195
libvisio::VSD5Parser::readStyleSheet
virtual void readStyleSheet(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:361
libvisio::VSD6Parser
Definition: VSD6Parser.h:22
libvisio::Pointer
Definition: VSDParser.h:33
libvisio::VSD5Parser::readNameIDX
virtual void readNameIDX(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:468
libvisio::VSDParser
Definition: VSDParser.h:46
libvisio::VSD5Parser::readCharIX
virtual void readCharIX(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:266
VSDInternalStream.h
libvisio::VSD5Parser::readTextBlock
virtual void readTextBlock(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:428
libvisio::VSD5Parser::readNameList2
virtual void readNameList2(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:189
libvisio::VSD5Parser::readCharList
virtual void readCharList(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:159
libvisio::VSD5Parser::getInt
virtual int getInt(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:491
libvisio::VSD5Parser::readPointerInfo
virtual void readPointerInfo(librevenge::RVNGInputStream *input, unsigned ptrType, unsigned shift, unsigned &listSize, int &pointerCount)
Definition: VSD5Parser.cpp:38
libvisio::VSD5Parser::readFillAndShadow
virtual void readFillAndShadow(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:329
libvisio::VSD5Parser::readFieldList
virtual void readFieldList(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:183
libvisio::VSD5Parser::operator=
VSD5Parser & operator=(const VSDParser &)
libvisio::VSD5Parser::getChunkHeader
virtual bool getChunkHeader(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:74
libvisio::VSD5Parser::readPage
virtual void readPage(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:422
libvisio
Definition: libvisio_utils.h:73
libvisio::VSD5Parser::getUInt
virtual unsigned getUInt(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:485
libvisio::VSD5Parser::VSD5Parser
VSD5Parser()
libvisio::VSD5Parser::readPropList
virtual void readPropList(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:177
libvisio::VSD5Parser::readParaList
virtual void readParaList(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:165
libvisio::VSD5Parser
Definition: VSD5Parser.h:22
libvisio::VSD5Parser::readParaIX
virtual void readParaIX(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:221
libvisio::VSD5Parser::readShapeList
virtual void readShapeList(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:171
libvisio::VSD5Parser::readGeomList
virtual void readGeomList(librevenge::RVNGInputStream *input)
Definition: VSD5Parser.cpp:140