WP6HyperlinkPacket.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) 2015 David Tardon (dtardon@redhat.com)
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 WP6HYPERLINKPACKET_H
27 #define WP6HYPERLINKPACKET_H
28 
29 #include <librevenge/librevenge.h>
30 
31 #include "WP6PrefixDataPacket.h"
32 
34 {
35 public:
36  WP6HyperlinkPacket(librevenge::RVNGInputStream *input, WPXEncryption *encryption, int id, unsigned dataOffset, unsigned dataSize);
37  void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override;
38 
39  const librevenge::RVNGString &getTarget() const;
40 
41 private:
42  librevenge::RVNGString m_target;
43 };
44 
45 #endif
46 
47 /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
WP6PrefixDataPacket::_read
void _read(librevenge::RVNGInputStream *input, WPXEncryption *encryption, unsigned dataOffset, unsigned dataSize)
Definition: WP6PrefixDataPacket.cpp:102
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
WP6HyperlinkPacket::_readContents
void _readContents(librevenge::RVNGInputStream *input, WPXEncryption *encryption) override
Definition: WP6HyperlinkPacket.cpp:39
libwpd_internal.h
WP6PrefixDataPacket::getDataSize
unsigned getDataSize() const
Definition: WP6PrefixDataPacket.h:48
WP6PrefixDataPacket.h
WP6HyperlinkPacket::m_target
librevenge::RVNGString m_target
Definition: WP6HyperlinkPacket.h:42
WP6HyperlinkPacket::WP6HyperlinkPacket
WP6HyperlinkPacket(librevenge::RVNGInputStream *input, WPXEncryption *encryption, int id, unsigned dataOffset, unsigned dataSize)
Definition: WP6HyperlinkPacket.cpp:32
WP6HyperlinkPacket::getTarget
const librevenge::RVNGString & getTarget() const
Definition: WP6HyperlinkPacket.cpp:53
WP6HyperlinkPacket.h
appendUCS4
void appendUCS4(librevenge::RVNGString &str, unsigned ucs4)
Definition: libwpd_internal.cpp:154
WP6HyperlinkPacket
Definition: WP6HyperlinkPacket.h:34
WP6PrefixDataPacket
Definition: WP6PrefixDataPacket.h:39
WPXEncryption
Definition: WPXEncryption.h:36

Generated for libwpd by doxygen 1.8.20