25 #ifndef STOFFDOCUMENT_HXX 26 #define STOFFDOCUMENT_HXX 30 #define STOFFLIB __declspec(dllexport) 32 #define STOFFLIB __declspec(dllimport) 35 #ifdef LIBSTAROFFICE_VISIBILITY 36 #define STOFFLIB __attribute__((visibility("default"))) 45 class RVNGDrawingInterface;
46 class RVNGPresentationInterface;
47 class RVNGSpreadsheetInterface;
48 class RVNGTextInterface;
49 class RVNGInputStream;
61 STOFF_C_UNSUPPORTED_ENCRYPTION ,
62 STOFF_C_SUPPORTED_ENCRYPTION ,
73 STOFF_K_PRESENTATION ,
81 STOFF_R_FILE_ACCESS_ERROR ,
84 STOFF_R_PASSWORD_MISSMATCH_ERROR ,
107 static STOFFLIB Result parse(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface,
char const *password=
nullptr);
117 static STOFFLIB Result parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *documentInterface,
char const *password=
nullptr);
127 static STOFFLIB Result parse(librevenge::RVNGInputStream *input, librevenge::RVNGPresentationInterface *documentInterface,
char const *password=
nullptr);
137 static STOFFLIB Result parse(librevenge::RVNGInputStream *input, librevenge::RVNGSpreadsheetInterface *documentInterface,
char const *password=
nullptr);
152 static STOFFLIB bool decodeGraphic(librevenge::RVNGBinaryData
const &binary, librevenge::RVNGDrawingInterface *documentInterface);
163 static STOFFLIB bool decodeSpreadsheet(librevenge::RVNGBinaryData
const &binary, librevenge::RVNGSpreadsheetInterface *documentInterface);
174 static STOFFLIB bool decodeText(librevenge::RVNGBinaryData
const &binary, librevenge::RVNGTextInterface *documentInterface);
Definition: STOFFDocument.hxx:42
This class provides all the functions an application would need to parse StarOffice documents...
Definition: STOFFDocument.hxx:55
Confidence
an enum which defines if we have confidence that a file is supported
Definition: STOFFDocument.hxx:59
Kind
an enum to define the kind of document
Definition: STOFFDocument.hxx:66
Result
an enum which defines the result of the file parsing
Definition: STOFFDocument.hxx:79
#define STOFFLIB
Definition: STOFFDocument.hxx:38