C# Класс 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.
Наследование: IRenderRun
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
SelectAt SIL.FieldWorks.SharpViews.Selections.InsertionPoint
StylesFromUniformRun AssembledStyles

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

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

Приватные методы

Метод Описание
SelectAt ( ParaBox para, int ich, bool asscociatePrevious ) : InsertionPoint
StylesFromUniformRun ( IClientRun run, int irun ) : AssembledStyles

Описание методов

CopyWithLogStart() публичный Метод

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
Результат MapRun

MapRun() публичный Метод

public MapRun ( int logical, IClientRun clientRun, int render, int offset, int renderLength ) : System
logical int
clientRun IClientRun
render int
offset int
renderLength int
Результат System

MapRun() публичный Метод

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
Результат System