BorderArtInfo.h Source File documentation

BorderArtInfo.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3 * This file is part of the libmspub project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10 #ifndef INCLUDED_BORDERARTINFO_H
11 #define INCLUDED_BORDERARTINFO_H
12
13 #include <vector>
14
15 #include <librevenge/librevenge.h>
16
17 #include "MSPUBTypes.h"
18
19 namespace libmspub
20 {
21 struct BorderImgInfo
22 {
23 ImgType m_type;
24 librevenge::RVNGBinaryData m_imgBlob;
25 BorderImgInfo(ImgType type) :
26 m_type(type), m_imgBlob()
27 {
28 }
29 };
30
31 struct BorderArtInfo
32 {
33 std::vector<BorderImgInfo> m_images;
34 std::vector<unsigned> m_offsets;
35 std::vector<unsigned> m_offsetsOrdered;
36 BorderArtInfo() : m_images(), m_offsets(), m_offsetsOrdered()
37 {
38 }
39 };
40 }
41 #endif
42 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
MSPUBTypes.h
libmspub
Definition: Arrow.h:14
libmspub::ImgType
ImgType
Definition: MSPUBTypes.h:214
libmspub::BorderArtInfo
Definition: BorderArtInfo.h:32
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
Definition: BorderArtInfo.h:22
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