~ubuntu-branches/ubuntu/edgy/libwpd/edgy-security

« back to all changes in this revision

Viewing changes to src/lib/WP6FontDescriptorPacket.h

  • Committer: Bazaar Package Importer
  • Author(s): Rene Engelhard
  • Date: 2005-07-03 20:55:49 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050703205549-t8o91w9rgd7yb3qf
Tags: 0.8.2-2
* C++ ABI transition
  - rename libwpd8 / libwpd-stream8 to ...8c2 and replace/conflict (with)
    the old library. Change debian/rules, *.files and .shlibs for the new
    package names

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
class WP6FontDescriptorPacket : public WP6PrefixDataPacket
31
31
{
32
32
 public:
33
 
        WP6FontDescriptorPacket(GsfInput *input, int id, guint32 dataOffset, guint32 dataSize);
 
33
        WP6FontDescriptorPacket(WPXInputStream *input, int id, uint32_t dataOffset, uint32_t dataSize);
34
34
        virtual ~WP6FontDescriptorPacket();
35
 
        virtual void _readContents(GsfInput *input);
36
 
        const gchar *getFontName() const { return m_fontName; }
 
35
        virtual void _readContents(WPXInputStream *input);
 
36
        const char *getFontName() const { return m_fontName; }
37
37
 
38
38
 private:
39
 
        guint16 m_characterWidth;
40
 
        guint16 m_ascenderHeight;
41
 
        guint16 m_xHeight;
42
 
        guint16 m_descenderHeight;
43
 
        guint16 m_italicsAdjust;
44
 
        guint8 m_primaryFamilyId; // family id's are supposed to be one unified element, but I split them up to ease parsing
45
 
        guint8 m_primaryFamilyMemberId;
 
39
        uint16_t m_characterWidth;
 
40
        uint16_t m_ascenderHeight;
 
41
        uint16_t m_xHeight;
 
42
        uint16_t m_descenderHeight;
 
43
        uint16_t m_italicsAdjust;
 
44
        uint8_t m_primaryFamilyId; // family id's are supposed to be one unified element, but I split them up to ease parsing
 
45
        uint8_t m_primaryFamilyMemberId;
46
46
        
47
 
        guint8 m_scriptingSystem;
48
 
        guint8 m_primaryCharacterSet;
49
 
        guint8 m_width;
50
 
        guint8 m_weight; 
51
 
        guint8 m_attributes;
52
 
        guint8 m_generalCharacteristics;
53
 
        guint8 m_classification;
54
 
        guint8 m_fill; // fill byte
55
 
        guint8 m_fontType;
56
 
        guint8 m_fontSourceFileType;
57
 
 
58
 
        guint16 m_fontNameLength;
59
 
 
60
 
        gchar *m_fontName; 
 
47
        uint8_t m_scriptingSystem;
 
48
        uint8_t m_primaryCharacterSet;
 
49
        uint8_t m_width;
 
50
        uint8_t m_weight; 
 
51
        uint8_t m_attributes;
 
52
        uint8_t m_generalCharacteristics;
 
53
        uint8_t m_classification;
 
54
        uint8_t m_fill; // fill byte
 
55
        uint8_t m_fontType;
 
56
        uint8_t m_fontSourceFileType;
 
57
 
 
58
        uint16_t m_fontNameLength;
 
59
 
 
60
        char *m_fontName; 
61
61
};
62
62
#endif