C# Class SIL.FieldWorks.Discourse.ConstChartVc

Inheritance: SIL.FieldWorks.IText.InterlinVc
Datei anzeigen Open project: sillsdev/FieldWorks Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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).

Protected Methods

Method 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

Method 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 method

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

ConstChartVc() public method

public ConstChartVc ( ConstChartBody chart ) : System
chart ConstChartBody
return System

Display() public method

public Display ( IVwEnv vwenv, int hvo, int frag ) : void
vwenv IVwEnv
hvo int
frag int
return void

DisplayVec() public method

public DisplayVec ( IVwEnv vwenv, int hvo, int tag, int frag ) : void
vwenv IVwEnv
hvo int
tag int
frag int
return void

FormatGloss() protected method

protected FormatGloss ( IVwEnv vwenv, int ws ) : void
vwenv IVwEnv
ws int
return void

GetSegmentLevelTags() protected method

protected GetSegmentLevelTags ( SIL.FieldWorks.FDO.FdoCache cache ) : void
cache SIL.FieldWorks.FDO.FdoCache
return void

LabelRGBFor() protected method

protected LabelRGBFor ( int choiceIndex ) : int
choiceIndex int
return int

SetColWidths() public method

Set the column widths (in millipoints).
public SetColWidths ( VwLength widths ) : void
widths VwLength
return void

SetColor() protected method

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

SetupAndOpenInnerPile() protected method

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