BibleTime
Classes | Public Member Functions | Protected Member Functions | List of all members
Filters::OsisToHtml Class Reference

OSIS to HTMl conversion filter. More...

#include <osistohtml.h>

Inheritance diagram for Filters::OsisToHtml:

Classes

class  UserData
 

Public Member Functions

bool handleToken (sword::SWBuf &buf, const char *token, sword::BasicFilterUserData *userData) override
 
 OsisToHtml ()
 

Protected Member Functions

sword::BasicFilterUserData * createUserData (sword::SWModule const *module, sword::SWKey const *key) override
 

Detailed Description

OSIS to HTMl conversion filter.

Definition at line 40 of file osistohtml.h.

Constructor & Destructor Documentation

◆ OsisToHtml()

Filters::OsisToHtml::OsisToHtml ( )
Todo:
Move that down to the real tag handling, segs without the type morph would generate incorrect markup, as the end span is always inserted

Definition at line 110 of file osistohtml.cpp.

Member Function Documentation

◆ createUserData()

sword::BasicFilterUserData* Filters::OsisToHtml::createUserData ( sword::SWModule const *  module,
sword::SWKey const *  key 
)
inlineoverrideprotected

Reimplemented from sword::OSISHTMLHREF.

Definition at line 79 of file osistohtml.h.

◆ handleToken()

bool Filters::OsisToHtml::handleToken ( sword::SWBuf &  buf,
const char *  token,
sword::BasicFilterUserData *  userData 
)
override

Reimplemented from sword::OSISHTMLHREF.

Todo:
not allowed, remove soon
Todo:
not allowed, remove soon
Todo:
not allowed, remove soon

leave strong's markup notes out, in the future we'll probably have different option filters to turn different note types on or off

Definition at line 136 of file osistohtml.cpp.

References Rendering::CrossReference, Filters::OsisToHtml::UserData::entryAttributes, Rendering::Footnote, Filters::OsisToHtml::UserData::inCrossrefNote, Filters::OsisToHtml::UserData::noteTypes, Filters::OsisToHtml::UserData::quote, anonymous_namespace{osistohtml.cpp}::renderReference(), Filters::OsisToHtml::UserData::swordFootnote, and Filters::OsisToHtml::UserData::who.


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