58 if (!strcmp(tag.
getName(),
"w")) {
75 else lastText =
"stuff";
80 val = strchr(attrib,
':');
81 val = (val) ? (val + 1) : attrib;
85 val = strchr(attrib,
':');
86 val = (val) ? (val + 1) : attrib;
91 int i = (count > 1) ? 0 : -1;
95 val = strchr(attrib,
':');
96 val = (val) ? (val + 1) : attrib;
97 const char *val2 = val;
98 if ((strchr(
"GH", *val)) && (isdigit(val[1])))
100 if ((!strcmp(val2,
"3588")) && (lastText.
length() < 1))
103 }
while (++i < count);
107 if ((strstr(savelemma.
c_str(),
"3588")) && (lastText.
length() < 1))
111 int i = (count > 1) ? 0 : -1;
115 val = strchr(attrib,
':');
116 val = (val) ? (val + 1) : attrib;
117 const char *val2 = val;
118 if ((*val ==
'T') && (strchr(
"GH", val[1])) && (isdigit(val[2])))
121 }
while (++i < count);
125 val = strchr(attrib,
':');
126 val = (val) ? (val + 1) : attrib;
136 else if (!strcmp(tag.
getName(),
"note")) {
139 bool strongsMarkup = (type ==
"x-strongsMarkup" || type ==
"strongsMarkup");
145 if (!strongsMarkup) {
const char * getName() const
SWBuf interModuleLinkStart
#define SWORD_NAMESPACE_START
SWBuf & appendFormatted(const char *format,...)
const SWBuf passageStudyURL
unsigned long length() const
void setEmpty(bool value)
virtual const char * getConfigEntry(const char *key) const
const char * getName() const
bool substituteToken(SWBuf &buf, const char *token)
virtual BasicFilterUserData * createUserData(const SWModule *module, const SWKey *key)
virtual const char * getText() const
const char * c_str() const
SWBuf & append(const char *str, long max=-1)
const char * getAttribute(const char *attribName, int partNum=-1, char partSplit= '|') const
bool isEndTag(const char *eID=0) const
virtual BasicFilterUserData * createUserData(const SWModule *module, const SWKey *key)
virtual bool handleToken(SWBuf &buf, const char *token, BasicFilterUserData *userData)
#define SWORD_NAMESPACE_END
static const SWBuf encode(const char *urlText)
virtual bool handleToken(SWBuf &buf, const char *token, BasicFilterUserData *userData)
int getAttributePartCount(const char *attribName, char partSplit= '|') const