36 static const char oName[] =
"Cross-references";
37 static const char oTip[] =
"Toggles Scripture Cross-references On and Off if they exist";
41 static const StringList oVals(&choices[0], &choices[2]);
73 const char *from = orig.
c_str();
75 for (text =
""; *from; from++) {
85 if (!strcmp(tag.
getName(),
"scripRef")) {
99 sprintf(buf,
"%i", ++footnoteNum);
102 for (StringList::iterator it = attributes.begin(); it != attributes.end(); it++) {
147 else tagText += *from;
#define SWORD_NAMESPACE_START
unsigned long length() const
const char * setAttribute(const char *attribName, const char *attribValue, int partNum=-1, char partSplit= '|')
const char * getName() const
static const StringList * oValues()
virtual SWKey * clone() const
virtual const char * getText() const
const StringList getAttributeNames() const
const char * c_str() const
std::list< SWBuf > StringList
SWBuf & append(const char *str, long max=-1)
static const char oName[]
virtual ListKey parseVerseList(const char *buf, const char *defaultKey=0, bool expandRange=false, bool useChapterAsVerse=false)
virtual char processText(SWBuf &text, const SWKey *key=0, const SWModule *module=0)
#define SWDYNAMIC_CAST(className, object)
virtual bool isProcessEntryAttributes() const
virtual AttributeTypeList & getEntryAttributes() const
static const char * choices[4]
const char * getAttribute(const char *attribName, int partNum=-1, char partSplit= '|') const
bool isEndTag(const char *eID=0) const
#define SWORD_NAMESPACE_END
virtual SWKey * createKey() const