The SWORD Project
1.9.0.svnversion
|
#include <osisreferencelinks.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 () |
OSISReferenceLinks (const char *optionName, const char *optionTip, const char *type, const char *subType=0, const char *defaultValue="On") | |
virtual char | processText (SWBuf &text, const SWKey *key=0, const SWModule *module=0) |
virtual void | setOptionValue (const char *ival) |
virtual | ~OSISReferenceLinks () |
Protected Attributes | |
bool | isBooleanVal |
bool | option |
SWBuf | optionValue |
const char * | optName |
const char * | optTip |
const StringList * | optValues |
Private Attributes | |
SWBuf | optionName |
SWBuf | optionTip |
SWBuf | subType |
SWBuf | type |
This Filter hides reference links with a particular type/subtype in an OSIS text
Definition at line 35 of file osisreferencelinks.h.
OSISReferenceLinks::OSISReferenceLinks | ( | const char * | optionName, |
const char * | optionTip, | ||
const char * | type, | ||
const char * | subType = 0 , |
||
const char * | defaultValue = "On" |
||
) |
optionName | - name of this option |
optionTip | - user help tip for this option |
type | - which reference types to hide |
subType | - which reference subTypes to hide (optional) |
defaultValue | - default value of option "On" or "Off" (optional) |
Definition at line 43 of file osisreferencelinks.cpp.
|
virtual |
Definition at line 57 of file osisreferencelinks.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 61 of file osisreferencelinks.cpp.
|
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.
|
protectedinherited |
Definition at line 55 of file swoptfilter.h.
|
protectedinherited |
Definition at line 54 of file swoptfilter.h.
|
private |
Definition at line 36 of file osisreferencelinks.h.
|
private |
Definition at line 37 of file osisreferencelinks.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.
|
private |
Definition at line 39 of file osisreferencelinks.h.
|
private |
Definition at line 38 of file osisreferencelinks.h.