Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This Source Code Form is subject to the terms of the Mozilla Public
4 : * License, v. 2.0. If a copy of the MPL was not distributed with this
5 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 : */
7 :
8 : /* "This product is not manufactured, approved, or supported by
9 : * Corel Corporation or Corel Corporation Limited."
10 : */
11 :
12 : #ifndef _INTERNALHANDLER_H
13 : #define _INTERNALHANDLER_H
14 : #include <libwpd/libwpd.h>
15 : #include <libwpd/WPXProperty.h>
16 : #include <libwpd/WPXString.h>
17 : #include "DocumentElement.hxx"
18 : #include "OdfDocumentHandler.hxx"
19 :
20 : class InternalHandler : public OdfDocumentHandler
21 : {
22 : public:
23 : InternalHandler(std::vector<DocumentElement *> *elements);
24 0 : ~InternalHandler() {};
25 :
26 0 : void startDocument() {};
27 0 : void endDocument() {};
28 : void startElement(const char *psName, const WPXPropertyList &xPropList);
29 : void endElement(const char *psName);
30 : void characters(const WPXString &sCharacters);
31 : private:
32 : InternalHandler(const InternalHandler &);
33 : InternalHandler &operator=(const InternalHandler &);
34 : std::vector<DocumentElement *> *mpElements;
35 : };
36 : #endif
37 :
38 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|