SwigSword 20060729 review
DownloadSwigSword library is a branch of the SWORD bible software library with enhanced SWIG bindings
|
|
SwigSword library is a branch of the SWORD bible software library with enhanced SWIG bindings. This software will periodically be merged with the SWORD trunk.
Example code for using the SharpSword API:
SharpSword.MarkupFilterMgr markup = new SharpSword.MarkupFilterMgr();
markup.Encoding(SharpSword.Sword.ENC_HTML);
markup.Markup(SharpSword.Sword.FMT_HTML);
SharpSword.SWMgr mgr = new SharpSword.SWMgr(null, null, true, markup);
int mgrcount = mgr.moduleCount();
for (int i = 0; i < mgr.moduleCount(); i++)
{
SharpSword.SWModule mod = mgr.getModuleAt(i);
mod.SetKey(new SharpSword.VerseKey("John 3:16"));
string text = mod.text();
//do something with mod
What's New in This Release:
Support for functions which use stl maps was added.
SwigSword 20060729 search tags