sword::OSISWEBIF Class Reference

this filter converts OSIS text to HTML text with hrefs More...

#include <osiswebif.h>

Inheritance diagram for sword::OSISWEBIF:

Inheritance graph
[legend]
Collaboration diagram for sword::OSISWEBIF:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setJavascript (bool mode)

Protected Member Functions

virtual bool handleToken (SWBuf &buf, const char *token, BasicFilterUserData *userData)
 This function is called for every token encountered in the input text.
virtual BasicFilterUserDatacreateUserData (const SWModule *module, const SWKey *key)

Private Attributes

const SWBuf baseURL
const SWBuf passageStudyURL
bool javascript

Detailed Description

this filter converts OSIS text to HTML text with hrefs

Definition at line 30 of file osiswebif.h.


Member Function Documentation

virtual bool sword::OSISWEBIF::handleToken ( SWBuf buf,
const char *  token,
BasicFilterUserData userData 
) [protected, virtual]

This function is called for every token encountered in the input text.

Parameters:
buf the output buffer
token the token (e.g. "p align='left'"
userData user storage space for data transient to 1 full buffer parse
Returns:
subclasses should return true if they handled the token, or false if they did not.

Reimplemented from sword::OSISHTMLHREF.


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