C# Class SIL.FieldWorks.IText.RawTextVc

Inheritance: SIL.FieldWorks.Common.RootSites.StVc
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method 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

Protected Methods

Method 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

Method Description
SetupVernWsForText ( int wsVern ) : void

Method Details

DisplayVariant() public method

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
return ITsString

InsertParaContentsUserPrompt() protected method

protected InsertParaContentsUserPrompt ( IVwEnv vwenv, int paraHvo ) : bool
vwenv IVwEnv
paraHvo int
return bool

RawTextVc() public method

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

SetupWsAndDirectionForPara() protected method

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.
return void

UpdateProp() public method

public UpdateProp ( IVwSelection vwsel, int hvo, int tag, int frag, ITsString tssVal ) : ITsString
vwsel IVwSelection
hvo int
tag int
frag int
tssVal ITsString
return ITsString