[sword-devel] How to get footnotes?

mmital mitalmanu at hotmail.com
Sat Aug 25 15:55:34 MST 2007


Hi,

I was wondering how to obtain footnotes in a particulat format (example, a valid HTML or RTF text).

Currently, I am using the following method that gives me the raw footnote string:



CStringArray Footnotes;
for (i1 = pModule->getEntryAttributes().begin(); i1 != pModule->getEntryAttributes().end(); i1++) 

for (i2 = i1->second.begin(); i2 != i1->second.end(); i2++) 

for (i3 = i2->second.begin(); i3 != i2->second.end(); i3++) 

{ 


CString first = i3->first;

CString second = i3->second;

first.MakeLower();

if(first == "body")  Footnotes.Add(second);


} // end of i3 iteration
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/sword-devel/attachments/20070825/ed2a1fc0/attachment.html 


More information about the sword-devel mailing list