- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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 __BORDERARTINFO_H__
11 #define __BORDERARTINFO_H__
12
13 #include <vector>
14 #include <librevenge/librevenge.h>
15 #include "MSPUBTypes.h"
16
17 namespace libmspub
18 {
19 struct BorderImgInfo
20 {
21 ImgType m_type;
22 librevenge::RVNGBinaryData m_imgBlob;
23 BorderImgInfo(ImgType type) :
24 m_type(type), m_imgBlob()
25 {
26 }
27 };
28
29 struct BorderArtInfo
30 {
31 std::vector<BorderImgInfo> m_images;
32 std::vector<unsigned> m_offsets;
33 std::vector<unsigned> m_offsetsOrdered;
34 BorderArtInfo() : m_images(), m_offsets(), m_offsetsOrdered()
35 {
36 }
37 };
38 }
39 #endif
40 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libmspub::BorderImgInfo::m_imgBlob
librevenge::RVNGBinaryData m_imgBlob
Definition: BorderArtInfo.h:22
libmspub::BorderArtInfo::m_images
std::vector< BorderImgInfo > m_images
Definition: BorderArtInfo.h:31
libmspub::BorderArtInfo::m_offsets
std::vector< unsigned > m_offsets
Definition: BorderArtInfo.h:32
libmspub::BorderArtInfo::BorderArtInfo
BorderArtInfo()
Definition: BorderArtInfo.h:34
libmspub::BorderArtInfo
Definition: BorderArtInfo.h:29
libmspub::BorderImgInfo::BorderImgInfo
BorderImgInfo(ImgType type)
Definition: BorderArtInfo.h:23
libmspub::ImgType
ImgType
Definition: MSPUBTypes.h:179
libmspub::BorderImgInfo::m_type
ImgType m_type
Definition: BorderArtInfo.h:21
libmspub::BorderImgInfo
Definition: BorderArtInfo.h:19
libmspub::BorderArtInfo::m_offsetsOrdered
std::vector< unsigned > m_offsetsOrdered
Definition: BorderArtInfo.h:33
MSPUBTypes.h