Свойство | Тип | Описание | |
---|---|---|---|
m_CurrentWs | int | ||
m_SegmentMarkers | List |
Метод | Описание | |
---|---|---|
CurrentWs ( int defaultWs ) : int |
Since the tests don't actually have a real text enumerator or real files, return a surreal writing sytem.
|
|
GetNextSegment ( string &sText, string &sMarker, ImportDomain &domain ) : bool |
Advance the scripture text object enumerator to the next segment. This override allows us to test the condition where an unexpected exception occurs during import processing. If m_SegmentMarkers is set to a list of n segments, then this method will throw an exception when asked for segment n+1.
|
|
SetCurrentAnnotationType ( int hvoAnnotationType ) : void |
Sets the type of the current annotation (to facilitate testing)
|
Метод | Описание | |
---|---|---|
LoadParatextProject ( string paratextProjectId ) : void |
For testing, this is a no-op
|
public GetNextSegment ( string &sText, string &sMarker, ImportDomain &domain ) : bool | ||
sText | string | Set to the text of the current segment |
sMarker | string | Set to the marker of the current segment tag |
domain | ImportDomain | Set to the domain of the stream being processed |
Результат | bool |
protected LoadParatextProject ( string paratextProjectId ) : void | ||
paratextProjectId | string | 3-letter Paratext project ID |
Результат | void |
public SetCurrentAnnotationType ( int hvoAnnotationType ) : void | ||
hvoAnnotationType | int | HVO of the type of the current annotation. |
Результат | void |