27#include <librevenge/librevenge.h>
31#define WPSLIB __declspec(dllexport)
33#define WPSLIB __declspec(dllimport)
36#ifdef LIBWPS_VISIBILITY
37#define WPSLIB __attribute__((visibility("default")))
99 static WPSLIB WPSResult parse(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface,
100 char const *password=
"",
char const *encoding=
"");
110 static WPSLIB WPSResult parse(librevenge::RVNGInputStream *input, librevenge::RVNGSpreadsheetInterface *documentInterface,
111 char const *password=
"",
char const *encoding=
"");
#define WPSLIB
Definition: WPSDocument.h:39
This class provides all the functions an application would need to parse Works documents.
Definition: WPSDocument.h:65
static WPSLIB WPSResult parse(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface, char const *password="", char const *encoding="")
Parses the input stream content.
Definition: WPSDocument.cpp:165
static WPSLIB WPSConfidence isFileFormatSupported(librevenge::RVNGInputStream *input, WPSKind &kind, WPSCreator &creator, bool &needCharSetEncoding)
Analyzes the content of an input stream to see if it can be parsed.
Definition: WPSDocument.cpp:58
Definition: libwps_internal.cpp:39
WPSKind
Definition: WPSDocument.h:58
@ WPS_TEXT
Definition: WPSDocument.h:58
@ WPS_DATABASE
Definition: WPSDocument.h:58
@ WPS_SPREADSHEET
Definition: WPSDocument.h:58
WPSResult
Definition: WPSDocument.h:59
@ WPS_OLE_ERROR
Definition: WPSDocument.h:59
@ WPS_OK
Definition: WPSDocument.h:59
@ WPS_UNKNOWN_ERROR
Definition: WPSDocument.h:59
@ WPS_FILE_ACCESS_ERROR
Definition: WPSDocument.h:59
@ WPS_ENCRYPTION_ERROR
Definition: WPSDocument.h:59
@ WPS_PARSE_ERROR
Definition: WPSDocument.h:59
WPSCreator
Definition: WPSDocument.h:48
@ WPS_DOSWORD
Definition: WPSDocument.h:56
@ WPS_SYMPHONY
Lotus Symphony files(untested, probably DOS documents)
Definition: WPSDocument.h:51
@ WPS_RESERVED_3
Definition: WPSDocument.h:53
@ WPS_RESERVED_2
Definition: WPSDocument.h:52
@ WPS_QUATTRO_PRO
Quattro Pro Wq1 and Wq2 spreadsheets(minimum filter)
Definition: WPSDocument.h:50
@ WPS_RESERVED_5
Definition: WPSDocument.h:53
@ WPS_RESERVED_8
Definition: WPSDocument.h:54
@ WPS_RESERVED_6
Definition: WPSDocument.h:54
@ WPS_MSWORKS
Microsoft Works documents (all wps, wks and wdb)
Definition: WPSDocument.h:48
@ WPS_RESERVED_1
Definition: WPSDocument.h:52
@ WPS_RESERVED_4
Definition: WPSDocument.h:53
@ WPS_RESERVED_0
Definition: WPSDocument.h:52
@ WPS_LOTUS
Lotus DOS(Wk1), Apple(Lotus 123 v1), Windows(Wk3,Wk4,123) spreadsheets.
Definition: WPSDocument.h:49
@ WPS_RESERVED_7
Definition: WPSDocument.h:54
@ WPS_MSWRITE
Definition: WPSDocument.h:55
WPSConfidence
Definition: WPSDocument.h:47
@ WPS_CONFIDENCE_NONE
Definition: WPSDocument.h:47
@ WPS_CONFIDENCE_SUPPORTED_ENCRYPTION
Definition: WPSDocument.h:47
@ WPS_CONFIDENCE_EXCELLENT
Definition: WPSDocument.h:47