C# Class Smrf.NodeXL.ExcelTemplate.WorkbookImporterBase

Base class for classes that import a graph from another open workbook.
Inheritance: Object
Mostra file Open project: 2014-sed-team3/term-project

Public Methods

Method Description
WorkbookImporterBase ( ) : System

Initializes a new instance of the WorkbookImporterBase class.

Protected Methods

Method Description
GetActiveSourceWorksheet ( Application oApplication, String sSourceWorkbookName ) : Worksheet
GetDestinationEdgeTable ( Microsoft oDestinationNodeXLWorkbook ) : ListObject
GetVertexColumnData ( ListObject oDestinationEdgeTable, System.Boolean bGetVertex1 ) : Range
OnInvalidSourceWorkbook ( String sMessage ) : void
OnInvalidSourceWorkbook ( String sMessage, Worksheet oSourceWorksheet, Int32 iRowOneBased, Int32 iColumnOneBased ) : void

Private Methods

Method Description
AssertValid ( ) : void

Method Details

GetActiveSourceWorksheet() protected method

protected GetActiveSourceWorksheet ( Application oApplication, String sSourceWorkbookName ) : Worksheet
oApplication Application
sSourceWorkbookName String
return Worksheet

GetDestinationEdgeTable() protected method

protected GetDestinationEdgeTable ( Microsoft oDestinationNodeXLWorkbook ) : ListObject
oDestinationNodeXLWorkbook Microsoft
return ListObject

GetVertexColumnData() protected method

protected GetVertexColumnData ( ListObject oDestinationEdgeTable, System.Boolean bGetVertex1 ) : Range
oDestinationEdgeTable ListObject
bGetVertex1 System.Boolean
return Range

OnInvalidSourceWorkbook() protected method

protected OnInvalidSourceWorkbook ( String sMessage ) : void
sMessage String
return void

OnInvalidSourceWorkbook() protected method

protected OnInvalidSourceWorkbook ( String sMessage, Worksheet oSourceWorksheet, Int32 iRowOneBased, Int32 iColumnOneBased ) : void
sMessage String
oSourceWorksheet Worksheet
iRowOneBased System.Int32
iColumnOneBased System.Int32
return void

WorkbookImporterBase() public method

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