#include <CMXDocument.h>
Static Public Member Functions | |
static CDRAPI bool | isSupported (librevenge::RVNGInputStream *input) |
Analyzes the content of an input stream to see if it can be parsed. | |
static CDRAPI bool | parse (librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter) |
Parses the input stream content. |
CDRAPI bool libcdr::CMXDocument::isSupported | ( | librevenge::RVNGInputStream * | input | ) | [static] |
Analyzes the content of an input stream to see if it can be parsed.
input | The input stream |
Referenced by libcdr::CDRContentCollector::collectVectorPattern().
CDRAPI bool libcdr::CMXDocument::parse | ( | librevenge::RVNGInputStream * | input, |
librevenge::RVNGDrawingInterface * | painter | ||
) | [static] |
Parses the input stream content.
It will make callbacks to the functions provided by a CDRPaintInterface class implementation when needed. This is often commonly called the 'main parsing routine'.
input | The input stream |
painter | A CDRPainterInterface implementation |
Referenced by libcdr::CDRContentCollector::collectVectorPattern().