[sword-devel] Options and Features

Manfred Bergmann bergmannmd at web.de
Sun Jul 20 05:07:07 MST 2008


Hi.

Some API questions:

There are features per module and global options.
So for example if I want to show strong's numbers I need to check  
whether the module supports stong's by checking the feature:
getConfig().has("Feature", "StrongsNumbers")

Then, when I want to have stongs rendered (in the HTML output) I need  
to enable the global option?
setGlobalOption("Strong's Numbers", "On")

Is there anything else I need to do?


I noticed the feature string constants are dofferent than the options  
constants. Is there a reason for that?

Regards,
Manfred




More information about the sword-devel mailing list