[sword-devel] Print Bible Features

Jimmie Houchin sword-devel@crosswire.org
Tue, 20 May 2003 16:40:38 -0500


Hello Troy.

Thanks for information. Thats good stuff to know.

A couple comments regarding this in the Windows frontend.

With the KJV and the MHC tabs selected:

In either Matthew or Genesis 1:0
increment to 2:x and it automatically goes to 2:1.

It would be nice to allow chapter:0 increments.

In the MHC box when going from MHC to MHCC or vice versa the text in the 
box reverts to the last chapter:verse from the chapter preceding the 
chapter:0 selected.  Except when at Genesis 1:0. :)

One has to go and increment then decrement the verse to get the correct 
MHC(C).

Other than those bugs, this is great. I look forward to playing with that.

Thanks again.

Jimmie Houchin



Troy A. Griffitts wrote:
> The sword Bible drivers make available a storage location for: chapter, 
> book, testament, and module introductions.  They are retrieved by 
> turning on headings and setting their subordinate properties to 0, e.g.
> 
> "Jn 1:0" would be the chapter introductions for John chapter 1.
> 
> The windows frontend should allow you to scroll down to the 0 element to 
> see these.  I believe MHC has many of these entries populated.
> 
> Code follows (probably more verbose than an example requires):
> 
> VerseKey key;
> key.Headings(1);
> key.Persist(1);
> module.setKey(&key);
> 
> key = "John 1:1";
> key.Verse(0);
> 
> cout << module;
> 
> Hope this helps,
> 
>         -Troy.
[snip]