summaryrefslogtreecommitdiff
path: root/src/lib/PGPLUSDocument.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/PGPLUSDocument.cpp')
-rw-r--r--src/lib/PGPLUSDocument.cpp21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/lib/PGPLUSDocument.cpp b/src/lib/PGPLUSDocument.cpp
index 7273642..cb2f503 100644
--- a/src/lib/PGPLUSDocument.cpp
+++ b/src/lib/PGPLUSDocument.cpp
@@ -23,7 +23,6 @@
#include <string>
#include <string.h>
#include <libpgplus/PGPLUSDocument.h>
-#include "PGPLUSSVGGenerator.h"
#include "libpgplus_utils.h"
/**
@@ -32,36 +31,22 @@ Analyzes the content of an input stream to see if it can be parsed
\return A value that indicates whether the content from the input
stream is a PagePlus Document that libpgplus is able to parse
*/
-bool libpgplus::PGPLUSDocument::isSupported(WPXInputStream *input)
+bool libpgplus::PGPLUSDocument::isSupported(librevenge::RVNGInputStream *input)
{
return false;
}
/**
Parses the input stream content. It will make callbacks to the functions provided by a
-WPGPaintInterface class implementation when needed. This is often commonly called the
+RVNGPaintInterface class implementation when needed. This is often commonly called the
'main parsing routine'.
\param input The input stream
\param painter A PGPLUSPainterInterface implementation
\return A value that indicates whether the parsing was successful
*/
-bool libpgplus::PGPLUSDocument::parse(::WPXInputStream *input, libwpg::WPGPaintInterface *painter)
+bool libpgplus::PGPLUSDocument::parse(::librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter)
{
return false;
}
-/**
-Parses the input stream content and generates a valid Scalable Vector Graphics
-Provided as a convenience function for applications that support SVG internally.
-\param input The input stream
-\param output The output string whose content is the resulting SVG
-\return A value that indicates whether the SVG generation was successful.
-*/
-bool libpgplus::PGPLUSDocument::generateSVG(::WPXInputStream *input, libpgplus::PGPLUSStringVector &output)
-{
- libpgplus::PGPLUSSVGGenerator generator(output);
- bool result = libpgplus::PGPLUSDocument::parse(input, &generator);
- return result;
-}
-
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */