C# 클래스 Smrf.NodeXL.ExcelTemplate.WorkbookExporter

Exports a workbook's contents to another workbook.
Use ExportSelectionToNewNodeXLWorkbook to export the selected rows of the edge and vertex tables to a new NodeXL workbook. Use ExportToNewMatrixWorkbook to export the edge table to a new workbook as an adjacency matrix.
파일 보기 프로젝트 열기: 2014-sed-team3/term-project

보호된 프로퍼티들

프로퍼티 타입 설명
m_oWorkbookToExport Microsoft.Office.Interop.Excel.Workbook

공개 메소드들

메소드 설명
ExportSelectionToNewNodeXLWorkbook ( ) : Microsoft.Office.Interop.Excel.Workbook
ExportToNewMatrixWorkbook ( ) : Microsoft.Office.Interop.Excel.Workbook
WorkbookExporter ( Microsoft workbookToExport ) : System

Initializes a new instance of the WorkbookExporter class.

보호된 메소드들

메소드 설명
CopyRowsToNewNodeXLWorkbook ( ListObject oSourceTable, Range oSourceTableRangeToCopy, Workbook oNewNodeXLWorkbook ) : void
CopyTableToNewNodeXLWorkbook ( String sWorksheetName, String sTableName, String sTemplatePath, Workbook &oNewNodeXLWorkbook ) : void
GetOrAddTableColumn ( ListColumn oSourceColumn, ListObject oNewTable ) : Range

비공개 메소드들

메소드 설명
AssertValid ( ) : void

메소드 상세

CopyRowsToNewNodeXLWorkbook() 보호된 메소드

protected CopyRowsToNewNodeXLWorkbook ( ListObject oSourceTable, Range oSourceTableRangeToCopy, Workbook oNewNodeXLWorkbook ) : void
oSourceTable ListObject
oSourceTableRangeToCopy Range
oNewNodeXLWorkbook Workbook
리턴 void

CopyTableToNewNodeXLWorkbook() 보호된 메소드

protected CopyTableToNewNodeXLWorkbook ( String sWorksheetName, String sTableName, String sTemplatePath, Workbook &oNewNodeXLWorkbook ) : void
sWorksheetName String
sTableName String
sTemplatePath String
oNewNodeXLWorkbook Workbook
리턴 void

ExportSelectionToNewNodeXLWorkbook() 공개 메소드

public ExportSelectionToNewNodeXLWorkbook ( ) : Microsoft.Office.Interop.Excel.Workbook
리턴 Microsoft.Office.Interop.Excel.Workbook

ExportToNewMatrixWorkbook() 공개 메소드

public ExportToNewMatrixWorkbook ( ) : Microsoft.Office.Interop.Excel.Workbook
리턴 Microsoft.Office.Interop.Excel.Workbook

GetOrAddTableColumn() 보호된 메소드

protected GetOrAddTableColumn ( ListColumn oSourceColumn, ListObject oNewTable ) : Range
oSourceColumn ListColumn
oNewTable ListObject
리턴 Range

WorkbookExporter() 공개 메소드

Initializes a new instance of the WorkbookExporter class.
public WorkbookExporter ( Microsoft workbookToExport ) : System
workbookToExport Microsoft /// The NodeXL workbook to export. ///
리턴 System

프로퍼티 상세

m_oWorkbookToExport 보호되어 있는 프로퍼티

protected Workbook,Microsoft.Office.Interop.Excel m_oWorkbookToExport
리턴 Microsoft.Office.Interop.Excel.Workbook