The SWORD Project
1.9.0.svnversion
|
#include <osiswordjs.h>
Public Member Functions | |
virtual const char * | getHeader () const |
virtual const char * | getOptionName () |
virtual const char * | getOptionTip () |
virtual const char * | getOptionValue () |
virtual StringList | getOptionValues () |
bool | isBoolean () |
OSISWordJS () | |
virtual char | processText (SWBuf &text, const SWKey *key=0, const SWModule *module=0) |
void | setDefaultModules (SWModule *defaultGreekLex=0, SWModule *defaultHebLex=0, SWModule *defaultGreekParse=0, SWModule *defaultHebParse=0) |
void | setMgr (SWMgr *mgr) |
virtual void | setOptionValue (const char *ival) |
virtual | ~OSISWordJS () |
Protected Attributes | |
bool | isBooleanVal |
bool | option |
SWBuf | optionValue |
const char * | optName |
const char * | optTip |
const StringList * | optValues |
Private Attributes | |
SWModule * | defaultGreekLex |
SWModule * | defaultGreekParse |
SWModule * | defaultHebLex |
SWModule * | defaultHebParse |
SWMgr * | mgr |
This Filter inject JavaScript proving onclick events for modules marked up in OSIS
Definition at line 36 of file osiswordjs.h.
OSISWordJS::OSISWordJS | ( | ) |
Definition at line 49 of file osiswordjs.cpp.
|
virtual |
Definition at line 59 of file osiswordjs.cpp.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
gets the name of the option of this filter
Reimplemented in UTF8Transliterator.
Definition at line 72 of file swoptfilter.h.
|
inlinevirtualinherited |
gets a short explanation of the option of this filter; it could be presented to the user in frontend programs
Reimplemented in UTF8Transliterator.
Definition at line 78 of file swoptfilter.h.
|
virtualinherited |
Reimplemented in UTF8Transliterator.
Definition at line 62 of file swoptfilter.cpp.
|
inlinevirtualinherited |
returns a list of the possible option values
Reimplemented in UTF8Transliterator.
Definition at line 84 of file swoptfilter.h.
|
inlineinherited |
many options are simple Off/On boolean type, and frontends may wish to show these with checkmarks or the like to the end user. This is a convenience method to allow a frontend to check if this filter has only Off/On values
Definition at line 67 of file swoptfilter.h.
|
virtual |
This method processes and appropriately modifies the text given it for a particular filter task
text | The text to be filtered/converted |
key | Current key That was used. |
module | Current module. |
Implements SWFilter.
Definition at line 63 of file osiswordjs.cpp.
|
inline |
Definition at line 47 of file osiswordjs.h.
|
inline |
Definition at line 53 of file osiswordjs.h.
|
virtualinherited |
sets the value of the option of this filter, e.g maybe a strong's filter might be set to "On" / "Off" - that would mean to show or not to show the strongs in the text, see also getOptionValues()
ival | the new option value |
Reimplemented in UTF8Transliterator.
Definition at line 52 of file swoptfilter.cpp.
|
private |
Definition at line 37 of file osiswordjs.h.
|
private |
Definition at line 39 of file osiswordjs.h.
|
private |
Definition at line 38 of file osiswordjs.h.
|
private |
Definition at line 40 of file osiswordjs.h.
|
protectedinherited |
Definition at line 55 of file swoptfilter.h.
|
private |
Definition at line 41 of file osiswordjs.h.
|
protectedinherited |
Definition at line 54 of file swoptfilter.h.
|
protectedinherited |
Definition at line 50 of file swoptfilter.h.
|
protectedinherited |
Definition at line 51 of file swoptfilter.h.
|
protectedinherited |
Definition at line 52 of file swoptfilter.h.
|
protectedinherited |
Definition at line 53 of file swoptfilter.h.