C# Class SIL.FieldWorks.Common.Framework.DetailControls.TwoLevelConc.ParaNodeInfo

A ParaNodeinfo assumes that all the context strings are the contents of StTxtParas. It assumes the length of all key strings is constant, typically the length of the header node string. The offsets are supplied as a parameter to the constructor. Context editing is off by default, but may be turned on.
Inheritance: INodeInfo
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
ContextString ( int ihvoContext, int hvoContext ) : ITsString

Alternative context string (not used in this impl)

ContextStringFlid ( int ihvoContext, int hvoContext ) : int

This implementation assumes it is dealing with contents of paragraphs.

ContextStringLength ( int ihvoContext, int hvoContext ) : int

Obtains the length of the interesting word in the context string, given the HVO and position of the context object.

ContextStringStartOffset ( int ihvoContext, int hvoContext ) : int

Obtains the offset in the context string where the interesting word appears, given the HVO and position of the context object.

ParaNodeInfo ( int flidList, int startOffsets, ISilDataAccess sda, int hvoHeadObj, int flid ) : SIL.FieldWorks.FDO

This constructor looks up the headword of the slice to get the key length.

ParaNodeInfo ( int flidList, int startOffsets, int keyLength ) : SIL.FieldWorks.FDO

Method Details

ContextString() public méthode

Alternative context string (not used in this impl)
public ContextString ( int ihvoContext, int hvoContext ) : ITsString
ihvoContext int
hvoContext int
Résultat ITsString

ContextStringFlid() public méthode

This implementation assumes it is dealing with contents of paragraphs.
public ContextStringFlid ( int ihvoContext, int hvoContext ) : int
ihvoContext int
hvoContext int
Résultat int

ContextStringLength() public méthode

Obtains the length of the interesting word in the context string, given the HVO and position of the context object.
public ContextStringLength ( int ihvoContext, int hvoContext ) : int
ihvoContext int
hvoContext int
Résultat int

ContextStringStartOffset() public méthode

Obtains the offset in the context string where the interesting word appears, given the HVO and position of the context object.
public ContextStringStartOffset ( int ihvoContext, int hvoContext ) : int
ihvoContext int
hvoContext int
Résultat int

ParaNodeInfo() public méthode

This constructor looks up the headword of the slice to get the key length.
public ParaNodeInfo ( int flidList, int startOffsets, ISilDataAccess sda, int hvoHeadObj, int flid ) : SIL.FieldWorks.FDO
flidList int
startOffsets int
sda ISilDataAccess
hvoHeadObj int
flid int
Résultat SIL.FieldWorks.FDO

ParaNodeInfo() public méthode

public ParaNodeInfo ( int flidList, int startOffsets, int keyLength ) : SIL.FieldWorks.FDO
flidList int
startOffsets int
keyLength int
Résultat SIL.FieldWorks.FDO