Go to the documentation of this file.
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")))
102 static WPSLIB WPSResult parse(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface,
103 char const *password=
"",
char const *encoding=
"");
113 static WPSLIB WPSResult parse(librevenge::RVNGInputStream *input, librevenge::RVNGSpreadsheetInterface *documentInterface,
114 char const *password=
"",
char const *encoding=
"");
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: WKS4.cpp:413
@ WPS_MULTIPLAN
Definition: WPSDocument.h:58
This class parses Microsoft Multiplan DOS spreadsheet v1.
Definition: Multiplan.h:49
#define WPSLIB
Definition: WPSDocument.h:39
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: Multiplan.cpp:317
This class parses XYWrite Dos and Win4 files.
Definition: XYWrite.h:47
@ WPS_CONFIDENCE_EXCELLENT
Definition: WPSDocument.h:47
@ WPS_RESERVED_8
Definition: WPSDocument.h:55
@ WPS_OLE_ERROR
Definition: WPSDocument.h:62
@ WPS_DOSWORD
Definition: WPSDocument.h:57
@ WPS_SYMPHONY
Lotus Symphony files(untested, probably DOS documents)
Definition: WPSDocument.h:52
@ WPS_XYWRITE
Definition: WPSDocument.h:59
Definition: libwps_internal.cpp:38
This class parses Microsoft Word for DOS.
Definition: DosWord.h:38
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: QuattroDos.cpp:365
@ WPS_PARSE_ERROR
Definition: WPSDocument.h:62
@ WPS_OK
Definition: WPSDocument.h:62
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: XYWrite.cpp:1790
@ WPS_ENCRYPTION_ERROR
Definition: WPSDocument.h:62
This class parses Quattro Pro WP spreadsheet: .qpw.
Definition: Quattro9.h:89
@ WPS_MSWRITE
Definition: WPSDocument.h:56
WPSConfidence
Definition: WPSDocument.h:47
@ WPS_DATABASE
Definition: WPSDocument.h:61
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: Lotus.cpp:427
This class parses Microsoft Write 3.0 and 3.1.
Definition: MSWrite.h:131
@ WPS_RESERVED_2
Definition: WPSDocument.h:53
WPSResult
Definition: WPSDocument.h:62
static WPSLIB WPSResult parse(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface, char const *password="", char const *encoding="")
Parses the input stream content.
Definition: WPSDocument.cpp:212
@ WPS_RESERVED_7
Definition: WPSDocument.h:55
Definition: libwps_internal.h:151
Definition: libwps_internal.h:156
@ WPS_RESERVED_6
Definition: WPSDocument.h:55
WPSCreator
Definition: WPSDocument.h:48
#define WPS_DEBUG_MSG(M)
Definition: libwps_internal.h:134
This class parses a wk3,wk4,123 Lotus spreadsheet.
Definition: Lotus.h:72
WPSKind
Definition: WPSDocument.h:61
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: WPS4.cpp:545
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: Quattro9.cpp:599
@ WPS_SPREADSHEET
Definition: WPSDocument.h:61
@ WPS_CONFIDENCE_NONE
Definition: WPSDocument.h:47
@ WPS_RESERVED_3
Definition: WPSDocument.h:54
This class parses Works version 2000 through 8.
Definition: WPS8.h:49
@ WPS_QUATTRO_PRO
Quattro Pro wq1,wq2, wb1,wb2,wb3, qpw spreadsheets and qpw spreadsheet.
Definition: WPSDocument.h:50
@ WPS_CONFIDENCE_SUPPORTED_ENCRYPTION
Definition: WPSDocument.h:47
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: DosWord.cpp:143
@ WPS_RESERVED_5
Definition: WPSDocument.h:54
@ WPS_RESERVED_1
Definition: WPSDocument.h:53
std::shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:109
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: Quattro.cpp:673
This class parses Quattro Pro spreadsheet: .wb1, ..., .wb3.
Definition: Quattro.h:53
@ WPS_UNKNOWN_ERROR
Definition: WPSDocument.h:62
@ WPS_RESERVED_4
Definition: WPSDocument.h:54
This class parses Quattro Pro spreadsheet: .wq1 and wq2.
Definition: QuattroDos.h:48
This class parses Works version 2 through 4.
Definition: WPS4.h:48
@ WPS_LOTUS
Lotus DOS(wk1), Apple(Lotus 123 v1), Windows(wk3,wk4,123) spreadsheets.
Definition: WPSDocument.h:49
@ WPS_RESERVED_0
Definition: WPSDocument.h:53
This class provides all the functions an application would need to parse Works documents.
Definition: WPSDocument.h:67
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:62
@ WPS_FILE_ACCESS_ERROR
Definition: WPSDocument.h:62
This class parses Microsoft Works spreadsheet or a database file.
Definition: WKS4.h:48
@ WPS_MSWORKS
Definition: WPSDocument.h:48
a noop deleter used to transform a librevenge pointer in a false std::shared_ptr
Definition: libwps_internal.h:71
Definition: libwps_internal.h:146
@ WPS_TEXT
Definition: WPSDocument.h:61
Generated on Sat Apr 4 2020 02:16:56 for libwps by
doxygen 1.8.17