33 static const char oName[] =
"Lemmas";
34 static const char oTip[] =
"Toggles Lemmas On and Off if they exist";
38 static const StringList oVals(&choices[0], &choices[2]);
56 const SWBuf orig = text;
57 const char * from = orig.
c_str();
60 for (text =
""; *from; ++from) {
80 for (
int i = 0; i < count; i++) {
83 if ((!prefix) || ((
SWBuf)prefix).startsWith(
"lemma.")) {
#define SWORD_NAMESPACE_START
const char * setAttribute(const char *attribName, const char *attribValue, int partNum=-1, char partSplit= '|')
bool startsWith(const SWBuf &prefix) const
static const StringList * oValues()
virtual char processText(SWBuf &text, const SWKey *key=0, const SWModule *module=0)
const char * c_str() const
std::list< SWBuf > StringList
SWBuf & append(const char *str, long max=-1)
static const char oName[]
const char * stripPrefix(char separator, bool endOfStringAsSeparator=false)
static const char * choices[4]
const char * getAttribute(const char *attribName, int partNum=-1, char partSplit= '|') const
#define SWORD_NAMESPACE_END
int getAttributePartCount(const char *attribName, char partSplit= '|') const