C# Class SIL.FieldWorks.SharpViews.Paragraphs.TextClientRun

Used for things in a paragraph that contain text. Abstracts the behavior of TsString and ordinary strings that is important for paragraph layout.
Inheritance: IClientRun
ファイルを表示 Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
CharacterStyleNameAt ( int index ) : string
SelectAt ( ParaBox para, int ichRun, bool associatePrevious ) : InsertionPoint

Return an insertion point at specified position in THIS RUN within the paragraph.

SelectAtEnd ( ParaBox para ) : InsertionPoint

Return an insertion point at the end of the specified paragraph

SelectAtStart ( ParaBox para ) : InsertionPoint

Return an insertion point at the start of the specified paragraph (of which this is the first run)

UniformRunLength ( int irun ) : int
UniformRunStart ( int irun ) : int
UniformRunStyles ( int irun ) : AssembledStyles
UniformRunText ( int irun ) : string
WritingSystemAt ( int index ) : int

Method Details

CharacterStyleNameAt() public method

public CharacterStyleNameAt ( int index ) : string
index int
return string

SelectAt() public method

Return an insertion point at specified position in THIS RUN within the paragraph.
public SelectAt ( ParaBox para, int ichRun, bool associatePrevious ) : InsertionPoint
para ParaBox
ichRun int
associatePrevious bool
return SIL.FieldWorks.SharpViews.Selections.InsertionPoint

SelectAtEnd() public method

Return an insertion point at the end of the specified paragraph
public SelectAtEnd ( ParaBox para ) : InsertionPoint
para ParaBox
return SIL.FieldWorks.SharpViews.Selections.InsertionPoint

SelectAtStart() public method

Return an insertion point at the start of the specified paragraph (of which this is the first run)
public SelectAtStart ( ParaBox para ) : InsertionPoint
para ParaBox
return SIL.FieldWorks.SharpViews.Selections.InsertionPoint

UniformRunLength() public abstract method

public abstract UniformRunLength ( int irun ) : int
irun int
return int

UniformRunStart() public abstract method

public abstract UniformRunStart ( int irun ) : int
irun int
return int

UniformRunStyles() public abstract method

public abstract UniformRunStyles ( int irun ) : AssembledStyles
irun int
return AssembledStyles

UniformRunText() public abstract method

public abstract UniformRunText ( int irun ) : string
irun int
return string

WritingSystemAt() public method

public WritingSystemAt ( int index ) : int
index int
return int