VSD6Parser.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /*
00003  * This file is part of the libvisio project.
00004  *
00005  * This Source Code Form is subject to the terms of the Mozilla Public
00006  * License, v. 2.0. If a copy of the MPL was not distributed with this
00007  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
00008  */
00009 
00010 #ifndef __VSD6PARSER_H__
00011 #define __VSD6PARSER_H__
00012 
00013 #include <stdio.h>
00014 #include <iostream>
00015 #include <librevenge/librevenge.h>
00016 #include "VSDParser.h"
00017 #include "VSDInternalStream.h"
00018 
00019 namespace libvisio
00020 {
00021 
00022 class VSD6Parser : public VSDParser
00023 {
00024 public:
00025   explicit VSD6Parser(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
00026   ~VSD6Parser();
00027 protected:
00028   virtual bool getChunkHeader(librevenge::RVNGInputStream *input);
00029 private:
00030   void readText(librevenge::RVNGInputStream *input);
00031   virtual void readCharIX(librevenge::RVNGInputStream *input);
00032   virtual void readParaIX(librevenge::RVNGInputStream *input);
00033   virtual void readFillAndShadow(librevenge::RVNGInputStream *input);
00034   virtual void readName(librevenge::RVNGInputStream *input);
00035   virtual void readName2(librevenge::RVNGInputStream *input);
00036   virtual void readTextField(librevenge::RVNGInputStream *input);
00037 
00038   VSD6Parser();
00039   VSD6Parser(const VSDParser &);
00040   VSD6Parser &operator=(const VSDParser &);
00041 };
00042 
00043 } // namespace libvisio
00044 
00045 #endif // __VSD6PARSER_H__
00046 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */