~ubuntu-branches/ubuntu/saucy/libwpd/saucy

« back to all changes in this revision

Viewing changes to src/lib/WP6GraphicsBoxStylePacket.h

  • Committer: Package Import Robot
  • Author(s): Rene Engelhard
  • Date: 2011-11-29 23:31:13 UTC
  • mfrom: (1.2.5)
  • Revision ID: package-import@ubuntu.com-20111129233113-xdtwca9h0y6wdxst
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) 2007 Fridrich Strba (fridrich.strba@bluewin.ch)
3
4
 * Copyright (C) 2007 Novell Inc. (http://www.novell.com)
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
 
38
39
        void _readContents(WPXInputStream *input, WPXEncryption *encryption);
39
40
        void parse(WP6Listener * /*listener*/) const {}
40
41
 
41
 
        uint8_t getGeneralPositioningFlags() const { return m_generalPositioningFlags; }
42
 
        uint8_t getHorizontalPositioningFlags() const { return m_horizontalPositioningFlags; }
43
 
        int16_t getHorizontalOffset() const { return m_horizontalOffset; }
44
 
        uint8_t getLeftColumn() const { return m_leftColumn; }
45
 
        uint8_t getRightColumn() const { return m_rightColumn; }
46
 
        uint8_t getVerticalPositioningFlags() const { return m_verticalPositioningFlags; }
47
 
        int16_t getVerticalOffset() const { return m_verticalOffset; }
48
 
        uint8_t getWidthFlags() const { return m_widthFlags; }
49
 
        uint16_t getWidth() const { return m_width; }
50
 
        uint8_t getHeightFlags() const { return m_heightFlags; }
51
 
        uint16_t getHeight() const { return m_height; }
52
 
        uint8_t getContentType() const { return m_contentType; }
53
 
        uint16_t getNativeWidth() const { return m_nativeWidth; }
54
 
        uint16_t getNativeHeight() const { return m_nativeHeight; }
 
42
        uint8_t getGeneralPositioningFlags() const
 
43
        {
 
44
                return m_generalPositioningFlags;
 
45
        }
 
46
        uint8_t getHorizontalPositioningFlags() const
 
47
        {
 
48
                return m_horizontalPositioningFlags;
 
49
        }
 
50
        int16_t getHorizontalOffset() const
 
51
        {
 
52
                return m_horizontalOffset;
 
53
        }
 
54
        uint8_t getLeftColumn() const
 
55
        {
 
56
                return m_leftColumn;
 
57
        }
 
58
        uint8_t getRightColumn() const
 
59
        {
 
60
                return m_rightColumn;
 
61
        }
 
62
        uint8_t getVerticalPositioningFlags() const
 
63
        {
 
64
                return m_verticalPositioningFlags;
 
65
        }
 
66
        int16_t getVerticalOffset() const
 
67
        {
 
68
                return m_verticalOffset;
 
69
        }
 
70
        uint8_t getWidthFlags() const
 
71
        {
 
72
                return m_widthFlags;
 
73
        }
 
74
        uint16_t getWidth() const
 
75
        {
 
76
                return m_width;
 
77
        }
 
78
        uint8_t getHeightFlags() const
 
79
        {
 
80
                return m_heightFlags;
 
81
        }
 
82
        uint16_t getHeight() const
 
83
        {
 
84
                return m_height;
 
85
        }
 
86
        uint8_t getContentType() const
 
87
        {
 
88
                return m_contentType;
 
89
        }
 
90
        uint16_t getNativeWidth() const
 
91
        {
 
92
                return m_nativeWidth;
 
93
        }
 
94
        uint16_t getNativeHeight() const
 
95
        {
 
96
                return m_nativeHeight;
 
97
        }
55
98
 
56
99
private:
57
 
        WP6GraphicsBoxStylePacket(const WP6GraphicsBoxStylePacket&);             
58
 
        WP6GraphicsBoxStylePacket& operator=(const WP6GraphicsBoxStylePacket&);
 
100
        WP6GraphicsBoxStylePacket(const WP6GraphicsBoxStylePacket &);
 
101
        WP6GraphicsBoxStylePacket &operator=(const WP6GraphicsBoxStylePacket &);
59
102
        bool m_isLibraryStyle;
60
103
        WPXString m_boxStyleName;
61
104
        uint8_t m_generalPositioningFlags;
73
116
        uint16_t m_nativeWidth, m_nativeHeight;
74
117
};
75
118
#endif /* WP6GRAPHICSBOXSTYLEPACKET_H */
 
119
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */