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

#include <osislatex.h>

+ Inheritance diagram for OSISLaTeX::MyUserData:
+ Collaboration diagram for OSISLaTeX::MyUserData:

Public Member Functions

 MyUserData (const SWModule *module, const SWKey *key)
 
void outputNewline (SWBuf &buf)
 
 ~MyUserData ()
 

Public Attributes

int consecutiveNewlines
 
SWBuf divLevel
 
bool firstCell
 
SWBuf fn
 
TagStackhiStack
 
bool inXRefNote
 
bool isBiblicalText
 
const SWKeykey
 
SWBuf lastSuspendSegment
 
SWBuf lastTextNode
 
SWBuf lastTransChange
 
TagStacklineStack
 
const SWModulemodule
 
bool osisQToTick
 
TagStackquoteStack
 
bool supressAdjacentWhitespace
 
int suspendLevel
 
bool suspendTextPassThru
 
TagStacktitleStack
 
SWBuf version
 
const VerseKeyvkey
 
SWBuf w
 
SWBuf wordsOfChristEnd
 
SWBuf wordsOfChristStart
 

Detailed Description

Definition at line 45 of file osislatex.h.

Constructor & Destructor Documentation

OSISLaTeX::MyUserData::MyUserData ( const SWModule module,
const SWKey key 
)

Definition at line 187 of file osislatex.cpp.

187  : BasicFilterUserData(module, key), quoteStack(new TagStack()), hiStack(new TagStack()), titleStack(new TagStack()), lineStack(new TagStack()) {
188  inXRefNote = false;
189  suspendLevel = 0;
190  divLevel = "module";
191  wordsOfChristStart = "\\swordwoj{";
192  wordsOfChristEnd = "}";
194  firstCell = false;
195 }
TagStack * hiStack
Definition: osislatex.h:57
std::stack< SWBuf > TagStack
BasicFilterUserData(const SWModule *module, const SWKey *key)
TagStack * lineStack
Definition: osislatex.h:59
TagStack * quoteStack
Definition: osislatex.h:56
TagStack * titleStack
Definition: osislatex.h:58
OSISLaTeX::MyUserData::~MyUserData ( )

Definition at line 197 of file osislatex.cpp.

197  {
198  delete quoteStack;
199  delete hiStack;
200  delete titleStack;
201  delete lineStack;
202 }
TagStack * hiStack
Definition: osislatex.h:57
TagStack * lineStack
Definition: osislatex.h:59
TagStack * quoteStack
Definition: osislatex.h:56
TagStack * titleStack
Definition: osislatex.h:58

Member Function Documentation

void OSISLaTeX::MyUserData::outputNewline ( SWBuf buf)

Definition at line 204 of file osislatex.cpp.

204  {
205  if (++consecutiveNewlines <= 2) {
206  outText("//\n", buf, this);
208  }
209 }
static void outText(const char *t, SWBuf &o, BasicFilterUserData *u)

Member Data Documentation

int OSISLaTeX::MyUserData::consecutiveNewlines

Definition at line 60 of file osislatex.h.

SWBuf OSISLaTeX::MyUserData::divLevel

Definition at line 54 of file osislatex.h.

bool OSISLaTeX::MyUserData::firstCell

Definition at line 51 of file osislatex.h.

SWBuf OSISLaTeX::MyUserData::fn

Definition at line 63 of file osislatex.h.

TagStack* OSISLaTeX::MyUserData::hiStack

Definition at line 57 of file osislatex.h.

bool OSISLaTeX::MyUserData::inXRefNote

Definition at line 48 of file osislatex.h.

bool OSISLaTeX::MyUserData::isBiblicalText

Definition at line 49 of file osislatex.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 OSISLaTeX::MyUserData::lastTransChange

Definition at line 61 of file osislatex.h.

TagStack* OSISLaTeX::MyUserData::lineStack

Definition at line 59 of file osislatex.h.

const SWModule* BasicFilterUserData::module
inherited

Definition at line 42 of file swbasicfilter.h.

bool OSISLaTeX::MyUserData::osisQToTick

Definition at line 47 of file osislatex.h.

TagStack* OSISLaTeX::MyUserData::quoteStack

Definition at line 56 of file osislatex.h.

bool BasicFilterUserData::supressAdjacentWhitespace
inherited

Definition at line 48 of file swbasicfilter.h.

int OSISLaTeX::MyUserData::suspendLevel

Definition at line 50 of file osislatex.h.

bool BasicFilterUserData::suspendTextPassThru
inherited

Definition at line 47 of file swbasicfilter.h.

TagStack* OSISLaTeX::MyUserData::titleStack

Definition at line 58 of file osislatex.h.

SWBuf OSISLaTeX::MyUserData::version

Definition at line 64 of file osislatex.h.

const VerseKey* BasicFilterUserData::vkey
inherited

Definition at line 44 of file swbasicfilter.h.

SWBuf OSISLaTeX::MyUserData::w

Definition at line 62 of file osislatex.h.

SWBuf OSISLaTeX::MyUserData::wordsOfChristEnd

Definition at line 53 of file osislatex.h.

SWBuf OSISLaTeX::MyUserData::wordsOfChristStart

Definition at line 52 of file osislatex.h.


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