Свойство | Тип | Описание | |
---|---|---|---|
m_SegmentMarkers | List |
||
s_consultantNoteDefn | ICmAnnotationDefn | ||
s_translatorNoteDefn | ICmAnnotationDefn |
Метод | Описание | |
---|---|---|
AddImportStyleProxyForMapping ( SIL.FieldWorks.FDO.Scripture.ImportMappingInfo mapping, ImportStyleProxy>.Dictionary |
Exposes the TeSfmImporter.AddImportStyleProxyForMapping method
|
|
AddTextToPara ( string sText, ITsTextProps pttpProps ) : void |
Exposes the TeSfmImporter.AddTextToPara(string, ITsTextProps) method
|
|
FinalizeImport ( ) : void |
Exposes the TeSfmImporter.FinalizeImport method
|
|
FindCorrespondingFootnote ( int ws, string styleId ) : IScrFootnote |
Exposes the TeSfmImporter.FindCorrespondingFootnote(string) method
|
|
FindCorrespondingVernParaForSegment ( IStStyle style, SILUBS.SharedScrUtils.BCVRef targetRef, int iPara ) : IStTxtPara |
Find a paragraph with the specified style id, containing the specified verse number, if specified, and having the correct sequence number. Sets all appropriate state variables before returning.
|
|
GetFootnote ( int iFootnoteIndex ) : IStFootnote |
Get the requested footnote.
|
|
GetVerseRefAsString ( int wsBt ) : string |
Exposes the TeSfmImporter.GetVerseRefAsString method.
|
|
Import ( ) : void |
Exposes the TeImporter.Import method
|
|
Initialize ( ) : void |
Exposes the TeSfmImporter.Initialize method
|
|
MakeParatextTestSettings ( IScrImportSet settings ) : void |
Populate settings as if user had used the Import Wizard to choose a Paratext project and set up mappings.
|
|
MakeSFImportTestSettings ( IScrImportSet settings ) : void |
Populate settings as if user had used the Import Wizard to choose a SF project and set up mappings appropriate for TOB data files.
|
|
ProcessSegment ( string sText, string sMarker ) : void |
Exposes the TeSfmImporter.ProcessSegment method
|
|
SetUpMappings ( IScrImportSet settings ) : void |
Set up appropriate mappings for the TEV and TOB data files.
|
|
StopImport ( ) : void |
Simulates the user stopping an import.
|
|
VerifyAnnotationText ( IStText text, string fieldName, string expectedContents, int expectedWs ) : void |
Verifies that StText field for an annotation was initialized properly.
|
|
VerifyInitializedNoteText ( IStText text, string fieldName ) : void |
Verifies that StText field for an annotation was initialized properly.
|
|
VerifySimpleFootnote ( int iFootnoteIndex, string sFootnoteSegment, int iAutoNumberedFootnoteIndex, string sMarker, string sParaStyleName, int runCount ) : ITsString |
Tests that a footnote has been created in the DB with a single default run having the specified text.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
CallFinalizePrevSection ( IScrSection section, ImportDomain prevImportDomain, bool fInScriptureText ) : void |
Calls the FinalizePrevSection() method.
|
|
DummyTeImporter ( IScrImportSet settings, FdoTestBase testBase, FwStyleSheet styleSheet ) : System | ||
InitScriptureObject ( ) : void |
public AddImportStyleProxyForMapping ( SIL.FieldWorks.FDO.Scripture.ImportMappingInfo mapping, ImportStyleProxy>.Dictionary |
||
mapping | SIL.FieldWorks.FDO.Scripture.ImportMappingInfo | The mapping for which the proxy entry is to be created |
styleProxies | ImportStyleProxy>.Dictionary | Dictionary to add the proxy to |
Результат | void |
public AddTextToPara ( string sText, ITsTextProps pttpProps ) : void | ||
sText | string | Text to be appended to the paragraph being built |
pttpProps | ITsTextProps | Properties (should contain only a named style) for the run /// of text to be added. |
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public FindCorrespondingFootnote ( int ws, string styleId ) : IScrFootnote | ||
ws | int | The writing system of the current BT |
styleId | string | style of footnote to find |
Результат | IScrFootnote |
public FindCorrespondingVernParaForSegment ( IStStyle style, SILUBS.SharedScrUtils.BCVRef targetRef, int iPara ) : IStTxtPara | ||
style | IStStyle | style of paragraph to find |
targetRef | SILUBS.SharedScrUtils.BCVRef | Reference to seek |
iPara | int | 0-based index of paragraph |
Результат | IStTxtPara |
public GetFootnote ( int iFootnoteIndex ) : IStFootnote | ||
iFootnoteIndex | int | zero-based footnote index |
Результат | IStFootnote |
public GetVerseRefAsString ( int wsBt ) : string | ||
wsBt | int | |
Результат | string |
static public MakeParatextTestSettings ( IScrImportSet settings ) : void | ||
settings | IScrImportSet | The settings object to be populated |
Результат | void |
static public MakeSFImportTestSettings ( IScrImportSet settings ) : void | ||
settings | IScrImportSet | The settings object to be populated |
Результат | void |
public ProcessSegment ( string sText, string sMarker ) : void | ||
sText | string | text to import |
sMarker | string | standard format marker |
Результат | void |
static public SetUpMappings ( IScrImportSet settings ) : void | ||
settings | IScrImportSet | The settings object to be set up |
Результат | void |
public VerifyAnnotationText ( IStText text, string fieldName, string expectedContents, int expectedWs ) : void | ||
text | IStText | given StText |
fieldName | string | name of field |
expectedContents | string | Expected contents of (first and only) para (may be /// null) |
expectedWs | int | Expected writing system ID (ignored if expectedContents is /// null) |
Результат | void |
public VerifyInitializedNoteText ( IStText text, string fieldName ) : void | ||
text | IStText | given StText |
fieldName | string | name of field |
Результат | void |
public VerifySimpleFootnote ( int iFootnoteIndex, string sFootnoteSegment, int iAutoNumberedFootnoteIndex, string sMarker, string sParaStyleName, int runCount ) : ITsString | ||
iFootnoteIndex | int | zero-based footnote index |
sFootnoteSegment | string | Expected footnote contents |
iAutoNumberedFootnoteIndex | int | zero-based index of this footnote /// in list of all auto-numbered footnotes. This could the be the third footnote /// overall, but only the second auto-numbered footnote. |
sMarker | string | One of: |
sParaStyleName | string | Name of the paragraph style |
runCount | int | Number of runs expected in the footnote para |
Результат | ITsString |
public static ICmAnnotationDefn s_consultantNoteDefn | ||
Результат | ICmAnnotationDefn |