C# Class SIL.FieldWorks.IText.RawTextVc

Inheritance: SIL.FieldWorks.Common.RootSites.StVc
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
DisplayVariant ( IVwEnv vwenv, int tag, int frag ) : ITsString

We only use this to generate our empty text prompt.

RawTextVc ( IVwRootBox rootb, SIL.FieldWorks.FDO.FdoCache cache, int wsFirstPara ) : System
UpdateProp ( IVwSelection vwsel, int hvo, int tag, int frag, ITsString tssVal ) : ITsString

Méthodes protégées

Méthode Description
InsertParaContentsUserPrompt ( IVwEnv vwenv, int paraHvo ) : bool
SetupWsAndDirectionForPara ( IVwEnv vwenv, int paraHvo ) : void

Set the BaseWs and RightToLeft properties for the paragraph that is being laid out. These are computed (if possible) from the current paragraph; otherwise, use the default as set on the view contructor for the whole text. This override also sets the alignment (which presumably overrides the alignment set in the stylesheet?).

Private Methods

Méthode Description
SetupVernWsForText ( int wsVern ) : void

Method Details

DisplayVariant() public méthode

We only use this to generate our empty text prompt.
public DisplayVariant ( IVwEnv vwenv, int tag, int frag ) : ITsString
vwenv IVwEnv
tag int
frag int
Résultat ITsString

InsertParaContentsUserPrompt() protected méthode

protected InsertParaContentsUserPrompt ( IVwEnv vwenv, int paraHvo ) : bool
vwenv IVwEnv
paraHvo int
Résultat bool

RawTextVc() public méthode

public RawTextVc ( IVwRootBox rootb, SIL.FieldWorks.FDO.FdoCache cache, int wsFirstPara ) : System
rootb IVwRootBox
cache SIL.FieldWorks.FDO.FdoCache
wsFirstPara int
Résultat System

SetupWsAndDirectionForPara() protected méthode

Set the BaseWs and RightToLeft properties for the paragraph that is being laid out. These are computed (if possible) from the current paragraph; otherwise, use the default as set on the view contructor for the whole text. This override also sets the alignment (which presumably overrides the alignment set in the stylesheet?).
protected SetupWsAndDirectionForPara ( IVwEnv vwenv, int paraHvo ) : void
vwenv IVwEnv The vwenv.
paraHvo int The HVO of the paragraph.
Résultat void

UpdateProp() public méthode

public UpdateProp ( IVwSelection vwsel, int hvo, int tag, int frag, ITsString tssVal ) : ITsString
vwsel IVwSelection
hvo int
tag int
frag int
tssVal ITsString
Résultat ITsString