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. | |
static WPSLIB WPSResult | parse (librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface) |
Parses the input stream content. | |
static WPSLIB WPSResult | parse (librevenge::RVNGInputStream *input, librevenge::RVNGSpreadsheetInterface *documentInterface) |
Parses the input stream content. |
This class provides all the functions an application would need to parse Works documents.
WPSLIB WPSConfidence WPSDocument::isFileFormatSupported | ( | librevenge::RVNGInputStream * | ip, |
WPSKind & | kind | ||
) | [static] |
Analyzes the content of an input stream to see if it can be parsed.
ip | The input stream |
kind | The document kind |
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'.
ip | The input stream |
documentInterface | A 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'.
ip | The input stream |
documentInterface | A SpreadsheetInterface implementation |