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