Groovy Documentation

griffon.plugins.jxl
[Groovy] Class ExcelUtils

java.lang.Object
  griffon.plugins.jxl.ExcelUtils

class ExcelUtils
extends Object

Authors:
Shaun Jurgemeyer


Constructor Summary
ExcelUtils()

 
Method Summary
void addData(def sheet, def rowData, def startCol = 0, def startRow = 0)

void copyCellFormatWithValue(def sheet, def origCol, def origRow, def newCol, def newRow, def newValue)

void copyDown(def sheet, def origCol, def origRow, def newRow)

void copyDown(def sheet, def origCol, def origRow, def newRow, def newValue)

def createWorkbook(String filePath)

def createWorkbook(File file)

def createWorkbook(OutputStream stream)

private void eachCell(def sheet, def cellList, Closure closure)

Cell getCell(def sheet, int col, int row, Map props = [:])

void mergeAcross(def sheet, def startCol, def endCol, def row)

void withTemplateRow(def sheet, def templateRow, def items, Closure closure)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Constructor Detail

ExcelUtils

ExcelUtils()


 
Method Detail

addData

void addData(def sheet, def rowData, def startCol = 0, def startRow = 0)


copyCellFormatWithValue

void copyCellFormatWithValue(def sheet, def origCol, def origRow, def newCol, def newRow, def newValue)


copyDown

void copyDown(def sheet, def origCol, def origRow, def newRow)


copyDown

void copyDown(def sheet, def origCol, def origRow, def newRow, def newValue)


createWorkbook

def createWorkbook(String filePath)


createWorkbook

def createWorkbook(File file)


createWorkbook

def createWorkbook(OutputStream stream)


eachCell

private void eachCell(def sheet, def cellList, Closure closure)


getCell

Cell getCell(def sheet, int col, int row, Map props = [:])


mergeAcross

void mergeAcross(def sheet, def startCol, def endCol, def row)


withTemplateRow

void withTemplateRow(def sheet, def templateRow, def items, Closure closure)


 

Groovy Documentation