libwps: WPSHeader Class Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# WPSHeader Class Reference

`#include <WPSHeader.h>`

List of all members.

## Public Member Functions
| WPSHeader (WPSInputStream *input, uint8_t majorVersion)
virtual | ~WPSHeader ()
WPSInputStream * | getInput () const
const uint8_t | getMajorVersion () const
## Static Public Member Functions
static WPSHeader * | constructHeader (WPSInputStream *input)
| So far, we have identified three categories of Works documents.
## Private Member Functions
| WPSHeader (const WPSHeader &)
WPSHeader & | operator= (const WPSHeader &)
## Private Attributes
WPSInputStream * | m_input
uint8_t | m_majorVersion

## Constructor & Destructor Documentation

WPSHeader::WPSHeader | ( | WPSInputStream * | input,
|  | uint8_t | majorVersion |
| ) |  |  |

WPSHeader::~WPSHeader | ( |  | ) | `[virtual]`

WPSHeader::WPSHeader | ( | const WPSHeader & |  | ) | `[private]`

## Member Function Documentation

WPSHeader * WPSHeader::constructHeader | ( | WPSInputStream * | input | ) | `[static]`

So far, we have identified three categories of Works documents.

Works documents versions 3 and later use a MS OLE container, so we detect their type by checking for OLE stream names. Works version 2 is like Works 3 without OLE, so those two types use the same parser.

WPSInputStream* WPSHeader::getInput | ( |  | ) | const`[inline]`

const uint8_t WPSHeader::getMajorVersion | ( |  | ) | const`[inline]`

WPSHeader& WPSHeader::operator= | ( | const WPSHeader & |  | ) | `[private]`

## Member Data Documentation

WPSInputStream* WPSHeader::m_input`[private]`

uint8_t WPSHeader::m_majorVersion`[private]`

The documentation for this class was generated from the following files:

- WPSHeader.h
- WPSHeader.cpp