#include <gbfthml.h>
this filter converts GBF text into ThML text
Definition at line 33 of file gbfthml.h.
virtual const char* SWFilter::getHeader |
( |
| ) |
const |
|
inlinevirtualinherited |
This method processes and appropriately modifies the text given it for a particular filter task
- Parameters
-
text | The text to be filtered/converted |
key | Current key That was used. |
module | Current module. |
- Returns
- 0
Implements SWFilter.
Definition at line 36 of file gbfthml.cpp.
46 for (text =
""; *from; from++) {
63 text +=
"<sync type=\"Strongs\" value=\"";
64 for (tok = token + 1; *tok; tok++)
70 text +=
"<sync type=\"Morph\" value=\"";
71 for (tok = token + 2; *tok; tok++)
82 for (tok = token + 3; *tok; tok++) {
83 if(*tok !=
'<' && *tok+1 !=
'R' && *tok+2 !=
'x') {
107 text +=
"<font face=\"";
108 for (tok = token + 2; *tok; tok++)
129 text +=
"<font color=\"#ff0000\">";
164 text += (char)atoi(&token[2]);
190 text +=
"<div class=\"sechead\">";
213 token[tokpos++] = *from;
const char * c_str() const
The documentation for this class was generated from the following files: