~ubuntu-branches/ubuntu/quantal/libwpd/quantal

« back to all changes in this revision

Viewing changes to src/lib/WP6DefaultInitialFontPacket.h

  • Committer: Package Import Robot
  • Author(s): Rene Engelhard
  • Date: 2011-11-29 23:31:13 UTC
  • mfrom: (10.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20111129233113-g69767blnzxs6pee
Tags: 0.9.4-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
1
2
/* libwpd
2
3
 * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
3
4
 * Copyright (C) 2002 Marc Maurer (uwog@uwog.net)
4
 
 *  
 
5
 *
5
6
 * This library is free software; you can redistribute it and/or
6
7
 * modify it under the terms of the GNU Library General Public
7
8
 * License as published by the Free Software Foundation; either
19
20
 * For further information visit http://libwpd.sourceforge.net
20
21
 */
21
22
 
22
 
/* "This product is not manufactured, approved, or supported by 
 
23
/* "This product is not manufactured, approved, or supported by
23
24
 * Corel Corporation or Corel Corporation Limited."
24
25
 */
25
26
 
29
30
 
30
31
class WP6DefaultInitialFontPacket : public WP6PrefixDataPacket
31
32
{
32
 
 public:
 
33
public:
33
34
        WP6DefaultInitialFontPacket(WPXInputStream *input, WPXEncryption *encryption, int id, uint32_t dataOffset, uint32_t dataSize);
34
35
        void _readContents(WPXInputStream *input, WPXEncryption *encryption);
35
 
        uint16_t getInitialFontDescriptorPID() const { return m_initialFontDescriptorPID; }
36
 
        uint16_t getPointSize() const { return m_pointSize; }
 
36
        uint16_t getInitialFontDescriptorPID() const
 
37
        {
 
38
                return m_initialFontDescriptorPID;
 
39
        }
 
40
        uint16_t getPointSize() const
 
41
        {
 
42
                return m_pointSize;
 
43
        }
37
44
        void parse(WP6Listener *listener) const;
38
 
        
39
 
 private:
 
45
 
 
46
private:
40
47
        uint16_t m_numPrefixIDs;
41
48
        uint16_t m_initialFontDescriptorPID;
42
49
        uint16_t m_pointSize;
43
50
};
44
51
#endif
 
52
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */