C# 클래스 NPOI.XSSF.UserModel.XSSFWorkbook

상속: POIXMLDocument, IWorkbook
파일 보기 프로젝트 열기: tonyqus/npoi 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DEFAULT_CHARACTER_WIDTH float
PICTURE_TYPE_BMP int
PICTURE_TYPE_DIB int
PICTURE_TYPE_EMF int
PICTURE_TYPE_EPS int
PICTURE_TYPE_GIF int
PICTURE_TYPE_JPEG int
PICTURE_TYPE_PICT int
PICTURE_TYPE_PNG int
PICTURE_TYPE_TIFF int
PICTURE_TYPE_WMF int
PICTURE_TYPE_WPG int

공개 메소드들

메소드 설명
Add ( ISheet item ) : void
AddPicture ( Stream picStream, int format ) : int
AddPicture ( byte pictureData, PictureType format ) : int
AddPicture ( byte pictureData, int format ) : int
AddToolPack ( NPOI.SS.Formula.Udf.UDFFinder toopack ) : void
Clear ( ) : void
CloneSheet ( int sheetNum ) : ISheet
Contains ( ISheet item ) : bool
CopyTo ( ISheet array, int arrayIndex ) : void
CreateCellStyle ( ) : ICellStyle

Create a new XSSFCellStyle and add it to the workbook's style table

CreateDataFormat ( ) : IDataFormat

Returns the instance of XSSFDataFormat for this workbook.

CreateFont ( ) : IFont

Create a new Font and add it to the workbook's font table

CreateName ( ) : IName
CreateSheet ( ) : ISheet
CreateSheet ( String sheetname ) : ISheet
FindFont ( short boldWeight, short color, short fontHeight, String name, bool italic, bool strikeout, FontSuperScript typeOffset, FontUnderlineType underline ) : IFont
GetAllEmbedds ( ) : List
GetAllPictures ( ) : IList
GetBuiltInName ( String builtInCode, int sheetNumber ) : NPOI.XSSF.UserModel.XSSFName
GetCTWorkbook ( ) : NPOI.OpenXmlFormats.Spreadsheet.CT_Workbook
GetCalculationChain ( ) : NPOI.XSSF.Model.CalculationChain
GetCellStyleAt ( short idx ) : ICellStyle
GetCellStyleAt ( int idx ) : NPOI.XSSF.UserModel.XSSFCellStyle
GetCreationHelper ( ) : ICreationHelper
GetCustomXMLMappings ( ) : List
GetEnumerator ( ) : IEnumerator
GetFontAt ( short idx ) : IFont
GetForceFormulaRecalculation ( ) : bool
GetMapInfo ( ) : NPOI.XSSF.Model.MapInfo
GetName ( String name ) : IName
GetNameAt ( int nameIndex ) : IName
GetNameIndex ( String name ) : int
GetPrintArea ( int sheetIndex ) : String
GetSharedStringSource ( ) : NPOI.XSSF.Model.SharedStringsTable
GetSheet ( String name ) : ISheet
GetSheetAt ( int index ) : ISheet
GetSheetIndex ( ISheet sheet ) : int
GetSheetIndex ( String name ) : int

Returns the index of the sheet by his name (case insensitive match)

GetSheetName ( int sheetIx ) : String
GetStylesSource ( ) : NPOI.XSSF.Model.StylesTable
GetTheme ( ) : NPOI.XSSF.Model.ThemesTable
IndexOf ( ISheet item ) : int
Insert ( int index, ISheet item ) : void
IsMacroEnabled ( ) : bool
IsRevisionLocked ( ) : bool
IsSheetHidden ( int sheetIx ) : bool
IsSheetVeryHidden ( int sheetIx ) : bool
IsStructureLocked ( ) : bool
IsWindowsLocked ( ) : bool
LinkExternalWorkbook ( String name, IWorkbook workbook ) : int
LockRevision ( ) : void
LockStructure ( ) : void
LockWindows ( ) : void
Remove ( ISheet item ) : bool
RemoveAt ( int index ) : void
RemoveName ( String name ) : void
RemoveName ( NPOI.XSSF.UserModel.XSSFName name ) : void
RemoveName ( int nameIndex ) : void
RemovePrintArea ( int sheetIndex ) : void
RemoveSheetAt ( int index ) : void
SetActiveSheet ( int sheetIndex ) : void
SetForceFormulaRecalculation ( bool value ) : void
SetPrintArea ( int sheetIndex, String reference ) : void
SetPrintArea ( int sheetIndex, int startColumn, int endColumn, int startRow, int endRow ) : void
SetSelectedTab ( int index ) : void
SetSheetHidden ( int sheetIx, SheetState state ) : void
SetSheetHidden ( int sheetIx, bool hidden ) : void
SetSheetHidden ( int sheetIx, int hidden ) : void

Hide or unhide a sheet.

SetSheetName ( int sheetIndex, String sheetname ) : void
SetSheetOrder ( String sheetname, int pos ) : void
UnlockRevision ( ) : void
UnlockStructure ( ) : void
UnlockWindows ( ) : void
XSSFWorkbook ( ) : System.Text.RegularExpressions
XSSFWorkbook ( FileInfo file ) : System.Text.RegularExpressions
XSSFWorkbook ( NPOI.OpenXml4Net.OPC.OPCPackage pkg ) : System.Text.RegularExpressions
XSSFWorkbook ( Stream is1 ) : System.Text.RegularExpressions
XSSFWorkbook ( String path ) : System.Text.RegularExpressions
this ( int index ) : ISheet

보호된 메소드들

메소드 설명
AddPivotCache ( String rId ) : NPOI.OpenXmlFormats.Spreadsheet.CT_PivotCache
BeforeDocumentRead ( ) : void
Commit ( ) : void
CreateDialogsheet ( String sheetname, NPOI.OpenXmlFormats.Spreadsheet.CT_Dialogsheet dialogsheet ) : NPOI.XSSF.UserModel.XSSFDialogsheet
newPackage ( ) : NPOI.OpenXml4Net.OPC.OPCPackage

비공개 메소드들

메소드 설명
AddSheet ( String sheetname ) : NPOI.OpenXmlFormats.Spreadsheet.CT_Sheet
ContainsSheet ( String name, int excludeSheetIdx ) : bool
CreateBuiltInName ( String builtInName, int sheetNumber ) : NPOI.XSSF.UserModel.XSSFName
CreateProtectionFieldIfNotPresent ( ) : void
GetReferenceBuiltInRecord ( String sheetName, int startC, int endC, int startR, int endR ) : String
GetReferencePrintArea ( String sheetName, int startC, int endC, int startR, int endR ) : String
GetUDFFinder ( ) : NPOI.SS.Formula.Udf.UDFFinder
IsDate1904 ( ) : bool
OnDeleteFormula ( NPOI.XSSF.UserModel.XSSFCell cell ) : void
OnDocumentRead ( ) : void
OnSheetDelete ( int index ) : void
OnWorkbookCreate ( ) : void
ReprocessNamedRanges ( ) : void
SaveCalculationChain ( ) : void
SaveNamedRanges ( ) : void
SetRepeatingRowsAndColumns ( int sheetIndex, int startColumn, int endColumn, int startRow, int endRow ) : void
ValidateSheetIndex ( int index ) : void
WorkbookProtectionPresent ( ) : bool

메소드 상세

Add() 공개 메소드

public Add ( ISheet item ) : void
item ISheet
리턴 void

AddPicture() 공개 메소드

public AddPicture ( Stream picStream, int format ) : int
picStream Stream
format int
리턴 int

AddPicture() 공개 메소드

public AddPicture ( byte pictureData, PictureType format ) : int
pictureData byte
format PictureType
리턴 int

AddPicture() 공개 메소드

public AddPicture ( byte pictureData, int format ) : int
pictureData byte
format int
리턴 int

AddPivotCache() 보호된 메소드

protected AddPivotCache ( String rId ) : NPOI.OpenXmlFormats.Spreadsheet.CT_PivotCache
rId String
리턴 NPOI.OpenXmlFormats.Spreadsheet.CT_PivotCache

AddToolPack() 공개 메소드

public AddToolPack ( NPOI.SS.Formula.Udf.UDFFinder toopack ) : void
toopack NPOI.SS.Formula.Udf.UDFFinder
리턴 void

BeforeDocumentRead() 보호된 메소드

protected BeforeDocumentRead ( ) : void
리턴 void

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

CloneSheet() 공개 메소드

public CloneSheet ( int sheetNum ) : ISheet
sheetNum int
리턴 ISheet

Commit() 보호된 메소드

protected Commit ( ) : void
리턴 void

Contains() 공개 메소드

public Contains ( ISheet item ) : bool
item ISheet
리턴 bool

CopyTo() 공개 메소드

public CopyTo ( ISheet array, int arrayIndex ) : void
array ISheet
arrayIndex int
리턴 void

CreateCellStyle() 공개 메소드

Create a new XSSFCellStyle and add it to the workbook's style table
public CreateCellStyle ( ) : ICellStyle
리턴 ICellStyle

CreateDataFormat() 공개 메소드

Returns the instance of XSSFDataFormat for this workbook.
public CreateDataFormat ( ) : IDataFormat
리턴 IDataFormat

CreateDialogsheet() 보호된 메소드

protected CreateDialogsheet ( String sheetname, NPOI.OpenXmlFormats.Spreadsheet.CT_Dialogsheet dialogsheet ) : NPOI.XSSF.UserModel.XSSFDialogsheet
sheetname String
dialogsheet NPOI.OpenXmlFormats.Spreadsheet.CT_Dialogsheet
리턴 NPOI.XSSF.UserModel.XSSFDialogsheet

CreateFont() 공개 메소드

Create a new Font and add it to the workbook's font table
public CreateFont ( ) : IFont
리턴 IFont

CreateName() 공개 메소드

public CreateName ( ) : IName
리턴 IName

CreateSheet() 공개 메소드

public CreateSheet ( ) : ISheet
리턴 ISheet

CreateSheet() 공개 메소드

public CreateSheet ( String sheetname ) : ISheet
sheetname String
리턴 ISheet

FindFont() 공개 메소드

public FindFont ( short boldWeight, short color, short fontHeight, String name, bool italic, bool strikeout, FontSuperScript typeOffset, FontUnderlineType underline ) : IFont
boldWeight short
color short
fontHeight short
name String
italic bool
strikeout bool
typeOffset FontSuperScript
underline FontUnderlineType
리턴 IFont

GetAllEmbedds() 공개 메소드

public GetAllEmbedds ( ) : List
리턴 List

GetAllPictures() 공개 메소드

public GetAllPictures ( ) : IList
리턴 IList

GetBuiltInName() 공개 메소드

public GetBuiltInName ( String builtInCode, int sheetNumber ) : NPOI.XSSF.UserModel.XSSFName
builtInCode String
sheetNumber int
리턴 NPOI.XSSF.UserModel.XSSFName

GetCTWorkbook() 공개 메소드

public GetCTWorkbook ( ) : NPOI.OpenXmlFormats.Spreadsheet.CT_Workbook
리턴 NPOI.OpenXmlFormats.Spreadsheet.CT_Workbook

GetCalculationChain() 공개 메소드

public GetCalculationChain ( ) : NPOI.XSSF.Model.CalculationChain
리턴 NPOI.XSSF.Model.CalculationChain

GetCellStyleAt() 공개 메소드

public GetCellStyleAt ( short idx ) : ICellStyle
idx short
리턴 ICellStyle

GetCellStyleAt() 공개 메소드

public GetCellStyleAt ( int idx ) : NPOI.XSSF.UserModel.XSSFCellStyle
idx int
리턴 NPOI.XSSF.UserModel.XSSFCellStyle

GetCreationHelper() 공개 메소드

public GetCreationHelper ( ) : ICreationHelper
리턴 ICreationHelper

GetCustomXMLMappings() 공개 메소드

public GetCustomXMLMappings ( ) : List
리턴 List

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

GetFontAt() 공개 메소드

public GetFontAt ( short idx ) : IFont
idx short
리턴 IFont

GetForceFormulaRecalculation() 공개 메소드

public GetForceFormulaRecalculation ( ) : bool
리턴 bool

GetMapInfo() 공개 메소드

public GetMapInfo ( ) : NPOI.XSSF.Model.MapInfo
리턴 NPOI.XSSF.Model.MapInfo

GetName() 공개 메소드

public GetName ( String name ) : IName
name String
리턴 IName

GetNameAt() 공개 메소드

public GetNameAt ( int nameIndex ) : IName
nameIndex int
리턴 IName

GetNameIndex() 공개 메소드

public GetNameIndex ( String name ) : int
name String
리턴 int

GetPrintArea() 공개 메소드

public GetPrintArea ( int sheetIndex ) : String
sheetIndex int
리턴 String

GetSharedStringSource() 공개 메소드

public GetSharedStringSource ( ) : NPOI.XSSF.Model.SharedStringsTable
리턴 NPOI.XSSF.Model.SharedStringsTable

GetSheet() 공개 메소드

public GetSheet ( String name ) : ISheet
name String
리턴 ISheet

GetSheetAt() 공개 메소드

public GetSheetAt ( int index ) : ISheet
index int
리턴 ISheet

GetSheetIndex() 공개 메소드

public GetSheetIndex ( ISheet sheet ) : int
sheet ISheet
리턴 int

GetSheetIndex() 공개 메소드

Returns the index of the sheet by his name (case insensitive match)
public GetSheetIndex ( String name ) : int
name String the sheet name
리턴 int

GetSheetName() 공개 메소드

public GetSheetName ( int sheetIx ) : String
sheetIx int
리턴 String

GetStylesSource() 공개 메소드

public GetStylesSource ( ) : NPOI.XSSF.Model.StylesTable
리턴 NPOI.XSSF.Model.StylesTable

GetTheme() 공개 메소드

public GetTheme ( ) : NPOI.XSSF.Model.ThemesTable
리턴 NPOI.XSSF.Model.ThemesTable

IndexOf() 공개 메소드

public IndexOf ( ISheet item ) : int
item ISheet
리턴 int

Insert() 공개 메소드

public Insert ( int index, ISheet item ) : void
index int
item ISheet
리턴 void

IsMacroEnabled() 공개 메소드

public IsMacroEnabled ( ) : bool
리턴 bool

IsRevisionLocked() 공개 메소드

public IsRevisionLocked ( ) : bool
리턴 bool

IsSheetHidden() 공개 메소드

public IsSheetHidden ( int sheetIx ) : bool
sheetIx int
리턴 bool

IsSheetVeryHidden() 공개 메소드

public IsSheetVeryHidden ( int sheetIx ) : bool
sheetIx int
리턴 bool

IsStructureLocked() 공개 메소드

public IsStructureLocked ( ) : bool
리턴 bool

IsWindowsLocked() 공개 메소드

public IsWindowsLocked ( ) : bool
리턴 bool

LinkExternalWorkbook() 공개 메소드

public LinkExternalWorkbook ( String name, IWorkbook workbook ) : int
name String
workbook IWorkbook
리턴 int

LockRevision() 공개 메소드

public LockRevision ( ) : void
리턴 void

LockStructure() 공개 메소드

public LockStructure ( ) : void
리턴 void

LockWindows() 공개 메소드

public LockWindows ( ) : void
리턴 void

Remove() 공개 메소드

public Remove ( ISheet item ) : bool
item ISheet
리턴 bool

RemoveAt() 공개 메소드

public RemoveAt ( int index ) : void
index int
리턴 void

RemoveName() 공개 메소드

public RemoveName ( String name ) : void
name String
리턴 void

RemoveName() 공개 메소드

public RemoveName ( NPOI.XSSF.UserModel.XSSFName name ) : void
name NPOI.XSSF.UserModel.XSSFName
리턴 void

RemoveName() 공개 메소드

public RemoveName ( int nameIndex ) : void
nameIndex int
리턴 void

RemovePrintArea() 공개 메소드

public RemovePrintArea ( int sheetIndex ) : void
sheetIndex int
리턴 void

RemoveSheetAt() 공개 메소드

public RemoveSheetAt ( int index ) : void
index int
리턴 void

SetActiveSheet() 공개 메소드

public SetActiveSheet ( int sheetIndex ) : void
sheetIndex int
리턴 void

SetForceFormulaRecalculation() 공개 메소드

public SetForceFormulaRecalculation ( bool value ) : void
value bool
리턴 void

SetPrintArea() 공개 메소드

public SetPrintArea ( int sheetIndex, String reference ) : void
sheetIndex int
reference String
리턴 void

SetPrintArea() 공개 메소드

public SetPrintArea ( int sheetIndex, int startColumn, int endColumn, int startRow, int endRow ) : void
sheetIndex int
startColumn int
endColumn int
startRow int
endRow int
리턴 void

SetSelectedTab() 공개 메소드

public SetSelectedTab ( int index ) : void
index int
리턴 void

SetSheetHidden() 공개 메소드

public SetSheetHidden ( int sheetIx, SheetState state ) : void
sheetIx int
state SheetState
리턴 void

SetSheetHidden() 공개 메소드

public SetSheetHidden ( int sheetIx, bool hidden ) : void
sheetIx int
hidden bool
리턴 void

SetSheetHidden() 공개 메소드

Hide or unhide a sheet.
public SetSheetHidden ( int sheetIx, int hidden ) : void
sheetIx int The sheet number
hidden int 0 for not hidden, 1 for hidden, 2 for very hidden
리턴 void

SetSheetName() 공개 메소드

public SetSheetName ( int sheetIndex, String sheetname ) : void
sheetIndex int
sheetname String
리턴 void

SetSheetOrder() 공개 메소드

public SetSheetOrder ( String sheetname, int pos ) : void
sheetname String
pos int
리턴 void

UnlockRevision() 공개 메소드

public UnlockRevision ( ) : void
리턴 void

UnlockStructure() 공개 메소드

public UnlockStructure ( ) : void
리턴 void

UnlockWindows() 공개 메소드

public UnlockWindows ( ) : void
리턴 void

XSSFWorkbook() 공개 메소드

public XSSFWorkbook ( ) : System.Text.RegularExpressions
리턴 System.Text.RegularExpressions

XSSFWorkbook() 공개 메소드

public XSSFWorkbook ( FileInfo file ) : System.Text.RegularExpressions
file System.IO.FileInfo
리턴 System.Text.RegularExpressions

XSSFWorkbook() 공개 메소드

public XSSFWorkbook ( NPOI.OpenXml4Net.OPC.OPCPackage pkg ) : System.Text.RegularExpressions
pkg NPOI.OpenXml4Net.OPC.OPCPackage
리턴 System.Text.RegularExpressions

XSSFWorkbook() 공개 메소드

public XSSFWorkbook ( Stream is1 ) : System.Text.RegularExpressions
is1 Stream
리턴 System.Text.RegularExpressions

XSSFWorkbook() 공개 메소드

public XSSFWorkbook ( String path ) : System.Text.RegularExpressions
path String
리턴 System.Text.RegularExpressions

newPackage() 보호된 정적인 메소드

protected static newPackage ( ) : NPOI.OpenXml4Net.OPC.OPCPackage
리턴 NPOI.OpenXml4Net.OPC.OPCPackage

this() 공개 메소드

public this ( int index ) : ISheet
index int
리턴 ISheet

프로퍼티 상세

DEFAULT_CHARACTER_WIDTH 공개적으로 정적으로 프로퍼티

public static float DEFAULT_CHARACTER_WIDTH
리턴 float

PICTURE_TYPE_BMP 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_BMP
리턴 int

PICTURE_TYPE_DIB 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_DIB
리턴 int

PICTURE_TYPE_EMF 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_EMF
리턴 int

PICTURE_TYPE_EPS 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_EPS
리턴 int

PICTURE_TYPE_GIF 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_GIF
리턴 int

PICTURE_TYPE_JPEG 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_JPEG
리턴 int

PICTURE_TYPE_PICT 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_PICT
리턴 int

PICTURE_TYPE_PNG 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_PNG
리턴 int

PICTURE_TYPE_TIFF 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_TIFF
리턴 int

PICTURE_TYPE_WMF 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_WMF
리턴 int

PICTURE_TYPE_WPG 공개적으로 정적으로 프로퍼티

public static int PICTURE_TYPE_WPG
리턴 int