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

An implementation of TextClientRun allowing us to use ordinary strings in paragraph layout. The AssembledStyles must specify a valid writing system.
Inheritance: TextClientRun
Exibir arquivo Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
CopyWithNewContents StringClientRun

Public Methods

Method Description
StringClientRun ( string contents, AssembledStyles style ) : System
UniformRunLength ( int irun ) : int
UniformRunStart ( int irun ) : int
UniformRunStyles ( int irun ) : AssembledStyles
UniformRunText ( int irun ) : string

Private Methods

Method Description
CopyWithNewContents ( string newContents ) : StringClientRun

Return an otherwise equivalent string client run that has the specified Contents. Subclasses should override to return the appropriate subclass and copy any additional information.

Method Details

StringClientRun() public method

public StringClientRun ( string contents, AssembledStyles style ) : System
contents string
style AssembledStyles
return System

UniformRunLength() public method

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

UniformRunStart() public method

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

UniformRunStyles() public method

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

UniformRunText() public method

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