Package com.netlang.excel
Class ExcelSheet
java.lang.Object
com.netlang.excel.ExcelSheet
The
ExcelSheet class-
Constructor Summary
ConstructorsConstructorDescriptionExcelSheet(com.intellus.xls.XLSSheet sheet) Initializes a newly createdExcelSheet -
Method Summary
Modifier and TypeMethodDescriptionget(int row, int column) booleangetBoolean(int row, int column) booleangetBoolean(int row, String column) getDate(int row, int column) doublegetDouble(int row, int column) doublecom.intellus.util.IDategetIDate(int row, int column) com.intellus.util.IDateintgetLastColumn(int row) intlonggetLong(int row, int column) longorg.apache.poi.ss.usermodel.SheetgetSheet()voidinsertRows(int insertAtRow, int numRowsToInsert) booleanisEmpty(int row) voidvoidremoveRows(int startRow, int endRow) intintvoidset(int row, int column, boolean value) voidset(int row, int column, double value) voidvoidvoidvoidvoidvoidset(int row, String column, BigDecimal value) voidvoidsetAlignment(int row, int cell, org.apache.poi.ss.usermodel.HorizontalAlignment align) voidsetBackground(int row, int cell, int fgColor, org.apache.poi.ss.usermodel.FillPatternType fgPattern) voidsetBoolean(int row, int column, boolean value) voidsetCellBackground(int row, int cell, int bgColor, org.apache.poi.ss.usermodel.FillPatternType bgPattern) voidsetCellBackground(int row, int cell, org.apache.poi.ss.usermodel.IndexedColors bgColor, org.apache.poi.ss.usermodel.FillPatternType bgPattern) voidsetCellBorderStyle(int row, int column, boolean right, boolean left, boolean top, boolean bottom, int borderColor, org.apache.poi.ss.usermodel.BorderStyle border) voidsetCellForeground(int row, int cell, int fgColor) voidsetCellForeground(int row, int cell, org.apache.poi.ss.usermodel.IndexedColors fgColor) voidsetColumnWidth(int column, int width) voidvoidsetDouble(int row, int column, double value) voidvoidvoidsetRowHeight(int row, float height)
-
Constructor Details
-
ExcelSheet
public ExcelSheet(com.intellus.xls.XLSSheet sheet) Initializes a newly createdExcelSheet
-
-
Method Details
-
setRowHeight
- Throws:
Exception
-
setColumnWidth
- Throws:
Exception
-
setBackground
public void setBackground(int row, int cell, int fgColor, org.apache.poi.ss.usermodel.FillPatternType fgPattern) throws Exception - Throws:
Exception
-
setCellBorderStyle
public void setCellBorderStyle(int row, int column, boolean right, boolean left, boolean top, boolean bottom, int borderColor, org.apache.poi.ss.usermodel.BorderStyle border) throws Exception - Throws:
Exception
-
setCellBackground
public void setCellBackground(int row, int cell, org.apache.poi.ss.usermodel.IndexedColors bgColor, org.apache.poi.ss.usermodel.FillPatternType bgPattern) throws Exception - Throws:
Exception
-
setCellBackground
public void setCellBackground(int row, int cell, int bgColor, org.apache.poi.ss.usermodel.FillPatternType bgPattern) throws Exception - Throws:
Exception
-
setCellForeground
public void setCellForeground(int row, int cell, org.apache.poi.ss.usermodel.IndexedColors fgColor) throws Exception - Throws:
Exception
-
setCellForeground
- Throws:
Exception
-
setFont
- Throws:
Exception
-
setFont
public void setFont(int row, int cell, String font, int size, org.apache.poi.ss.usermodel.IndexedColors color) throws Exception - Throws:
Exception
-
setAlignment
public void setAlignment(int row, int cell, org.apache.poi.ss.usermodel.HorizontalAlignment align) throws Exception - Throws:
Exception
-
set
- Throws:
Exception
-
set
- Throws:
Exception
-
set
- Parameters:
row-column-value-- Throws:
Exception
-
set
- Throws:
Exception
-
setDouble
- Throws:
Exception
-
setDate
- Throws:
Exception
-
setBoolean
- Throws:
Exception
-
set
- Throws:
Exception
-
set
- Throws:
Exception
-
set
- Throws:
Exception
-
set
- Throws:
Exception
-
set
- Throws:
Exception
-
insertRows
- Throws:
Exception
-
removeRows
- Throws:
Exception
-
removeAllRows
- Throws:
Exception
-
getDouble
- Throws:
Exception
-
getDouble
- Throws:
Exception
-
getLong
- Throws:
Exception
-
getLong
- Throws:
Exception
-
getBoolean
- Throws:
Exception
-
getBoolean
- Throws:
Exception
-
getIDate
- Throws:
Exception
-
getIDate
- Throws:
Exception
-
getDate
- Throws:
Exception
-
getDate
- Throws:
Exception
-
search
- Throws:
Exception
-
search
- Throws:
Exception
-
getLastRow
- Throws:
Exception
-
isEmpty
- Throws:
Exception
-
get
- Throws:
Exception
-
get
- Throws:
Exception
-
getLastColumn
public int getLastColumn(int row) -
getSheet
public org.apache.poi.ss.usermodel.Sheet getSheet()
-