#include <WPSHeader.h>
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 |
WPSHeader::WPSHeader | ( | WPSInputStream * | input, | |
uint8_t | majorVersion | |||
) |
Referenced by constructHeader().
WPSHeader::~WPSHeader | ( | ) | [virtual] |
WPSHeader::WPSHeader | ( | const WPSHeader & | ) | [private] |
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.
Referenced by WPSDocument::isFileFormatSupported(), and WPSDocument::parse().
WPSInputStream* WPSHeader::getInput | ( | ) | const [inline] |
Referenced by WPSDocument::parse().
const uint8_t WPSHeader::getMajorVersion | ( | ) | const [inline] |
Referenced by WPSDocument::isFileFormatSupported(), WPSDocument::parse(), and WPS4Parser::propertyChange().
WPSInputStream* WPSHeader::m_input [private] |
Referenced by getInput().
uint8_t WPSHeader::m_majorVersion [private] |
Referenced by getMajorVersion().