Method | Description | |
---|---|---|
AddChapterToInterestingTexts ( IStText newText ) : bool |
This is invoked when TE (or some other program) invokes a link, typically to a Scripture Section text not in our filter. If possible, add it to the filter and return true. Also add any other sections in the same chapter. Also when jumping from Notebook to a text that is excluded. Todo JohnT: get it called from TE and test it; not currently used by TE (ported from parts of old InterlinearTextsVirtualHandler)
|
|
InterestingTextList ( |
||
InterestingTextList ( |
||
IsInterestingText ( IStText text ) : bool | ||
MakeIdList ( IEnumerable |
Make a string that corresponds to a list of guids.
|
|
MakeIdList ( IEnumerable |
Make a string that corresponds to a list of objects.
|
|
PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void | ||
SetInterestingTexts ( IEnumerable |
This routine is where InterlinMaster sends the results of running the IFilterTextsDialog. The list may include regular as well as scripture texts. We persist them separately because Scripture is excluded by default and regular texts are included by default. Thus, storing a list of the INCLUDED scripture means that originally, or if we clear all saved settings, NO scripture is included, and any newly created Scripture is also excluded until manually added. Storing a lis of EXCLUDED regular texts means that originally, or if we clear all saved settings, ALL regular texts are included, and if we add a new one, it is automatically included.
|
|
SetScriptureTextsInPropertyTable ( |
Store in the property table what needs to be there so that we will use the specified set of scripture texts as 'interesting'.
|
Method | Description | |
---|---|---|
AddAfter ( int indexAfter, IStText item ) : int | ||
AddBefore ( int index, IStText item ) : int | ||
BookPosition ( IScrBook book ) : int | ||
ClearInvalidObjects ( List |
||
ExcludedCoreTextIdList ( ) : HashSet |
||
GetCache ( ) : void | ||
GetCoreTexts ( ) : List |
Get the "core" (non-scripture) texts that we want to display. This is all the ones not on the excluded list.
|
|
GetRelatedClerkIds ( string id ) : IEnumerable |
||
GetScriptureTexts ( ) : List |
||
InvalidateRelatedSortSequences ( ) : void | ||
RaiseInterestingTextsChanged ( int insertAt, int inserted, int deleted ) : void | ||
RemoveSortSequenceFile ( string filename ) : void | ||
TextPosition ( IStText text ) : int |
Return an index we can use to order StTexts in Scripture. Take the book index * 10,000. if not in the title, add (section index + 1)*2. If in contents add 1.
|
|
UpdateExcludedCoreTexts ( HashSet |
||
UpdateInterestingTexts ( ) : void | ||
UpdatePropertyTable ( ) : void |
public AddChapterToInterestingTexts ( IStText newText ) : bool | ||
newText | IStText | |
return | bool |
public InterestingTextList ( |
||
propertyTable | ||
repo | ITextRepository | |
stTextRepo | IStTextRepository | |
return | System |
public InterestingTextList ( |
||
propertyTable | ||
repo | ITextRepository | |
stTextRepo | IStTextRepository | |
includeScripture | bool | |
return | System |
public IsInterestingText ( IStText text ) : bool | ||
text | IStText | |
return | bool |
public static MakeIdList ( IEnumerable |
||
objects | IEnumerable |
|
return | string |
public static MakeIdList ( IEnumerable |
||
objects | IEnumerable |
|
return | string |
public PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void | ||
hvo | int | |
tag | int | |
ivMin | int | |
cvIns | int | |
cvDel | int | |
return | void |
public SetInterestingTexts ( IEnumerable |
||
stTexts | IEnumerable |
|
return | void |
public static SetScriptureTextsInPropertyTable ( |
||
propertyTable | ||
texts | IEnumerable |
|
return | void |