Main Page
Classes
Files
File List
File Members
OdfDocumentHandler.hxx
Go to the documentation of this file.
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
2
/* libodfgen
3
* Version: MPL 2.0 / LGPLv2.1+
4
*
5
* This Source Code Form is subject to the terms of the Mozilla Public
6
* License, v. 2.0. If a copy of the MPL was not distributed with this
7
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
8
*
9
* Major Contributor(s):
10
* Copyright (C) 2004 William Lachance (wlach@interlog.com)
11
*
12
* For minor contributions see the git repository.
13
*
14
* Alternatively, the contents of this file may be used under the terms
15
* of the GNU Lesser General Public License Version 2.1 or later
16
* (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
17
* applicable instead of those above.
18
*
19
* For further information visit http://libwpd.sourceforge.net
20
*/
21
22
/* "This product is not manufactured, approved, or supported by
23
* Corel Corporation or Corel Corporation Limited."
24
*/
25
#ifndef _ODFDOCUMENTHANDLER_HXX_
26
#define _ODFDOCUMENTHANDLER_HXX_
27
#include <libwpd/libwpd.h>
28
33
enum
OdfStreamType
{
ODF_FLAT_XML
,
ODF_CONTENT_XML
,
ODF_STYLES_XML
,
ODF_SETTINGS_XML
,
ODF_META_XML
};
34
42
class
OdfDocumentHandler
43
{
44
public
:
45
virtual
~OdfDocumentHandler
() {}
46
49
virtual
void
startDocument
() = 0;
50
53
virtual
void
endDocument
() = 0;
54
60
virtual
void
startElement
(
const
char
*psName,
const
WPXPropertyList &xPropList) = 0;
61
67
virtual
void
endElement
(
const
char
*psName) = 0;
68
73
virtual
void
characters
(
const
WPXString &sCharacters) = 0;
74
};
75
#endif
76
77
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
Generated for libodfgen by
doxygen
1.8.3.1