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

Inheritance: IReportBaseMgr
Afficher le fichier Open project: Novthirteen/yfkey-scms

Protected Properties

Свойство Type Description
barCodeFontName string
barCodeFontSize short
reportTemplateFolder string
rowCount int
sheet Sheet
workbook NPOI.HSSF.UserModel.HSSFWorkbook

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode Description
CopyRowStyle ( Row rowFrom, Row rowTo, int columnCount ) : void
CopyRowStyle ( int rowIndexFrom, int rowIndexTo, int columnCount ) : void

Method Details

CopyCell() protected méthode

protected CopyCell ( int pageIndex, int rowIndexRelative, int cellIndex, string formula ) : void
pageIndex int
rowIndexRelative int
cellIndex int
formula string
Résultat void

CopyCellStyle() protected méthode

protected CopyCellStyle ( Cell cellFrom, Cell cellTo ) : void
cellFrom Cell
cellTo Cell
Résultat void

CopyPage() public méthode

public CopyPage ( int pageCount, int columnCount ) : int
pageCount int
columnCount int
Résultat int

CopyPage() protected méthode

protected CopyPage ( int pageCount, int columnCount, int pageNum ) : int
pageCount int
columnCount int
pageNum int
Résultat int

CopyPageValues() public abstract méthode

public abstract CopyPageValues ( int pageIndex ) : void
pageIndex int
Résultat void

FillValues() public abstract méthode

public abstract FillValues ( String templateFileName, IList list ) : bool
templateFileName String
list IList
Résultat bool

FillValues() public méthode

public FillValues ( String templateFileName, string orderNo ) : bool
templateFileName String
orderNo string
Résultat bool

GetBarcodeFontName() protected méthode

protected GetBarcodeFontName ( int rowIndex, int cellIndex ) : string
rowIndex int
cellIndex int
Résultat string

GetCell() protected méthode

protected GetCell ( int rowIndex, int cellIndex ) : Cell
rowIndex int
cellIndex int
Résultat Cell

GetDataList() public méthode

public GetDataList ( string code ) : IList
code string
Résultat IList

GetRow() protected méthode

protected GetRow ( int rowIndex ) : Row
rowIndex int
Résultat Row

GetRowIndexAbsolute() protected méthode

protected GetRowIndexAbsolute ( int pageIndex, int rowIndexRelative ) : int
pageIndex int
rowIndexRelative int
Résultat int

GetSheet() protected méthode

protected GetSheet ( ) : Sheet
Résultat Sheet

GetSheet() protected méthode

protected GetSheet ( int index ) : Sheet
index int
Résultat Sheet

GetWorkbook() public méthode

public GetWorkbook ( ) : NPOI.HSSF.UserModel.HSSFWorkbook
Résultat NPOI.HSSF.UserModel.HSSFWorkbook

ReportBaseMgr() public méthode

public ReportBaseMgr ( ) : System
Résultat System

SetMergedRegion() protected méthode

protected SetMergedRegion ( int row1, int column1, int row2, int colunm2 ) : void
row1 int
column1 int
row2 int
colunm2 int
Résultat void

SetMergedRegion() protected méthode

protected SetMergedRegion ( int pageIndex, int row1, int column1, int row2, int colunm2 ) : void
pageIndex int
row1 int
column1 int
row2 int
colunm2 int
Résultat void

SetRowCell() protected méthode

protected SetRowCell ( int rowIndex, int cellIndex, String value ) : void
rowIndex int
cellIndex int
value String
Résultat void

SetRowCell() protected méthode

protected SetRowCell ( int pageIndex, int rowIndexRelative, int cellIndex, String value ) : void
pageIndex int
rowIndexRelative int
cellIndex int
value String
Résultat void

SetRowCell() protected méthode

protected SetRowCell ( int pageIndex, int rowIndexRelative, int cellIndex, double value ) : void
pageIndex int
rowIndexRelative int
cellIndex int
value double
Résultat void

SetRowCellBarCode() protected méthode

protected SetRowCellBarCode ( int pageIndex, int rowIndexRelative, int cellIndex ) : void
pageIndex int
rowIndexRelative int
cellIndex int
Résultat void

SetRowCellFormula() protected méthode

protected SetRowCellFormula ( int rowIndex, int cellIndex, string formula ) : void
rowIndex int
cellIndex int
formula string
Résultat void

SetRowCellStyle() protected méthode

protected SetRowCellStyle ( int pageIndex, int rowIndexRelative, int cellIndex, String fontName, short fontSize ) : void
pageIndex int
rowIndexRelative int
cellIndex int
fontName String
fontSize short
Résultat void

init() protected méthode

protected init ( String templateFileName ) : void
templateFileName String
Résultat void

init() protected méthode

protected init ( String templateFileName, int rowCount ) : void
templateFileName String
rowCount int
Résultat void

Property Details

barCodeFontName protected_oe property

protected string barCodeFontName
Résultat string

barCodeFontSize protected_oe property

protected short barCodeFontSize
Résultat short

reportTemplateFolder protected_oe property

protected string reportTemplateFolder
Résultat string

rowCount protected_oe property

protected int rowCount
Résultat int

sheet protected_oe property

protected Sheet sheet
Résultat Sheet

workbook protected_oe property

protected HSSFWorkbook,NPOI.HSSF.UserModel workbook
Résultat NPOI.HSSF.UserModel.HSSFWorkbook