C# Class SIL.FieldWorks.Discourse.ConstChartVc

Inheritance: SIL.FieldWorks.IText.InterlinVc
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Свойство Type Description
AddRtLCloseBracketWithRLMs void
AddRtLOpenBracketWithRLMs void
ApplyFormatting void
ColorVal int
DisplayChartBody void
DisplayClausePlaceholder void
DisplayMovedTextTag void
DisplayWordforms void
GetRowStyleName string
GetRowStyleName string
InsertCloseBracket void
InsertCloseBracketInternal void
InsertOpenBracket void
InsertOpenBracketInternal void
InterpretUnderlineType int
LoadFormatProps void
MakeCells void
MakeColumnsOtherThanRowNum void
MakeRowNumColumn void
MakeTableAndRowWithStdWidths void
NoteWordGroupDependencies void
PrintColumnGroupHeaders void
PrintIndividualColumnHeaders void
PrintNotesCellHeader void
PrintOneTemplateHeader void
PrintRowNumCellHeader void
PrintTemplateColumnHeaders void
SetRowStyle void
SwapMovedTextMarkers void

Méthodes publiques

Méthode Description
ConstChartVc ( ConstChartBody chart ) : System
Display ( IVwEnv vwenv, int hvo, int frag ) : void
DisplayVec ( IVwEnv vwenv, int hvo, int tag, int frag ) : void
SetColWidths ( VwLength widths ) : void

Set the column widths (in millipoints).

Méthodes protégées

Méthode Description
AddWordBundleInternal ( int hvo, IVwEnv vwenv ) : void

Chart version

FormatGloss ( IVwEnv vwenv, int ws ) : void
GetSegmentLevelTags ( SIL.FieldWorks.FDO.FdoCache cache ) : void
LabelRGBFor ( int choiceIndex ) : int
SetColor ( IVwEnv vwenv, int color ) : void

A nasty kludge, but everything gray should also be underlined.

SetupAndOpenInnerPile ( IVwEnv vwenv ) : void

Setup a box with 5 under and trailing, plus leading alignment, and open the inner pile

Private Methods

Méthode Description
AddRtLCloseBracketWithRLMs ( IVwEnv vwenv, string key ) : void
AddRtLOpenBracketWithRLMs ( IVwEnv vwenv, string key ) : void
ApplyFormatting ( IVwEnv vwenv, string key ) : void
ColorVal ( string val ) : int

Interpret at color value, which can be one of the KnownColor names or (R, G, B). The result is what the Views code expects for colors.

DisplayChartBody ( IVwEnv vwenv ) : void
DisplayClausePlaceholder ( IVwEnv vwenv, int hvoClause ) : void
DisplayMovedTextTag ( int hvo, IVwEnv vwenv ) : void
DisplayWordforms ( IVwEnv vwenv, int hvoWordGrp ) : void
GetRowStyleName ( IConstChartRow row ) : string
GetRowStyleName ( int hvoRow ) : string
InsertCloseBracket ( IVwEnv vwenv, string key ) : void
InsertCloseBracketInternal ( IVwEnv vwenv, string bracket, bool fRtL ) : void
InsertOpenBracket ( IVwEnv vwenv, string key ) : void
InsertOpenBracketInternal ( IVwEnv vwenv, string bracket, bool fRtL ) : void
InterpretUnderlineType ( string strVal ) : int

Interpret an underline type string as an FwUnderlineType. Copied from XmlViews (to avoid yet another reference).

LoadFormatProps ( ) : void
MakeCells ( IVwEnv vwenv, int hvoRow ) : void

Makes the cells for a row using the MakeCellsMethod method object. Made internal for testing.

MakeColumnsOtherThanRowNum ( IVwEnv vwenv ) : void
MakeRowNumColumn ( IVwEnv vwenv ) : void
MakeTableAndRowWithStdWidths ( IVwEnv vwenv, int hvo, bool fHeader ) : void

Make a 'standard' row. Used for both header and body.

NoteWordGroupDependencies ( IVwEnv vwenv, int hvoWordGrp, int wordGrpFlidArray ) : void
PrintColumnGroupHeaders ( int hvo, IVwEnv vwenv ) : void
PrintIndividualColumnHeaders ( int hvo, IVwEnv vwenv ) : void
PrintNotesCellHeader ( IVwEnv vwenv, int analWs ) : void
PrintOneTemplateHeader ( IVwEnv vwenv, ITsStrFactory tssFact, int analWs, int icol ) : void
PrintRowNumCellHeader ( IVwEnv vwenv, int analWs ) : void
PrintTemplateColumnHeaders ( IVwEnv vwenv, ITsStrFactory tssFact, int analWs ) : void
SetRowStyle ( IVwEnv vwenv, IConstChartRow row ) : void
SwapMovedTextMarkers ( ) : void

Method Details

AddWordBundleInternal() protected méthode

Chart version
protected AddWordBundleInternal ( int hvo, IVwEnv vwenv ) : void
hvo int the IAnalysis object
vwenv IVwEnv
Résultat void

ConstChartVc() public méthode

public ConstChartVc ( ConstChartBody chart ) : System
chart ConstChartBody
Résultat System

Display() public méthode

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

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

FormatGloss() protected méthode

protected FormatGloss ( IVwEnv vwenv, int ws ) : void
vwenv IVwEnv
ws int
Résultat void

GetSegmentLevelTags() protected méthode

protected GetSegmentLevelTags ( SIL.FieldWorks.FDO.FdoCache cache ) : void
cache SIL.FieldWorks.FDO.FdoCache
Résultat void

LabelRGBFor() protected méthode

protected LabelRGBFor ( int choiceIndex ) : int
choiceIndex int
Résultat int

SetColWidths() public méthode

Set the column widths (in millipoints).
public SetColWidths ( VwLength widths ) : void
widths VwLength
Résultat void

SetColor() protected méthode

A nasty kludge, but everything gray should also be underlined.
protected SetColor ( IVwEnv vwenv, int color ) : void
vwenv IVwEnv
color int
Résultat void

SetupAndOpenInnerPile() protected méthode

Setup a box with 5 under and trailing, plus leading alignment, and open the inner pile
protected SetupAndOpenInnerPile ( IVwEnv vwenv ) : void
vwenv IVwEnv
Résultat void