WP6PageGroup.h

Go to the documentation of this file.
00001 /* libwpd
00002  * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
00003  * Copyright (C) 2002 Marc Maurer (uwog@uwog.net)
00004  *  
00005  * This library is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public
00007  * License as published by the Free Software Foundation; either
00008  * version 2 of the License, or (at your option) any later version.
00009  *
00010  * This library is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013  * Library General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU Library General Public
00016  * License along with this library; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
00018  *
00019  * For further information visit http://libwpd.sourceforge.net
00020  */
00021 
00022 /* "This product is not manufactured, approved, or supported by 
00023  * Corel Corporation or Corel Corporation Limited."
00024  */
00025 
00026 #ifndef WP6PAGEGROUP_H
00027 #define WP6PAGEGROUP_H
00028 
00029 #include "WP6VariableLengthGroup.h"
00030 
00031 class WP6PageGroup : public WP6VariableLengthGroup
00032 {
00033  public:
00034         WP6PageGroup(WPXInputStream *input, WPXEncryption *encryption); 
00035         ~WP6PageGroup();
00036         void _readContents(WPXInputStream *input, WPXEncryption *encryption);
00037         void parse(WP6Listener *listener);
00038 
00039  private:
00040         // variables needed for subgroup 0 and 1 (Left/Right Margin Set)
00041         uint16_t m_margin;
00042         uint8_t m_marginType;
00043         // variables needed for subgroup 2 (suppress page characteristics)
00044         uint8_t m_suppressedCode;
00045         // variables needed for subgroup 3 (page number position)
00046         uint16_t m_pageNumberTypefaceDesc;
00047         uint8_t m_pageNumberUseFlag;
00048         uint16_t m_pageNumberingFontPIDCopy;
00049         uint16_t m_pageNumberPointSize;
00050         uint8_t m_pageNumberPosition;
00051         uint16_t m_pageNumberMatchedFontIndex;
00052         uint16_t m_pageNumberMatchedFontPointSize;
00053         uint16_t m_pageNumberAttributes1;
00054         uint16_t m_pageNumberAttributes2;
00055         RGBSColor m_pageNumberColor;
00056         uint16_t m_pageNumberHeight;
00057         uint8_t m_pageNumberNewPagePosition;
00058         
00059         // variables needed for subgroup 0x11 (Form)
00060         uint16_t m_formLength;
00061         uint16_t m_formWidth;
00062         uint8_t m_formType;
00063         WPXFormOrientation m_formOrientation;
00064 
00065 };
00066 
00067 #endif /* WP6PAGEGROUP_H */

Generated on Sun Nov 21 10:48:12 2010 for libwpd by doxygen 1.5.4