merge the formfield patch from ooo-build
[ooovba.git] / writerperfect / source / filter / DocumentHandler.hxx
blob350157d17aa85032e307db82e666362b3807d0ec
1 #ifndef _OODOCUMENTHANDLER_HXX_
2 #define _OODOCUMENTHANDLER_HXX_
4 #include <com/sun/star/xml/sax/XDocumentHandler.hpp>
6 #if defined _MSC_VER
7 #pragma warning( push, 1 )
8 #endif
9 #include <libwpd/libwpd.h>
10 #if defined _MSC_VER
11 #pragma warning( pop )
12 #endif
14 using com::sun::star::uno::Reference;
15 using com::sun::star::xml::sax::XDocumentHandler;
17 class DocumentHandler
19 public:
20 DocumentHandler(Reference < XDocumentHandler > &xHandler);
21 void startDocument();
22 void endDocument();
23 void startElement(const char *psName, const WPXPropertyList &xPropList);
24 void endElement(const char *psName);
25 void characters(const WPXString &sCharacters);
27 private:
28 Reference < XDocumentHandler > mxHandler;
31 #endif // _OODOCUMENTHANDLER_HXX_