[sword-devel] How to obtaining Headings, Foot notes, Cross references, etc, in Python

Manfred Bergmann bergmannmd at web.de
Tue Oct 21 04:11:39 MST 2008


Hi Anonymous.

Yes, you enable to render headings, foot notes and such using  
setGlobalOption().
The RenderText() method will get text including your enabled options.
You might need to add render filters to get HTML output:
AddRenderFilter(new sword::OSISHTMLHREF());

Remember to use the right Filter class depending on the source input  
type of the module.


Manfred



Am 21.10.2008 um 06:59 schrieb Anonymous:

> I don't understand C++ to be able figure this out and i've looked in  
> the source code of BPBible and others, and i can't figure it out  
> either. So if someone could explain to me how to simply obtain all  
> these things, i'd really appreciate it. All i know concerning this  
> is that i have to turn these options on through setGlobalOption()  
> for it to be rendered.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> 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