BorderArtInfo.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 libmspub 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 __BORDERARTINFO_H__
00011 #define __BORDERARTINFO_H__
00012 
00013 #include <vector>
00014 #include <librevenge/librevenge.h>
00015 #include "MSPUBTypes.h"
00016 
00017 namespace libmspub
00018 {
00019 struct BorderImgInfo
00020 {
00021   ImgType m_type;
00022   librevenge::RVNGBinaryData m_imgBlob;
00023   BorderImgInfo(ImgType type) :
00024     m_type(type), m_imgBlob()
00025   {
00026   }
00027 };
00028 
00029 struct BorderArtInfo
00030 {
00031   std::vector<BorderImgInfo> m_images;
00032   std::vector<unsigned> m_offsets;
00033   std::vector<unsigned> m_offsetsOrdered;
00034   BorderArtInfo() : m_images(), m_offsets(), m_offsetsOrdered()
00035   {
00036   }
00037 };
00038 }
00039 #endif
00040 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */