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
Показать файл Открыть проект

Открытые методы

Метод Описание
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