C# Класс 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.

Наследование: Object
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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

Открытые методы

Метод Описание
AddToRowIDDictionary ( ExcelTableReader row, IIdentityProvider edgeOrVertex, System.Boolean isEdge ) : void
ReadWorkbookContext ( ) : System

Initializes a new instance of the ReadWorkbookContext class.

Приватные методы

Метод Описание
AssertValid ( ) : void

Описание методов

AddToRowIDDictionary() публичный Метод

public AddToRowIDDictionary ( ExcelTableReader row, IIdentityProvider edgeOrVertex, System.Boolean isEdge ) : void
row Smrf.AppLib.ExcelTableReader
edgeOrVertex IIdentityProvider
isEdge System.Boolean
Результат void

ReadWorkbookContext() публичный Метод

Initializes a new instance of the ReadWorkbookContext class.
public ReadWorkbookContext ( ) : System
Результат System

Описание свойств

m_bFillIDColumns защищенное свойство

protected Boolean,System m_bFillIDColumns
Результат System.Boolean

m_bIgnoreVertexLocations защищенное свойство

protected Boolean,System m_bIgnoreVertexLocations
Результат System.Boolean

m_bPopulateVertexWorksheet защищенное свойство

protected Boolean,System m_bPopulateVertexWorksheet
Результат System.Boolean

m_bReadAllEdgeAndVertexColumns защищенное свойство

protected Boolean,System m_bReadAllEdgeAndVertexColumns
Результат System.Boolean

m_bReadEdgeLabels защищенное свойство

protected Boolean,System m_bReadEdgeLabels
Результат System.Boolean

m_bReadEdgeWeights защищенное свойство

protected Boolean,System m_bReadEdgeWeights
Результат System.Boolean

m_bReadGroupLabels защищенное свойство

protected Boolean,System m_bReadGroupLabels
Результат System.Boolean

m_bReadGroups защищенное свойство

protected Boolean,System m_bReadGroups
Результат System.Boolean

m_bReadVertexColorFromGroups защищенное свойство

protected Boolean,System m_bReadVertexColorFromGroups
Результат System.Boolean

m_bReadVertexImages защищенное свойство

protected Boolean,System m_bReadVertexImages
Результат System.Boolean

m_bReadVertexLabels защищенное свойство

protected Boolean,System m_bReadVertexLabels
Результат System.Boolean

m_bReadVertexShapeFromGroups защищенное свойство

protected Boolean,System m_bReadVertexShapeFromGroups
Результат System.Boolean

m_eDefaultVertexShape защищенное свойство

protected VertexShape m_eDefaultVertexShape
Результат VertexShape

m_oBooleanConverter защищенное свойство

protected BooleanConverter m_oBooleanConverter
Результат BooleanConverter

m_oColorConverter2 защищенное свойство

protected ColorConverter2,Smrf.NodeXL.ExcelTemplate m_oColorConverter2
Результат ColorConverter2

m_oDefaultVertexImageSize защищенное свойство

protected Nullable m_oDefaultVertexImageSize
Результат Nullable

m_oEdgeRowIDDictionary защищенное свойство

protected Dictionary m_oEdgeRowIDDictionary
Результат IIdentityProvider>.Dictionary

m_oEdgeStyleConverter защищенное свойство

protected EdgeStyleConverter m_oEdgeStyleConverter
Результат EdgeStyleConverter

m_oEdgeWidthConverter защищенное свойство

protected EdgeWidthConverter,Smrf.NodeXL.ExcelTemplate m_oEdgeWidthConverter
Результат EdgeWidthConverter

m_oFontSizeConverter защищенное свойство

protected FontSizeConverter,Smrf.NodeXL.ExcelTemplate m_oFontSizeConverter
Результат FontSizeConverter

m_oGraphRectangle защищенное свойство

protected Rectangle,System.Drawing m_oGraphRectangle
Результат System.Drawing.Rectangle

m_oVertexLocationConverter защищенное свойство

protected VertexLocationConverter,Smrf.NodeXL.ExcelTemplate m_oVertexLocationConverter
Результат VertexLocationConverter

m_oVertexNameDictionary защищенное свойство

protected Dictionary m_oVertexNameDictionary
Результат IVertex>.Dictionary

m_oVertexRadiusConverter защищенное свойство

protected VertexRadiusConverter,Smrf.NodeXL.ExcelTemplate m_oVertexRadiusConverter
Результат VertexRadiusConverter

m_oVertexRowIDDictionary защищенное свойство

protected Dictionary m_oVertexRowIDDictionary
Результат IIdentityProvider>.Dictionary