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

« back to all changes in this revision

Viewing changes to src/lib/WP6PageGroup.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) 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 Lesser 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
 
30
31
 
31
32
class WP6PageGroup : public WP6VariableLengthGroup
32
33
{
33
 
 public:
34
 
        WP6PageGroup(WPXInputStream *input, WPXEncryption *encryption); 
 
34
public:
 
35
        WP6PageGroup(WPXInputStream *input, WPXEncryption *encryption);
35
36
        ~WP6PageGroup();
36
37
        void _readContents(WPXInputStream *input, WPXEncryption *encryption);
37
38
        void parse(WP6Listener *listener);
38
39
 
39
 
 private:
 
40
private:
40
41
        // variables needed for subgroup 0 and 1 (Left/Right Margin Set)
41
42
        uint16_t m_margin;
42
43
        uint8_t m_marginType;
55
56
        RGBSColor m_pageNumberColor;
56
57
        uint16_t m_pageNumberHeight;
57
58
        uint8_t m_pageNumberNewPagePosition;
58
 
        
 
59
 
59
60
        // variables needed for subgroup 0x11 (Form)
60
61
        uint16_t m_formLength;
61
62
        uint16_t m_formWidth;
65
66
};
66
67
 
67
68
#endif /* WP6PAGEGROUP_H */
 
69
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */