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
显示文件 Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method 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

Protected Methods

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

public AssertValid ( ) : void
return void

EdgeWorksheetReader() public method

Initializes a new instance of the EdgeWorksheetReader class.
public EdgeWorksheetReader ( ) : System
return System

GetEdgeTable() public method

public GetEdgeTable ( Microsoft workbook ) : ListObject
workbook Microsoft
return ListObject

OnHalfEmptyEdgeRow() protected method

protected OnHalfEmptyEdgeRow ( ExcelTableReader oRow, System.Boolean bVertex1IsEmpty ) : void
oRow Smrf.AppLib.ExcelTableReader
bVertex1IsEmpty System.Boolean
return void

ReadEdgeTable() protected method

protected ReadEdgeTable ( ListObject oEdgeTable, ReadWorkbookContext oReadWorkbookContext, IGraph oGraph ) : void
oEdgeTable ListObject
oReadWorkbookContext ReadWorkbookContext
oGraph IGraph
return void

ReadEdgeWeight() protected method

protected ReadEdgeWeight ( ExcelTableReader oRow, IEdge oEdge ) : void
oRow Smrf.AppLib.ExcelTableReader
oEdge IEdge
return void

ReadLabelFontSize() protected method

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

ReadStyle() protected method

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

ReadWidth() protected method

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

ReadWorksheet() public method

public ReadWorksheet ( Microsoft workbook, ReadWorkbookContext readWorkbookContext, IGraph graph ) : void
workbook Microsoft
readWorkbookContext ReadWorkbookContext
graph IGraph
return void