Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __MSPUBDOCUMENT_H__
00011 #define __MSPUBDOCUMENT_H__
00012
00013 #include <librevenge/librevenge.h>
00014
00015 #ifdef DLL_EXPORT
00016 #ifdef LIBMSPUB_BUILD
00017 #define PUBAPI __declspec(dllexport)
00018 #else
00019 #define PUBAPI __declspec(dllimport)
00020 #endif
00021 #else // !DLL_EXPORT
00022 #ifdef LIBMSPUB_VISIBILITY
00023 #define PUBAPI __attribute__((visibility("default")))
00024 #else
00025 #define PUBAPI
00026 #endif
00027 #endif
00028
00029 namespace libmspub
00030 {
00031 class MSPUBDocument
00032 {
00033 public:
00034
00035 static PUBAPI bool isSupported(librevenge::RVNGInputStream *input);
00036
00037 static PUBAPI bool parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter);
00038 };
00039
00040 }
00041
00042 #endif // __MSPUBDOCUMENT_H__
00043