blob: 02c79c1a6ba621f26aba6f372a95829b4ba3e400 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
// BaseHandler.cpp: implementation of the BaseHandler class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "BaseHandler.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
BaseHandler::BaseHandler()
{
m_reader = NULL;
}
BaseHandler::~BaseHandler()
{
clear();
}
void BaseHandler::clear()
{
m_reader = NULL;
}
void BaseHandler::startDocument(RtfReader* reader)
{
clear();
m_reader = reader;
}
void BaseHandler::endDocument()
{
// We leave document and levels here so it they
// can be accessed later
m_reader = NULL;
}
void BaseHandler::controlWord(const string& cw, int flags, int param)
{
}
void BaseHandler::groupStart()
{
}
void BaseHandler::groupEnd()
{
}
void BaseHandler::charData(wstring data)
{
}
|