This class provides all the functions an application would need to parse WordPerfect documents. More...
#include <WPDocument.h>
Static Public Member Functions | |
| static WPDAPI WPDConfidence | isFileFormatSupported (librevenge::RVNGInputStream *input) |
| Analyzes the content of an input stream to see if it can be parsed. | |
| static WPDAPI WPDPasswordMatch | verifyPassword (librevenge::RVNGInputStream *input, const char *password) |
| Checks whether the given password was used to encrypt the document. | |
| static WPDAPI WPDResult | parse (librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface, const char *password) |
| Parses the input stream content. | |
| static WPDAPI WPDResult | parseSubDocument (librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface, WPDFileFormat fileFormat) |
This class provides all the functions an application would need to parse WordPerfect documents.
|
static |
Analyzes the content of an input stream to see if it can be parsed.
| input | The input stream |
|
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'.
| input | The input stream |
| textInterface | A librevenge::RVNGTextInterface implementation |
| password | The password used to protect the document or NULL if the document is not protected |
|
static |
Referenced by WP3ContentListener::insertWP51Table().
|
static |
Checks whether the given password was used to encrypt the document.
| input | The input stream |
| password | The password used to protect the document or NULL if the document is not protected |
Referenced by parse().