VSD5Parser.h
Go to the documentation of this file.
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/*
* This file is part of the libvisio project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef __VSD5PARSER_H__
#define __VSD5PARSER_H__
#include <stdio.h>
#include <iostream>
#include <librevenge/librevenge.h>
#include "VSD6Parser.h"
#include "VSDInternalStream.h"
namespace libvisio
{
class VSD5Parser : public VSD6Parser
{
public:
explicit VSD5Parser(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
~VSD5Parser() override;
protected:
void readPointer(librevenge::RVNGInputStream *input, Pointer &ptr) override;
bool getChunkHeader(librevenge::RVNGInputStream *input) override;
void readPointerInfo(librevenge::RVNGInputStream *input, unsigned ptrType, unsigned shift, unsigned &listSize, int &pointerCount) override;
void readGeomList(librevenge::RVNGInputStream *input) override;
void readCharList(librevenge::RVNGInputStream *input) override;
void readParaList(librevenge::RVNGInputStream *input) override;
void readShapeList(librevenge::RVNGInputStream *input) override;
void readPropList(librevenge::RVNGInputStream *input) override;
void readFieldList(librevenge::RVNGInputStream *input) override;
void readNameList2(librevenge::RVNGInputStream *input) override;
void readTabsDataList(librevenge::RVNGInputStream *input) override;
void readLine(librevenge::RVNGInputStream *input) override;
void readFillAndShadow(librevenge::RVNGInputStream *input) override;
void readTextBlock(librevenge::RVNGInputStream *input) override;
void readCharIX(librevenge::RVNGInputStream *input) override;
void readParaIX(librevenge::RVNGInputStream *input) override;
void readTextField(librevenge::RVNGInputStream *input) override;
void readShape(librevenge::RVNGInputStream *input) override;
void readPage(librevenge::RVNGInputStream *input) override;
virtual void handleChunkRecords(librevenge::RVNGInputStream *input);
void readStyleSheet(librevenge::RVNGInputStream *input) override;
void readNameIDX(librevenge::RVNGInputStream *input) override;
void readMisc(librevenge::RVNGInputStream *input) override;
void readXForm1D(librevenge::RVNGInputStream *input) override;
unsigned getUInt(librevenge::RVNGInputStream *input) override;
int getInt(librevenge::RVNGInputStream *input) override;
private:
VSD5Parser();
VSD5Parser(const VSDParser &);
VSD5Parser &operator=(const VSDParser &);
void readList(librevenge::RVNGInputStream *input);
};
} // namespace libvisio
#endif // __VSD5PARSER_H__
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
VSD6Parser.h
VSDInternalStream.h
libvisio::VSD5Parser::readShape
void readShape(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:374
libvisio::VSD5Parser::readList
void readList(librevenge::RVNGInputStream *input)
Definition VSD5Parser.cpp:153
libvisio::VSD5Parser::readXForm1D
void readXForm1D(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:499
libvisio::VSD5Parser::readNameList2
void readNameList2(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:190
libvisio::VSD5Parser::~VSD5Parser
~VSD5Parser() override
Definition VSD5Parser.cpp:27
libvisio::VSD5Parser::readPropList
void readPropList(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:178
libvisio::VSD5Parser::readParaIX
void readParaIX(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:222
libvisio::VSD5Parser::getChunkHeader
bool getChunkHeader(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:75
libvisio::VSD5Parser::readTabsDataList
void readTabsDataList(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:196
libvisio::VSD5Parser::readPointerInfo
void readPointerInfo(librevenge::RVNGInputStream *input, unsigned ptrType, unsigned shift, unsigned &listSize, int &pointerCount) override
Definition VSD5Parser.cpp:39
libvisio::VSD5Parser::getInt
int getInt(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:519
libvisio::VSD5Parser::readShapeList
void readShapeList(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:172
libvisio::VSD5Parser::readCharList
void readCharList(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:160
libvisio::VSD5Parser::readMisc
void readMisc(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:490
libvisio::VSD5Parser::operator=
VSD5Parser & operator=(const VSDParser &)
libvisio::VSD5Parser::readGeomList
void readGeomList(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:141
libvisio::VSD5Parser::readFieldList
void readFieldList(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:184
libvisio::VSD5Parser::handleChunkRecords
virtual void handleChunkRecords(librevenge::RVNGInputStream *input)
Definition VSD5Parser.cpp:100
libvisio::VSD5Parser::getUInt
unsigned getUInt(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:513
libvisio::VSD5Parser::readTextBlock
void readTextBlock(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:431
libvisio::VSD5Parser::readFillAndShadow
void readFillAndShadow(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:331
libvisio::VSD5Parser::readNameIDX
void readNameIDX(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:472
libvisio::VSD5Parser::VSD5Parser
VSD5Parser(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter)
Definition VSD5Parser.cpp:23
libvisio::VSD5Parser::VSD5Parser
VSD5Parser(const VSDParser &)
libvisio::VSD5Parser::readPage
void readPage(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:425
libvisio::VSD5Parser::readLine
void readLine(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:202
libvisio::VSD5Parser::readPointer
void readPointer(librevenge::RVNGInputStream *input, Pointer &ptr) override
Definition VSD5Parser.cpp:30
libvisio::VSD5Parser::readTextField
void readTextField(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:456
libvisio::VSD5Parser::VSD5Parser
VSD5Parser()
libvisio::VSD5Parser::readParaList
void readParaList(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:166
libvisio::VSD5Parser::readCharIX
void readCharIX(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:267
libvisio::VSD5Parser::readStyleSheet
void readStyleSheet(librevenge::RVNGInputStream *input) override
Definition VSD5Parser.cpp:364
libvisio::VSD6Parser::VSD6Parser
VSD6Parser(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter)
Definition VSD6Parser.cpp:22
libvisio::VSDParser
Definition VSDParser.h:48
libvisio
Definition libvisio_utils.h:47
libvisio::Pointer
Definition VSDParser.h:35