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

A map run represents a section of a paragraph: either a sequence of characters not including an ORC and having uniform properties and belonging to a single TextClientRun, or a non-text ClientRun, or the expansion of an ORC. It's main responsibility is to represent the relationship between a run of logical characters on the client side, and a run of rendering characters.
Inheritance: IRenderRun
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property Type Description
SelectAt SIL.FieldWorks.SharpViews.Selections.InsertionPoint
StylesFromUniformRun AssembledStyles

Public Methods

Method Description
CopyWithLogStart ( int newLogStart, int newRenStart ) : MapRun

Copy the MapRun except for substituting the new starts. MUST override in EVERY subclass, to ensure that the correct class is returned.

MapRun ( int logical, IClientRun clientRun, int render, int offset, int renderLength ) : System
MapRun ( int logical, IClientRun clientRun, int render, int offset, int clientUniformRunIndex, int renderLength ) : System

Private Methods

Method Description
SelectAt ( ParaBox para, int ich, bool asscociatePrevious ) : InsertionPoint
StylesFromUniformRun ( IClientRun run, int irun ) : AssembledStyles

Method Details

CopyWithLogStart() public method

Copy the MapRun except for substituting the new starts. MUST override in EVERY subclass, to ensure that the correct class is returned.
public CopyWithLogStart ( int newLogStart, int newRenStart ) : MapRun
newLogStart int
newRenStart int
return MapRun

MapRun() public method

public MapRun ( int logical, IClientRun clientRun, int render, int offset, int renderLength ) : System
logical int
clientRun IClientRun
render int
offset int
renderLength int
return System

MapRun() public method

public MapRun ( int logical, IClientRun clientRun, int render, int offset, int clientUniformRunIndex, int renderLength ) : System
logical int
clientRun IClientRun
render int
offset int
clientUniformRunIndex int
renderLength int
return System