1
/***************************************************************************
3
* $Id: osisstrongs.h 1688 2005-01-01 04:42:26Z 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 <swoptfilter.h>
29
/** This Filter shows/hides strong's numbers in a OSIS text
31
class SWDLLEXPORT OSISWordJS : public SWOptionFilter {
32
SWModule *defaultGreekLex;
33
SWModule *defaultHebLex;
34
SWModule *defaultGreekParse;
35
SWModule *defaultHebParse;
40
virtual ~OSISWordJS();
41
virtual char processText(SWBuf &text, const SWKey *key = 0, const SWModule *module = 0);
42
void setDefaultModules(SWModule *defaultGreekLex = 0, SWModule *defaultHebLex = 0, SWModule *defaultGreekParse = 0, SWModule *defaultHebParse = 0) {
43
this->defaultGreekLex = defaultGreekLex;
44
this->defaultHebLex = defaultHebLex;
45
this->defaultGreekParse = defaultGreekParse;
46
this->defaultHebParse = defaultHebParse;
48
void setMgr(SWMgr *mgr) { this->mgr = mgr; }