Static Public Member Functions

WPSDocument Class Reference

This class provides all the functions an application would need to parse Works documents. More...

#include <WPSDocument.h>

List of all members.

Static Public Member Functions

static WPSConfidence isFileFormatSupported (WPXInputStream *input)
 Analyzes the content of an input stream to see if it can be parsed.
static WPSResult parse (WPXInputStream *input, WPXDocumentInterface *documentInterface)
 Parses the input stream content.

Detailed Description

This class provides all the functions an application would need to parse Works documents.


Member Function Documentation

WPSConfidence WPSDocument::isFileFormatSupported ( WPXInputStream *  input ) [static]

Analyzes the content of an input stream to see if it can be parsed.

Parameters:
inputThe input stream
Returns:
A confidence value which represents the likelyhood that the content from the input stream can be parsed
WPSResult WPSDocument::parse ( WPXInputStream *  input,
WPXDocumentInterface *  documentInterface 
) [static]

Parses the input stream content.

It will make callbacks to the functions provided by a WPXDocumentInterface class implementation when needed. This is often commonly called the 'main parsing routine'.

Parameters:
inputThe input stream
documentInterfaceA WPSListener implementation

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

Generated on Sat Jan 1 2011 00:42:53 for libwps by doxygen 1.7.2