libwps::WPSDocument Class Reference

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

#include <WPSDocument.h>

Static Public Member Functions

static WPSLIB WPSConfidence isFileFormatSupported (librevenge::RVNGInputStream *input, WPSKind &kind)
 Analyzes the content of an input stream to see if it can be parsed. More...
 
static WPSLIB WPSResult parse (librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface)
 Parses the input stream content. More...
 
static WPSLIB WPSResult parse (librevenge::RVNGInputStream *input, librevenge::RVNGSpreadsheetInterface *documentInterface)
 Parses the input stream content. More...
 

Detailed Description

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

Member Function Documentation

WPSLIB WPSConfidence WPSDocument::isFileFormatSupported ( librevenge::RVNGInputStream *  ip,
WPSKind kind 
)
static

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

Parameters
ipThe input stream
kindThe document kind
Returns
A confidence value which represents the likelyhood that the content from the input stream can be parsed
WPSLIB WPSResult WPSDocument::parse ( librevenge::RVNGInputStream *  ip,
librevenge::RVNGTextInterface *  documentInterface 
)
static

Parses the input stream content.

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

Parameters
ipThe input stream
documentInterfaceA WPSListener implementation
WPSLIB WPSResult WPSDocument::parse ( librevenge::RVNGInputStream *  ip,
librevenge::RVNGSpreadsheetInterface *  documentInterface 
)
static

Parses the input stream content.

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

Parameters
ipThe input stream
documentInterfaceA SpreadsheetInterface implementation

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

Generated on Mon Nov 23 2015 07:09:19 for libwps by doxygen 1.8.5