200 ((ch ==
'H') ?
"Hebrew" :
"Greek"),
216 else if (!strcmp(tag.
getName(),
"note")) {
222 SWBuf footnoteBody =
"";
231 footnoteNumber.
c_str(),
240 footnoteNumber.
c_str(),
256 else if (!strcmp(tag.
getName(),
"scripture")) {
257 buf += (tag.
isEndTag() ?
"\\swordquote" :
"}");
260 else if (!strcmp(tag.
getName(),
"scripRef")) {
275 (version.length()) ? version.c_str() :
"");
282 SWBuf footnoteBody =
"";
293 footnoteNumber.
c_str(),
319 buf +=
"\\swordsection{sechead}{";
324 buf +=
"\\swordsection{";
330 buf +=
"\\swordsection{}{";
338 const char *src = strstr(token,
"src");
343 if (((c = strchr(src+3,
'"')) ==
NULL) ||
344 ((d = strchr( ++c ,
'"')) ==
NULL))
351 for (c = token; *c; c++) {
352 if ((*c ==
'/') && (*(c+1) ==
'\0'))
355 for (;((*c) && (*c !=
'"')); c++)
358 if (!*c) { c--;
continue; }
362 buf +=
"\\includegraphics{";
364 if (buf[buf.
length()-2] ==
'/')
const char * getName() const
#define SWORD_NAMESPACE_START
virtual const char * getHeader() const
SWBuf & appendFormatted(const char *format,...)
void setTokenEnd(const char *tokenEnd)
void addAllowedEscapeString(const char *findString)
unsigned long length() const
const char * getType() const
virtual const char * getConfigEntry(const char *key) const
const char * getName() const
void setTokenCaseSensitive(bool val)
void setEscapeStart(const char *escStart)
SWBuf renderText(const char *buf, int len=-1, bool render=true) const
bool substituteToken(SWBuf &buf, const char *token)
virtual const char * getText() const
virtual const char * getText() const
void setTokenStart(const char *tokenStart)
virtual bool handleToken(SWBuf &buf, const char *token, BasicFilterUserData *userData)
const char * c_str() const
void setPassThruNumericEscapeString(bool val)
virtual AttributeTypeList & getEntryAttributes() const
const char * getAttribute(const char *attribName, int partNum=-1, char partSplit= '|') const
void setEscapeStringCaseSensitive(bool val)
bool isEndTag(const char *eID=0) const
void addTokenSubstitute(const char *findString, const char *replaceString)
void setEscapeEnd(const char *escEnd)
#define SWORD_NAMESPACE_END
MyUserData(const SWModule *module, const SWKey *key)