39 static const char oName[] =
"Footnotes";
40 static const char oTip[] =
"Toggles Footnotes On and Off if they exist";
44 static const StringList oVals(&choices[0], &choices[2]);
76 const char *from = orig.
c_str();
78 for (text =
""; *from; from++) {
88 if (!strcmp(tag.
getName(),
"note")) {
101 footnoteNum = (fc.
length()) ? atoi(fc.
c_str()) : 0;
102 sprintf(buf,
"%i", ++footnoteNum);
105 for (StringList::iterator it = attributes.begin(); it != attributes.end(); it++) {
150 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)
#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