C# Class com.Sconit.Service.Report.ReportBaseMgr

Inheritance: IReportBaseMgr
Exibir arquivo Open project: Novthirteen/yfkey-scms

Protected Properties

Property Type Description
barCodeFontName string
barCodeFontSize short
reportTemplateFolder string
rowCount int
sheet Sheet
workbook NPOI.HSSF.UserModel.HSSFWorkbook

Public Methods

Method Description
CopyPage ( int pageCount, int columnCount ) : int
CopyPageValues ( int pageIndex ) : void
FillValues ( String templateFileName, IList list ) : bool
FillValues ( String templateFileName, string orderNo ) : bool
GetDataList ( string code ) : IList
GetWorkbook ( ) : NPOI.HSSF.UserModel.HSSFWorkbook
ReportBaseMgr ( ) : System

Protected Methods

Method Description
CopyCell ( int pageIndex, int rowIndexRelative, int cellIndex, string formula ) : void
CopyCellStyle ( Cell cellFrom, Cell cellTo ) : void
CopyPage ( int pageCount, int columnCount, int pageNum ) : int
GetBarcodeFontName ( int rowIndex, int cellIndex ) : string
GetCell ( int rowIndex, int cellIndex ) : Cell
GetRow ( int rowIndex ) : Row
GetRowIndexAbsolute ( int pageIndex, int rowIndexRelative ) : int
GetSheet ( ) : Sheet
GetSheet ( int index ) : Sheet
SetMergedRegion ( int row1, int column1, int row2, int colunm2 ) : void
SetMergedRegion ( int pageIndex, int row1, int column1, int row2, int colunm2 ) : void
SetRowCell ( int rowIndex, int cellIndex, String value ) : void
SetRowCell ( int pageIndex, int rowIndexRelative, int cellIndex, String value ) : void
SetRowCell ( int pageIndex, int rowIndexRelative, int cellIndex, double value ) : void
SetRowCellBarCode ( int pageIndex, int rowIndexRelative, int cellIndex ) : void
SetRowCellFormula ( int rowIndex, int cellIndex, string formula ) : void
SetRowCellStyle ( int pageIndex, int rowIndexRelative, int cellIndex, String fontName, short fontSize ) : void
init ( String templateFileName ) : void
init ( String templateFileName, int rowCount ) : void

Private Methods

Method Description
CopyRowStyle ( Row rowFrom, Row rowTo, int columnCount ) : void
CopyRowStyle ( int rowIndexFrom, int rowIndexTo, int columnCount ) : void

Method Details

CopyCell() protected method

protected CopyCell ( int pageIndex, int rowIndexRelative, int cellIndex, string formula ) : void
pageIndex int
rowIndexRelative int
cellIndex int
formula string
return void

CopyCellStyle() protected method

protected CopyCellStyle ( Cell cellFrom, Cell cellTo ) : void
cellFrom Cell
cellTo Cell
return void

CopyPage() public method

public CopyPage ( int pageCount, int columnCount ) : int
pageCount int
columnCount int
return int

CopyPage() protected method

protected CopyPage ( int pageCount, int columnCount, int pageNum ) : int
pageCount int
columnCount int
pageNum int
return int

CopyPageValues() public abstract method

public abstract CopyPageValues ( int pageIndex ) : void
pageIndex int
return void

FillValues() public abstract method

public abstract FillValues ( String templateFileName, IList list ) : bool
templateFileName String
list IList
return bool

FillValues() public method

public FillValues ( String templateFileName, string orderNo ) : bool
templateFileName String
orderNo string
return bool

GetBarcodeFontName() protected method

protected GetBarcodeFontName ( int rowIndex, int cellIndex ) : string
rowIndex int
cellIndex int
return string

GetCell() protected method

protected GetCell ( int rowIndex, int cellIndex ) : Cell
rowIndex int
cellIndex int
return Cell

GetDataList() public method

public GetDataList ( string code ) : IList
code string
return IList

GetRow() protected method

protected GetRow ( int rowIndex ) : Row
rowIndex int
return Row

GetRowIndexAbsolute() protected method

protected GetRowIndexAbsolute ( int pageIndex, int rowIndexRelative ) : int
pageIndex int
rowIndexRelative int
return int

GetSheet() protected method

protected GetSheet ( ) : Sheet
return Sheet

GetSheet() protected method

protected GetSheet ( int index ) : Sheet
index int
return Sheet

GetWorkbook() public method

public GetWorkbook ( ) : NPOI.HSSF.UserModel.HSSFWorkbook
return NPOI.HSSF.UserModel.HSSFWorkbook

ReportBaseMgr() public method

public ReportBaseMgr ( ) : System
return System

SetMergedRegion() protected method

protected SetMergedRegion ( int row1, int column1, int row2, int colunm2 ) : void
row1 int
column1 int
row2 int
colunm2 int
return void

SetMergedRegion() protected method

protected SetMergedRegion ( int pageIndex, int row1, int column1, int row2, int colunm2 ) : void
pageIndex int
row1 int
column1 int
row2 int
colunm2 int
return void

SetRowCell() protected method

protected SetRowCell ( int rowIndex, int cellIndex, String value ) : void
rowIndex int
cellIndex int
value String
return void

SetRowCell() protected method

protected SetRowCell ( int pageIndex, int rowIndexRelative, int cellIndex, String value ) : void
pageIndex int
rowIndexRelative int
cellIndex int
value String
return void

SetRowCell() protected method

protected SetRowCell ( int pageIndex, int rowIndexRelative, int cellIndex, double value ) : void
pageIndex int
rowIndexRelative int
cellIndex int
value double
return void

SetRowCellBarCode() protected method

protected SetRowCellBarCode ( int pageIndex, int rowIndexRelative, int cellIndex ) : void
pageIndex int
rowIndexRelative int
cellIndex int
return void

SetRowCellFormula() protected method

protected SetRowCellFormula ( int rowIndex, int cellIndex, string formula ) : void
rowIndex int
cellIndex int
formula string
return void

SetRowCellStyle() protected method

protected SetRowCellStyle ( int pageIndex, int rowIndexRelative, int cellIndex, String fontName, short fontSize ) : void
pageIndex int
rowIndexRelative int
cellIndex int
fontName String
fontSize short
return void

init() protected method

protected init ( String templateFileName ) : void
templateFileName String
return void

init() protected method

protected init ( String templateFileName, int rowCount ) : void
templateFileName String
rowCount int
return void

Property Details

barCodeFontName protected_oe property

protected string barCodeFontName
return string

barCodeFontSize protected_oe property

protected short barCodeFontSize
return short

reportTemplateFolder protected_oe property

protected string reportTemplateFolder
return string

rowCount protected_oe property

protected int rowCount
return int

sheet protected_oe property

protected Sheet sheet
return Sheet

workbook protected_oe property

protected HSSFWorkbook,NPOI.HSSF.UserModel workbook
return NPOI.HSSF.UserModel.HSSFWorkbook