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
Mostra file Open project: sillsdev/FieldWorks

Public Methods

Method 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 method

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

ContextStringFlid() public method

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

ContextStringLength() public method

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
return int

ContextStringStartOffset() public method

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
return int

ParaNodeInfo() public method

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
return SIL.FieldWorks.FDO

ParaNodeInfo() public method

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