C# Class Smrf.NodeXL.ExcelTemplate.ReadWorkbookContext

Provides access to objects needed for converting an Excel workbook to a NodeXL graph.
If the X, Y, and Locked columns of the vertex table should be read, set IgnoreVertexLocations to false and set to the rectangle the graph is being drawn within. Otherwise, leave IgnoreVertexLocations at its default value of true.

Set FillIDColumns to true to store an ID in each row of the edge and vertex tables.

Set PopulateVertexWorksheet to true to populate the vertex table with unique vertex names from the edge worksheet before the workbook is read.

Set ReadEdgeWeights to true to read the edge weight column in the edge table.

Set ReadGroups to true to read the group worksheets.

To read labels specified on the vertex, edge or group worksheets, set , ReadEdgeLabels or to true.

To read images specified on the vertex worksheet, set to true, then set and DefaultVertexShape.

To read all columns in the edge and vertex worksheets and store the cell values as metadata on the graph's edge and vertex objects, set to true.

Inheritance: Object
Afficher le fichier Open project: 2014-sed-team3/term-project Class Usage Examples

Protected Properties

Свойство Type Description
m_bFillIDColumns System.Boolean
m_bIgnoreVertexLocations System.Boolean
m_bPopulateVertexWorksheet System.Boolean
m_bReadAllEdgeAndVertexColumns System.Boolean
m_bReadEdgeLabels System.Boolean
m_bReadEdgeWeights System.Boolean
m_bReadGroupLabels System.Boolean
m_bReadGroups System.Boolean
m_bReadVertexColorFromGroups System.Boolean
m_bReadVertexImages System.Boolean
m_bReadVertexLabels System.Boolean
m_bReadVertexShapeFromGroups System.Boolean
m_eDefaultVertexShape VertexShape
m_oBooleanConverter BooleanConverter
m_oColorConverter2 ColorConverter2
m_oDefaultVertexImageSize Nullable
m_oEdgeRowIDDictionary IIdentityProvider>.Dictionary
m_oEdgeStyleConverter EdgeStyleConverter
m_oEdgeWidthConverter EdgeWidthConverter
m_oFontSizeConverter FontSizeConverter
m_oGraphRectangle System.Drawing.Rectangle
m_oVertexLocationConverter VertexLocationConverter
m_oVertexNameDictionary IVertex>.Dictionary
m_oVertexRadiusConverter VertexRadiusConverter
m_oVertexRowIDDictionary IIdentityProvider>.Dictionary

Méthodes publiques

Méthode Description
AddToRowIDDictionary ( ExcelTableReader row, IIdentityProvider edgeOrVertex, System.Boolean isEdge ) : void
ReadWorkbookContext ( ) : System

Initializes a new instance of the ReadWorkbookContext class.

Private Methods

Méthode Description
AssertValid ( ) : void

Method Details

AddToRowIDDictionary() public méthode

public AddToRowIDDictionary ( ExcelTableReader row, IIdentityProvider edgeOrVertex, System.Boolean isEdge ) : void
row Smrf.AppLib.ExcelTableReader
edgeOrVertex IIdentityProvider
isEdge System.Boolean
Résultat void

ReadWorkbookContext() public méthode

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

Property Details

m_bFillIDColumns protected_oe property

protected Boolean,System m_bFillIDColumns
Résultat System.Boolean

m_bIgnoreVertexLocations protected_oe property

protected Boolean,System m_bIgnoreVertexLocations
Résultat System.Boolean

m_bPopulateVertexWorksheet protected_oe property

protected Boolean,System m_bPopulateVertexWorksheet
Résultat System.Boolean

m_bReadAllEdgeAndVertexColumns protected_oe property

protected Boolean,System m_bReadAllEdgeAndVertexColumns
Résultat System.Boolean

m_bReadEdgeLabels protected_oe property

protected Boolean,System m_bReadEdgeLabels
Résultat System.Boolean

m_bReadEdgeWeights protected_oe property

protected Boolean,System m_bReadEdgeWeights
Résultat System.Boolean

m_bReadGroupLabels protected_oe property

protected Boolean,System m_bReadGroupLabels
Résultat System.Boolean

m_bReadGroups protected_oe property

protected Boolean,System m_bReadGroups
Résultat System.Boolean

m_bReadVertexColorFromGroups protected_oe property

protected Boolean,System m_bReadVertexColorFromGroups
Résultat System.Boolean

m_bReadVertexImages protected_oe property

protected Boolean,System m_bReadVertexImages
Résultat System.Boolean

m_bReadVertexLabels protected_oe property

protected Boolean,System m_bReadVertexLabels
Résultat System.Boolean

m_bReadVertexShapeFromGroups protected_oe property

protected Boolean,System m_bReadVertexShapeFromGroups
Résultat System.Boolean

m_eDefaultVertexShape protected_oe property

protected VertexShape m_eDefaultVertexShape
Résultat VertexShape

m_oBooleanConverter protected_oe property

protected BooleanConverter m_oBooleanConverter
Résultat BooleanConverter

m_oColorConverter2 protected_oe property

protected ColorConverter2,Smrf.NodeXL.ExcelTemplate m_oColorConverter2
Résultat ColorConverter2

m_oDefaultVertexImageSize protected_oe property

protected Nullable m_oDefaultVertexImageSize
Résultat Nullable

m_oEdgeRowIDDictionary protected_oe property

protected Dictionary m_oEdgeRowIDDictionary
Résultat IIdentityProvider>.Dictionary

m_oEdgeStyleConverter protected_oe property

protected EdgeStyleConverter m_oEdgeStyleConverter
Résultat EdgeStyleConverter

m_oEdgeWidthConverter protected_oe property

protected EdgeWidthConverter,Smrf.NodeXL.ExcelTemplate m_oEdgeWidthConverter
Résultat EdgeWidthConverter

m_oFontSizeConverter protected_oe property

protected FontSizeConverter,Smrf.NodeXL.ExcelTemplate m_oFontSizeConverter
Résultat FontSizeConverter

m_oGraphRectangle protected_oe property

protected Rectangle,System.Drawing m_oGraphRectangle
Résultat System.Drawing.Rectangle

m_oVertexLocationConverter protected_oe property

protected VertexLocationConverter,Smrf.NodeXL.ExcelTemplate m_oVertexLocationConverter
Résultat VertexLocationConverter

m_oVertexNameDictionary protected_oe property

protected Dictionary m_oVertexNameDictionary
Résultat IVertex>.Dictionary

m_oVertexRadiusConverter protected_oe property

protected VertexRadiusConverter,Smrf.NodeXL.ExcelTemplate m_oVertexRadiusConverter
Résultat VertexRadiusConverter

m_oVertexRowIDDictionary protected_oe property

protected Dictionary m_oVertexRowIDDictionary
Résultat IIdentityProvider>.Dictionary