[sword-devel] Update FilterManager

Troy A. Griffitts scribe at crosswire.org
Mon Nov 20 11:41:02 MST 2006

	Have a look at:

void SWMgr::setGlobalOption(const char *option, const char *value);
const char *SWMgr::getGlobalOption(const char *option);
const char *SWMgr::getGlobalOptionTip(const char *option);
StringList SWMgr::getGlobalOptions();
StringList SWMgr::getGlobalOptionValues(const char *option);


Richard Parsons wrote:
> I'm creating a filter manager and passing it into the manager when I
> create it and I can display Bible texts in red or with paragraph marks
> but I'm wanting to change the FilterManager if I have a check box
> unchecked but I'm not seeing a way to change it.  Am I even correct in
> assuming that I need to change the FilterManager or is there another
> way to do this that I'm missing?
> Below is the code I'm using (I'm writing in C# by the way):
> MarkupFilterMgr mSWFilterMgr = new
> MarkupFilterMgr((char)Sword.FMT_HTMLHREF, (char)Sword.ENC_HTML);
> SWMgr mgr = new SWMgr(mSWFilterMgr);
> mgr.getModule("KJV").setKey(new VerseKey(txtVerse.Text));
> //I would like to change the filter here to turn off the word of Christ in red.
> webBrowser1.DocumentText = mgr.getModule("KJV").RenderText();
> Thanks for the help,
> Richard
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list