BorderArtInfo.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 libmspub 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 INCLUDED_BORDERARTINFO_H
#define INCLUDED_BORDERARTINFO_H
#include <vector>
#include <librevenge/librevenge.h>
#include "MSPUBTypes.h"
namespace libmspub
{
struct BorderImgInfo
{
ImgType m_type;
librevenge::RVNGBinaryData m_imgBlob;
BorderImgInfo(ImgType type) :
m_type(type), m_imgBlob()
{
}
};
struct BorderArtInfo
{
std::vector<BorderImgInfo> m_images;
std::vector<unsigned> m_offsets;
std::vector<unsigned> m_offsetsOrdered;
BorderArtInfo() : m_images(), m_offsets(), m_offsetsOrdered()
{
}
};
}
#endif
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
MSPUBTypes.h
libmspub
Definition Arrow.h:14
libmspub::ImgType
ImgType
Definition MSPUBTypes.h:214
libmspub::BorderArtInfo::m_images
std::vector< BorderImgInfo > m_images
Definition BorderArtInfo.h:33
libmspub::BorderArtInfo::BorderArtInfo
BorderArtInfo()
Definition BorderArtInfo.h:36
libmspub::BorderArtInfo::m_offsets
std::vector< unsigned > m_offsets
Definition BorderArtInfo.h:34
libmspub::BorderArtInfo::m_offsetsOrdered
std::vector< unsigned > m_offsetsOrdered
Definition BorderArtInfo.h:35
libmspub::BorderImgInfo::BorderImgInfo
BorderImgInfo(ImgType type)
Definition BorderArtInfo.h:25
libmspub::BorderImgInfo::m_imgBlob
librevenge::RVNGBinaryData m_imgBlob
Definition BorderArtInfo.h:24
libmspub::BorderImgInfo::m_type
ImgType m_type
Definition BorderArtInfo.h:23