WP1PictureGroup.h Source File documentation

WP1PictureGroup.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2 /* libwpd
3 * Version: MPL 2.0 / LGPLv2.1+
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 * Major Contributor(s):
10 * Copyright (C) 2006 Fridrich Strba (fridrich.strba@bluewin.ch)
11 *
12 * For minor contributions see the git repository.
13 *
14 * Alternatively, the contents of this file may be used under the terms
15 * of the GNU Lesser General Public License Version 2.1 or later
16 * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
17 * applicable instead of those above.
18 *
19 * For further information visit http://libwpd.sourceforge.net
20 */
21
22 /* "This product is not manufactured, approved, or supported by
23 * Corel Corporation or Corel Corporation Limited."
24 */
25
26 #ifndef WP1PICTUREGROUP_H
27 #define WP1PICTUREGROUP_H
28
29 #include "WP1VariableLengthGroup.h"
30 #include "libwpd_internal.h"
31
32 class WP1SubDocument;
33
34 class WP1PictureGroup : public WP1VariableLengthGroup
35 {
36 public:
37 WP1PictureGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char group);
38 ~WP1PictureGroup() override;
39 void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override;
40 void parse(WP1Listener *listener) override;
41
42 private:
43 WP1PictureGroup(const WP1PictureGroup &);
44 WP1PictureGroup &operator=(const WP1PictureGroup &);
45 librevenge::RVNGBinaryData m_binaryData;
46 unsigned short m_width, m_height;
47 };
48
49 #endif /* WP1PICTUREGROUP_H */
50 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP1PictureGroup::m_height
unsigned short m_height
Definition: WP1PictureGroup.h:46
WP1VariableLengthGroup::getSize
unsigned getSize() const
Definition: WP1VariableLengthGroup.h:51
WP1Listener::insertPicture
virtual void insertPicture(unsigned short width, unsigned short height, const librevenge::RVNGBinaryData &binaryData)=0
WPD_DEBUG_MSG
#define WPD_DEBUG_MSG(M)
Definition: libwpd_internal.h:50
readU16
unsigned short readU16(librevenge::RVNGInputStream *input, WPXEncryption *encryption, bool bigendian)
Definition: libwpd_internal.cpp:119
WP1PictureGroup.h
libwpd_internal.h
WP1Listener
Definition: WP1Listener.h:39
WP1PictureGroup::m_binaryData
librevenge::RVNGBinaryData m_binaryData
Definition: WP1PictureGroup.h:45
WP1PictureGroup::WP1PictureGroup
WP1PictureGroup(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned char group)
Definition: WP1PictureGroup.cpp:38
WP1PictureGroup::operator=
WP1PictureGroup & operator=(const WP1PictureGroup &)
WP1PictureGroup::_readContents
void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override
Definition: WP1PictureGroup.cpp:51
WP1VariableLengthGroup
Definition: WP1VariableLengthGroup.h:34
WP1PictureGroup::WP1PictureGroup
WP1PictureGroup(const WP1PictureGroup &)
WP1PictureGroup::~WP1PictureGroup
~WP1PictureGroup() override
Definition: WP1PictureGroup.cpp:47
WP1PictureGroup
Definition: WP1PictureGroup.h:35
WP1VariableLengthGroup.h
WP1PictureGroup::m_width
unsigned short m_width
Definition: WP1PictureGroup.h:46
WP1SubDocument
Definition: WP1SubDocument.h:34
WP1VariableLengthGroup::_read
void _read(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: WP1VariableLengthGroup.cpp:100
readU8
unsigned char readU8(librevenge::RVNGInputStream *input, WPXEncryption *encryption)
Definition: libwpd_internal.cpp:106
WPXEncryption
Definition: WPXEncryption.h:36
WP1PictureGroup::parse
void parse(WP1Listener *listener) override
Definition: WP1PictureGroup.cpp:84