C# Class Smrf.NodeXL.ExcelTemplate.EdgeWorksheetReader

Class that knows how to read an Excel worksheet containing edge data.
Call ReadWorksheet to read an edge worksheet.
Inheritance: WorksheetReaderBase
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Méthodes publiques

Méthode Description
AssertValid ( ) : void
EdgeWorksheetReader ( ) : System

Initializes a new instance of the EdgeWorksheetReader class.

GetEdgeTable ( Microsoft workbook ) : ListObject
ReadWorksheet ( Microsoft workbook, ReadWorkbookContext readWorkbookContext, IGraph graph ) : void

Méthodes protégées

Méthode Description
OnHalfEmptyEdgeRow ( ExcelTableReader oRow, System.Boolean bVertex1IsEmpty ) : void
ReadEdgeTable ( ListObject oEdgeTable, ReadWorkbookContext oReadWorkbookContext, IGraph oGraph ) : void
ReadEdgeWeight ( ExcelTableReader oRow, IEdge oEdge ) : void
ReadLabelFontSize ( ExcelTableReader oRow, FontSizeConverter oFontSizeConverter, IEdge oEdge ) : void
ReadStyle ( ExcelTableReader oRow, EdgeStyleConverter oEdgeStyleConverter, IEdge oEdge ) : void
ReadWidth ( ExcelTableReader oRow, EdgeWidthConverter oEdgeWidthConverter, IEdge oEdge ) : void

Method Details

AssertValid() public méthode

public AssertValid ( ) : void
Résultat void

EdgeWorksheetReader() public méthode

Initializes a new instance of the EdgeWorksheetReader class.
public EdgeWorksheetReader ( ) : System
Résultat System

GetEdgeTable() public méthode

public GetEdgeTable ( Microsoft workbook ) : ListObject
workbook Microsoft
Résultat ListObject

OnHalfEmptyEdgeRow() protected méthode

protected OnHalfEmptyEdgeRow ( ExcelTableReader oRow, System.Boolean bVertex1IsEmpty ) : void
oRow Smrf.AppLib.ExcelTableReader
bVertex1IsEmpty System.Boolean
Résultat void

ReadEdgeTable() protected méthode

protected ReadEdgeTable ( ListObject oEdgeTable, ReadWorkbookContext oReadWorkbookContext, IGraph oGraph ) : void
oEdgeTable ListObject
oReadWorkbookContext ReadWorkbookContext
oGraph IGraph
Résultat void

ReadEdgeWeight() protected méthode

protected ReadEdgeWeight ( ExcelTableReader oRow, IEdge oEdge ) : void
oRow Smrf.AppLib.ExcelTableReader
oEdge IEdge
Résultat void

ReadLabelFontSize() protected méthode

protected ReadLabelFontSize ( ExcelTableReader oRow, FontSizeConverter oFontSizeConverter, IEdge oEdge ) : void
oRow Smrf.AppLib.ExcelTableReader
oFontSizeConverter FontSizeConverter
oEdge IEdge
Résultat void

ReadStyle() protected méthode

protected ReadStyle ( ExcelTableReader oRow, EdgeStyleConverter oEdgeStyleConverter, IEdge oEdge ) : void
oRow Smrf.AppLib.ExcelTableReader
oEdgeStyleConverter EdgeStyleConverter
oEdge IEdge
Résultat void

ReadWidth() protected méthode

protected ReadWidth ( ExcelTableReader oRow, EdgeWidthConverter oEdgeWidthConverter, IEdge oEdge ) : void
oRow Smrf.AppLib.ExcelTableReader
oEdgeWidthConverter EdgeWidthConverter
oEdge IEdge
Résultat void

ReadWorksheet() public méthode

public ReadWorksheet ( Microsoft workbook, ReadWorkbookContext readWorkbookContext, IGraph graph ) : void
workbook Microsoft
readWorkbookContext ReadWorkbookContext
graph IGraph
Résultat void