C# Class SIL.FieldWorks.IText.SandboxBase.SandboxVc

Inheritance: SIL.FieldWorks.Common.RootSites.FwBaseVc, IDisposable
Afficher le fichier Open project: sillsdev/FieldWorks

Protected Properties

Свойство Type Description
m_caches CachePair
m_wsAnalysis int
m_wsUi int
m_wsVern int

Private Properties

Свойство Type Description
AddPullDownIcon void
ConvertPictureWidthToMillipoints int
DisplayLexGloss void
DisplayMorphBundles void
DisplayMorphForm void
DisplayWordGloss void
DisplayWordPOS void
DisplayWordform void
GetActualWs int
GetBestAlt int
MakeNextFlowObjectEditable void
MakeNextFlowObjectReadOnly void
SetBGColor void
SetEditabilityOfNextFlowObject void
SetIndentForMissingIcon void
SetIndentOrDisplayPullDown void
UpdateLineChoices void

Méthodes publiques

Méthode Description
AddGlossLabels ( IVwEnv vwenv, ITsStrFactory tsf, int color, string baseLabel, SIL.FieldWorks.FDO.FdoCache cache, WsListManager wsList ) : void

Add to the vwenv the label(s) for a gloss line. If multiple glosses are wanted, it generates a set of labels

CheckDisposed ( ) : void

Throw if the IsDisposed property is true

Display ( IVwEnv vwenv, int hvo, int frag ) : void
DisplayVariant ( IVwEnv vwenv, int tag, int frag ) : ITsString
DisplayVec ( IVwEnv vwenv, int hvo, int tag, int frag ) : void
Dispose ( ) : void
SandboxVc ( CachePair caches, SIL.FieldWorks.IText.InterlinLineChoices choices, bool fIconsForAnalysisChoices, SandboxBase sandbox ) : System

Méthodes protégées

Méthode Description
AddColoredString ( IVwEnv vwenv, int color, ITsStrFactory tsf, int ws, string str ) : void

Add the specified string in the specified color to the display, using the UI Writing system.

AddOptionalNamedObj ( IVwEnv vwenv, int hvo, int tag, int dummyTag, int dummyFrag, int tagIcon, int ws, int choiceIndex ) : void

Add to the vwenv a display of property tag of object hvo, which stores an SbNamedObj. If the property is non-null, display the name of the SbNamedObj. If not, display the dummyTag 'property' using the dummyFrag.

Dispose ( bool fDisposing ) : void
SetColor ( IVwEnv vwenv, int color ) : void

Called right before adding a string or opening a flow object, sets its color.

Private Methods

Méthode Description
AddPullDownIcon ( IVwEnv vwenv, int tag ) : void
ConvertPictureWidthToMillipoints ( IPicture picture ) : int

We want a width in millipoints (72000/inch). Value we have is in 100/mm. There are 25.4 mm/inch.

DisplayLexGloss ( IVwEnv vwenv, int hvo, int ws, int choiceIndex ) : void
DisplayMorphBundles ( IVwEnv vwenv, int hvo ) : void
DisplayMorphForm ( IVwEnv vwenv, int hvo, int frag, int ws, int choiceIndex ) : void
DisplayWordGloss ( IVwEnv vwenv, int hvo, int ws, int choiceIndex ) : void
DisplayWordPOS ( IVwEnv vwenv, int hvo, int ws, int choiceIndex ) : void
DisplayWordform ( IVwEnv vwenv, int ws, int choiceIndex ) : void
GetActualWs ( int hvo, int tag, int ws ) : int
GetBestAlt ( int hvo, int tag, int wsPreferred, int wsDefault, int wsList ) : int
MakeNextFlowObjectEditable ( IVwEnv vwenv ) : void
MakeNextFlowObjectReadOnly ( IVwEnv vwenv ) : void
SetBGColor ( IVwEnv vwenv, int guessColor ) : void
SetEditabilityOfNextFlowObject ( IVwEnv vwenv, bool fEditable ) : void
SetIndentForMissingIcon ( IVwEnv vwenv ) : void

Set the indent needed when the icon is missing.

SetIndentOrDisplayPullDown ( IVwEnv vwenv, int tag, bool fWantIcon ) : void

If fWantIcon is true, add a pull-down icon; otherwise, set enough indent so the next thing in the paragraph will line up with things that have icons.

UpdateLineChoices ( SIL.FieldWorks.IText.InterlinLineChoices choices ) : void

Method Details

AddColoredString() protected static méthode

Add the specified string in the specified color to the display, using the UI Writing system.
protected static AddColoredString ( IVwEnv vwenv, int color, ITsStrFactory tsf, int ws, string str ) : void
vwenv IVwEnv
color int
tsf ITsStrFactory
ws int
str string
Résultat void

AddGlossLabels() public méthode

Add to the vwenv the label(s) for a gloss line. If multiple glosses are wanted, it generates a set of labels
public AddGlossLabels ( IVwEnv vwenv, ITsStrFactory tsf, int color, string baseLabel, SIL.FieldWorks.FDO.FdoCache cache, WsListManager wsList ) : void
vwenv IVwEnv
tsf ITsStrFactory
color int
baseLabel string
cache SIL.FieldWorks.FDO.FdoCache
wsList WsListManager
Résultat void

AddOptionalNamedObj() protected méthode

Add to the vwenv a display of property tag of object hvo, which stores an SbNamedObj. If the property is non-null, display the name of the SbNamedObj. If not, display the dummyTag 'property' using the dummyFrag.
protected AddOptionalNamedObj ( IVwEnv vwenv, int hvo, int tag, int dummyTag, int dummyFrag, int tagIcon, int ws, int choiceIndex ) : void
vwenv IVwEnv
hvo int
tag int
dummyTag int
dummyFrag int
tagIcon int If non-zero, display a pull-down icon before the item, marked with this tag.
ws int which alternative of the name to display
choiceIndex int which item in m_choices this comes from. The icon is displayed /// only if it is the first one for its flid.
Résultat void

CheckDisposed() public méthode

Throw if the IsDisposed property is true
public CheckDisposed ( ) : void
Résultat void

Display() public méthode

public Display ( IVwEnv vwenv, int hvo, int frag ) : void
vwenv IVwEnv
hvo int
frag int
Résultat void

DisplayVariant() public méthode

public DisplayVariant ( IVwEnv vwenv, int tag, int frag ) : ITsString
vwenv IVwEnv
tag int
frag int
Résultat ITsString

DisplayVec() public méthode

public DisplayVec ( IVwEnv vwenv, int hvo, int tag, int frag ) : void
vwenv IVwEnv
hvo int
tag int
frag int
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool fDisposing ) : void
fDisposing bool
Résultat void

SandboxVc() public méthode

public SandboxVc ( CachePair caches, SIL.FieldWorks.IText.InterlinLineChoices choices, bool fIconsForAnalysisChoices, SandboxBase sandbox ) : System
caches CachePair
choices SIL.FieldWorks.IText.InterlinLineChoices
fIconsForAnalysisChoices bool
sandbox SandboxBase
Résultat System

SetColor() protected static méthode

Called right before adding a string or opening a flow object, sets its color.
protected static SetColor ( IVwEnv vwenv, int color ) : void
vwenv IVwEnv
color int
Résultat void

Property Details

m_caches protected_oe property

protected CachePair m_caches
Résultat CachePair

m_wsAnalysis protected_oe property

protected int m_wsAnalysis
Résultat int

m_wsUi protected_oe property

protected int m_wsUi
Résultat int

m_wsVern protected_oe property

protected int m_wsVern
Résultat int