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
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Свойство Type Description
SelectAt SIL.FieldWorks.SharpViews.Selections.InsertionPoint
StylesFromUniformRun AssembledStyles

Méthodes publiques

Méthode 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

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

Method Details

CopyWithLogStart() public méthode

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
Résultat MapRun

MapRun() public méthode

public MapRun ( int logical, IClientRun clientRun, int render, int offset, int renderLength ) : System
logical int
clientRun IClientRun
render int
offset int
renderLength int
Résultat System

MapRun() public méthode

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
Résultat System