DocumentHandler.h
1/*
2 * Copyright (C) 2004 William Lachance (wlach@interlog.com)
3 * Copyright (C) 2004 Net Integration Technologies (http://www.net-itech.com)
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19 *
20 *
21 * Contributor(s): Martin Gallwey (gallwey@sun.com)
22 *
23 */
24
25/* "This product is not manufactured, approved, or supported by
26 * Corel Corporation or Corel Corporation Limited."
27 */
28#ifndef _DOCUMENTHANDLER_H
29#define _DOCUMENTHANDLER_H
30
31#include <libwpd/libwpd.h>
32#include "shared_headers.h"
33
34class DocumentHandler
35{
36public:
37 virtual void startDocument() = 0;
38 virtual void endDocument() = 0;
39 virtual void startElement(const char *psName, const _SH_PropertyList &xPropList) = 0;
40 virtual void endElement(const char *psName) = 0;
41 virtual void characters(const _SH_String &sCharacters) = 0;
42};
43
44#endif