libfreehand::FreeHandDocument Class Reference

#include <FreeHandDocument.h>

Static Public Member Functions

static FHAPI bool isSupported (librevenge::RVNGInputStream *input)
 Analyzes the content of an input stream to see if it can be parsed.
static FHAPI bool parse (librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *painter)
 Parses the input stream content.

Member Function Documentation

◆ isSupported()

FHAPI bool libfreehand::FreeHandDocument::isSupported ( librevenge::RVNGInputStream * input)
static

Analyzes the content of an input stream to see if it can be parsed.

Parameters
inputThe input stream
Returns
A value that indicates whether the content from the input stream is a FreeHand Document that libfreehand is able to parse

◆ parse()

FHAPI bool libfreehand::FreeHandDocument::parse ( librevenge::RVNGInputStream * input,
librevenge::RVNGDrawingInterface * painter )
static

Parses the input stream content.

It will make callbacks to the functions provided by a librevenge::RVNGDrawingInterface class implementation when needed. This is often commonly called the 'main parsing routine'.

Parameters
inputThe input stream
painterA librevenge::RVNGDrawingerInterface implementation
Returns
A value that indicates whether the parsing was successful

The documentation for this class was generated from the following files:

Generated for libfreehand by doxygen 1.18.0