C# Class Smrf.NodeXL.ExcelTemplate.GroupWorksheetReader

Class that knows how to read Excel worksheets containing group data.
Call ReadWorksheet to read the group worksheets.
Inheritance: WorksheetReaderBase
Show file Open project: 2014-sed-team3/term-project Class Usage Examples

Public Methods

Method Description
AssertValid ( ) : void
GroupWorksheetReader ( ) : System

Initializes a new instance of the GroupWorksheetReader class.

ReadWorksheet ( Microsoft workbook, ReadWorkbookContext readWorkbookContext, IGraph graph ) : void
VertexIsCollapsedGroup ( IVertex vertex ) : System.Boolean

Protected Methods

Method Description
GetReadColorAndShapeFlags ( IVertex oVertex, GroupInfo oGroup, ReadWorkbookContext oReadWorkbookContext, System.Boolean &bReadColorFromGroup, System.Boolean &bReadShapeFromGroup ) : void
ReadGroupTable ( ListObject oGroupTable, ReadWorkbookContext oReadWorkbookContext, HashSet oSkippedGroupNames, HashSet oHiddenGroupNames ) : ExcelTemplateGroupInfo>.Dictionary
ReadGroupTables ( ListObject oGroupTable, ListObject oGroupVertexTable, ReadWorkbookContext oReadWorkbookContext, IGraph oGraph ) : void
ReadGroupVertexTable ( ListObject oGroupVertexTable, ReadWorkbookContext oReadWorkbookContext, ExcelTemplateGroupInfo>.Dictionary oGroupNameDictionary, IGraph oGraph ) : void
ReadVisibility ( ExcelTableReader oRow, GroupVisibilityConverter oGroupVisibilityConverter, String sGroupName, HashSet oSkippedGroupNames, HashSet oHiddenGroupNames ) : void
SkipAndHideGroups ( ReadWorkbookContext oReadWorkbookContext, ExcelTemplateGroupInfo>.Dictionary oGroupNameDictionary, HashSet oSkippedGroupNames, HashSet oHiddenGroupNames, IGraph oGraph ) : void

Method Details

AssertValid() public method

public AssertValid ( ) : void
return void

GetReadColorAndShapeFlags() protected method

protected GetReadColorAndShapeFlags ( IVertex oVertex, GroupInfo oGroup, ReadWorkbookContext oReadWorkbookContext, System.Boolean &bReadColorFromGroup, System.Boolean &bReadShapeFromGroup ) : void
oVertex IVertex
oGroup Smrf.NodeXL.Core.GroupInfo
oReadWorkbookContext ReadWorkbookContext
bReadColorFromGroup System.Boolean
bReadShapeFromGroup System.Boolean
return void

GroupWorksheetReader() public method

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

ReadGroupTable() protected method

protected ReadGroupTable ( ListObject oGroupTable, ReadWorkbookContext oReadWorkbookContext, HashSet oSkippedGroupNames, HashSet oHiddenGroupNames ) : ExcelTemplateGroupInfo>.Dictionary
oGroupTable ListObject
oReadWorkbookContext ReadWorkbookContext
oSkippedGroupNames HashSet
oHiddenGroupNames HashSet
return ExcelTemplateGroupInfo>.Dictionary

ReadGroupTables() protected method

protected ReadGroupTables ( ListObject oGroupTable, ListObject oGroupVertexTable, ReadWorkbookContext oReadWorkbookContext, IGraph oGraph ) : void
oGroupTable ListObject
oGroupVertexTable ListObject
oReadWorkbookContext ReadWorkbookContext
oGraph IGraph
return void

ReadGroupVertexTable() protected method

protected ReadGroupVertexTable ( ListObject oGroupVertexTable, ReadWorkbookContext oReadWorkbookContext, ExcelTemplateGroupInfo>.Dictionary oGroupNameDictionary, IGraph oGraph ) : void
oGroupVertexTable ListObject
oReadWorkbookContext ReadWorkbookContext
oGroupNameDictionary ExcelTemplateGroupInfo>.Dictionary
oGraph IGraph
return void

ReadVisibility() protected method

protected ReadVisibility ( ExcelTableReader oRow, GroupVisibilityConverter oGroupVisibilityConverter, String sGroupName, HashSet oSkippedGroupNames, HashSet oHiddenGroupNames ) : void
oRow Smrf.AppLib.ExcelTableReader
oGroupVisibilityConverter GroupVisibilityConverter
sGroupName String
oSkippedGroupNames HashSet
oHiddenGroupNames HashSet
return void

ReadWorksheet() public method

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

SkipAndHideGroups() protected method

protected SkipAndHideGroups ( ReadWorkbookContext oReadWorkbookContext, ExcelTemplateGroupInfo>.Dictionary oGroupNameDictionary, HashSet oSkippedGroupNames, HashSet oHiddenGroupNames, IGraph oGraph ) : void
oReadWorkbookContext ReadWorkbookContext
oGroupNameDictionary ExcelTemplateGroupInfo>.Dictionary
oSkippedGroupNames HashSet
oHiddenGroupNames HashSet
oGraph IGraph
return void

VertexIsCollapsedGroup() public static method

public static VertexIsCollapsedGroup ( IVertex vertex ) : System.Boolean
vertex IVertex
return System.Boolean