Method | Description | |
---|---|---|
ChangeVersification ( IVerseReference vref ) : void |
Change the passed VerseRef to be this versification.
|
|
Get ( ScrVers vers ) : |
Get the versification table for this versification
|
|
GetFileNameForVersification ( ScrVers vers ) : string |
Gets the name of this requested versification file.
|
|
Initialize ( string vrsFolder ) : void |
This method should be called once before an application accesses anything that requires versification info. TODO: Paratext needs to call this with ScrTextCollection.SettingsDirectory.
|
|
LastBook ( ) : int | ||
LastChapter ( int bookNum ) : int |
Last chapter number in this book.
|
|
LastVerse ( int bookNum, int chapterNum ) : int |
Last verse number in this book/chapter.
|
Method | Description | |
---|---|---|
FileName ( ScrVers vers ) : string | ||
ParseChapterVerseLine ( string fileName, |
||
ParseMappingLine ( string fileName, |
||
ReadVersificationFile ( string fileName, |
Read versification file and "add" its entries. At the moment we only do this once. Eventually we will call this twice. Once for the standard versification, once for custom entries in versification.vrs file for this project.
|
|
VersificationTable ( ScrVers vers ) : System |
public ChangeVersification ( IVerseReference vref ) : void | ||
vref | IVerseReference | |
return | void |
public static Get ( ScrVers vers ) : |
||
vers | ScrVers | |
return |
public static GetFileNameForVersification ( ScrVers vers ) : string | ||
vers | ScrVers | Versification scheme |
return | string |
public static Initialize ( string vrsFolder ) : void | ||
vrsFolder | string | Path to the folder containing the .vrs files |
return | void |
public LastVerse ( int bookNum, int chapterNum ) : int | ||
bookNum | int | |
chapterNum | int | |
return | int |