C# 클래스 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.
상속: INodeInfo
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
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

메소드 상세

ContextString() 공개 메소드

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

ContextStringFlid() 공개 메소드

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

ContextStringLength() 공개 메소드

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
리턴 int

ContextStringStartOffset() 공개 메소드

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
리턴 int

ParaNodeInfo() 공개 메소드

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

ParaNodeInfo() 공개 메소드

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