38 static const char oName[] =
"Footnotes";
39 static const char oTip[] =
"Toggles Footnotes On and Off if they exist";
43 static const StringList oVals(&choices[0], &choices[2]);
70 const char *from = orig.
c_str();
74 for (text =
""; *from; from++) {
84 if (!strncmp(token,
"RF",2)) {
93 else if (!strncmp(token,
"Rf",2)) {
97 if((tagText.
length() == 1) || !strcmp(module->
getName(),
"IGNT")) {
107 footnoteNum = (fc.
length()) ? atoi(fc.
c_str()) : 0;
108 sprintf(buf,
"%i", ++footnoteNum);
111 for (StringList::const_iterator it = attributes.begin(); it != attributes.end(); it++) {
142 else tagText.
append(*from);
const char * getName() const
#define SWORD_NAMESPACE_START
unsigned long length() const
const char * setAttribute(const char *attribName, const char *attribValue, int partNum=-1, char partSplit= '|')
static const StringList * oValues()
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 bool isProcessEntryAttributes() const
virtual AttributeTypeList & getEntryAttributes() const
static const char * choices[4]
const char * getAttribute(const char *attribName, int partNum=-1, char partSplit= '|') const
#define SWORD_NAMESPACE_END