blob: c7fab13c1175914cf6007b2bed592bc9394bb596 (
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__
|