blob: 56e753454592a3ba52e2c6625201d8f291574ee8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
/* -*- 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 __VSD6PARSER_H__
#define __VSD6PARSER_H__
#include <stdio.h>
#include <iostream>
#include <librevenge/librevenge.h>
#include "VSDParser.h"
#include "VSDInternalStream.h"
namespace libvisio
{
class VSD6Parser : public VSDParser
{
public:
explicit VSD6Parser(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
~VSD6Parser();
protected:
virtual bool getChunkHeader(librevenge::RVNGInputStream *input);
private:
void readText(librevenge::RVNGInputStream *input);
virtual void readCharIX(librevenge::RVNGInputStream *input);
virtual void readParaIX(librevenge::RVNGInputStream *input);
virtual void readFillAndShadow(librevenge::RVNGInputStream *input);
virtual void readName(librevenge::RVNGInputStream *input);
virtual void readName2(librevenge::RVNGInputStream *input);
virtual void readTextField(librevenge::RVNGInputStream *input);
virtual void readLayerMem(librevenge::RVNGInputStream *input);
virtual void readMisc(librevenge::RVNGInputStream *input);
VSD6Parser();
VSD6Parser(const VSDParser &);
VSD6Parser &operator=(const VSDParser &);
};
} // namespace libvisio
#endif // __VSD6PARSER_H__
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
|