24#ifndef _ABWDOCUMENTHANDLER_HXX_
25#define _ABWDOCUMENTHANDLER_HXX_
26#include <librevenge/librevenge.h>
40typedef bool (*
ABWCheckImage)(
const librevenge::RVNGString &mimeType,
const librevenge::RVNGBinaryData &image);
48typedef bool (*
ABWEmbeddedImage)(
const librevenge::RVNGBinaryData &input, librevenge::RVNGBinaryData &output);
55typedef bool (*
ABWEmbeddedObject)(
const librevenge::RVNGBinaryData &data, ABWGenerator &generator);
82 virtual void startElement(
const char *psName,
const librevenge::RVNGPropertyList &xPropList) = 0;
95 virtual void characters(
const librevenge::RVNGString &sCharacters) = 0;
XML writer.
Definition ABWDocumentHandler.hxx:65
virtual void startDocument()=0
Start an XML document.
virtual void endElement(const char *psName)=0
Add a end tag to the XML document.
virtual void startElement(const char *psName, const librevenge::RVNGPropertyList &xPropList)=0
Add a start tag to the XML document.
virtual ~ABWDocumentHandler()
Definition ABWDocumentHandler.hxx:67
virtual void endDocument()=0
End the XML document.
virtual void characters(const librevenge::RVNGString &sCharacters)=0
Insert a textual content into the currently opened element.
#define RVNGABWAPI
Definition librvngabw-api.hxx:36
Definition ABWDocumentHandler.hxx:31
bool(* ABWCheckImage)(const librevenge::RVNGString &mimeType, const librevenge::RVNGBinaryData &image)
Handler for to check the images type.
Definition ABWDocumentHandler.hxx:40
bool(* ABWEmbeddedObject)(const librevenge::RVNGBinaryData &data, ABWGenerator &generator)
Handler for embedded objects.
Definition ABWDocumentHandler.hxx:55
bool(* ABWEmbeddedImage)(const librevenge::RVNGBinaryData &input, librevenge::RVNGBinaryData &output)
Handler for embedded images.
Definition ABWDocumentHandler.hxx:48