1
/******************************************************************************
3
* $Id: osisrtf.h 1973 2006-09-20 04:09:16Z scribe $
5
* Copyright 1998 CrossWire Bible Society (http://www.crosswire.org)
6
* CrossWire Bible Society
10
* This program is free software; you can redistribute it and/or modify it
11
* under the terms of the GNU General Public License as published by the
12
* Free Software Foundation version 2.
14
* This program is distributed in the hope that it will be useful, but
15
* WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
* General Public License for more details.
24
#include <swbasicfilter.h>
28
/** this filter converts OSIS text to RTF text
30
class SWDLLEXPORT OSISRTF : public SWBasicFilter {
34
virtual BasicFilterUserData *createUserData(const SWModule *module, const SWKey *key);
35
virtual bool handleToken(SWBuf &buf, const char *token, BasicFilterUserData *userData);
36
virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule *module = 0);