The SWORD Project  1.9.0.svnversion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
OSISHTMLHREF::MyUserData Class Reference

#include <osishtmlhref.h>

+ Inheritance diagram for OSISHTMLHREF::MyUserData:
+ Collaboration diagram for OSISHTMLHREF::MyUserData:

Public Member Functions

 MyUserData (const SWModule *module, const SWKey *key)
 
 ~MyUserData ()
 

Public Attributes

SWBuf fn
 
bool inBold
 
bool inXRefNote
 
bool isBiblicalText
 
const SWKey * key
 
SWBuf lastSuspendSegment
 
SWBuf lastTextNode
 
SWBuf lastTransChange
 
const SWModule * module
 
bool osisQToTick
 
bool supressAdjacentWhitespace
 
int suspendLevel
 
bool suspendTextPassThru
 
TagStacks * tagStacks
 
SWBuf version
 
const VerseKey * vkey
 
SWBuf w
 
SWBuf wordsOfChristEnd
 
SWBuf wordsOfChristStart
 

Detailed Description

Definition at line 40 of file osishtmlhref.h.

Constructor & Destructor Documentation

OSISHTMLHREF::MyUserData::MyUserData ( const SWModule *  module,
const SWKey *  key 
)

Definition at line 114 of file osishtmlhref.cpp.

114  : BasicFilterUserData(module, key) {
115  inXRefNote = false;
116  suspendLevel = 0;
117  tagStacks = new TagStacks();
118  wordsOfChristStart = "<font color=\"red\"> ";
119  wordsOfChristEnd = "</font> ";
120  osisQToTick = true; // default
121  isBiblicalText = false;
122  if (module) {
123  osisQToTick = ((!module->getConfigEntry("OSISqToTick")) || (strcmp(module->getConfigEntry("OSISqToTick"), "false")));
124  version = module->getName();
125  isBiblicalText = (!strcmp(module->getType(), "Biblical Texts"));
126  }
127 }
const char * getName() const
Definition: swmodule.cpp:204
const char * getType() const
Definition: swmodule.cpp:232
virtual const char * getConfigEntry(const char *key) const
Definition: swmodule.cpp:1159
BasicFilterUserData(const SWModule *module, const SWKey *key)
OSISHTMLHREF::MyUserData::~MyUserData ( )

Definition at line 129 of file osishtmlhref.cpp.

129  {
130  delete tagStacks;
131 }

Member Data Documentation

SWBuf OSISHTMLHREF::MyUserData::fn

Definition at line 53 of file osishtmlhref.h.

bool OSISHTMLHREF::MyUserData::inBold

Definition at line 43 of file osishtmlhref.h.

bool OSISHTMLHREF::MyUserData::inXRefNote

Definition at line 44 of file osishtmlhref.h.

bool OSISHTMLHREF::MyUserData::isBiblicalText

Definition at line 45 of file osishtmlhref.h.

const SWKey* BasicFilterUserData::key
inherited

Definition at line 43 of file swbasicfilter.h.

SWBuf BasicFilterUserData::lastSuspendSegment
inherited

Definition at line 46 of file swbasicfilter.h.

SWBuf BasicFilterUserData::lastTextNode
inherited

Definition at line 45 of file swbasicfilter.h.

SWBuf OSISHTMLHREF::MyUserData::lastTransChange

Definition at line 51 of file osishtmlhref.h.

const SWModule* BasicFilterUserData::module
inherited

Definition at line 42 of file swbasicfilter.h.

bool OSISHTMLHREF::MyUserData::osisQToTick

Definition at line 42 of file osishtmlhref.h.

bool BasicFilterUserData::supressAdjacentWhitespace
inherited

Definition at line 48 of file swbasicfilter.h.

int OSISHTMLHREF::MyUserData::suspendLevel

Definition at line 46 of file osishtmlhref.h.

bool BasicFilterUserData::suspendTextPassThru
inherited

Definition at line 47 of file swbasicfilter.h.

TagStacks* OSISHTMLHREF::MyUserData::tagStacks

Definition at line 49 of file osishtmlhref.h.

SWBuf OSISHTMLHREF::MyUserData::version

Definition at line 54 of file osishtmlhref.h.

const VerseKey* BasicFilterUserData::vkey
inherited

Definition at line 44 of file swbasicfilter.h.

SWBuf OSISHTMLHREF::MyUserData::w

Definition at line 52 of file osishtmlhref.h.

SWBuf OSISHTMLHREF::MyUserData::wordsOfChristEnd

Definition at line 48 of file osishtmlhref.h.

SWBuf OSISHTMLHREF::MyUserData::wordsOfChristStart

Definition at line 47 of file osishtmlhref.h.


The documentation for this class was generated from the following files: