blob: 33cfe61a7cfbf7f81b5163bf50f76cc57c4b342a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// BaseHandler
// Implements an RtfHandler for other classes (LevelHandler
// and RtfParser) to override.
#ifndef _BASEHANDLER_H_
#define _BASEHANDLER_H_
#include "RtfReader.h"
class BaseHandler :
public RtfHandler
{
public:
BaseHandler();
virtual ~BaseHandler();
virtual void startDocument(RtfReader* reader);
virtual void endDocument();
virtual void controlWord(const string& cw, int flags, int param);
virtual void groupStart();
virtual void groupEnd();
virtual void charData(wstring data);
protected:
virtual void clear();
RtfReader* m_reader;
};
#endif // _BASEHANDLER_H_
|