class ExcelBuilder extends groovy.util.BuilderSupport
| Type | Name and description |
|---|---|
boolean |
autoSizeColumns |
org.apache.poi.ss.usermodel.CellStyle |
dateCellStyle |
org.apache.poi.ss.usermodel.CellStyle |
defaultHyperlinkStyle |
java.lang.String |
format |
java.util.Map<java.lang.String, org.apache.poi.ss.usermodel.CellStyle> |
formats |
org.apache.poi.ss.usermodel.Sheet |
sheet |
org.apache.poi.ss.usermodel.Workbook |
workbook |
| Constructor and description |
|---|
ExcelBuilder() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected java.lang.Object |
createNode(java.lang.Object name)This method is invoked when you invoke a method without arguments on the builder e.g. builder.write(). |
|
protected java.lang.Object |
createNode(java.lang.Object name, java.lang.Object value)This method isn't implemented. |
|
protected java.lang.Object |
createNode(java.lang.Object name, java.util.Map attributes)This method is invoked when you invoke a method with a map of attributes e.g. |
|
protected java.lang.Object |
createNode(java.lang.Object name, java.util.Map attributes, java.lang.Object value)This method isn't implemented. |
|
protected void |
setParent(java.lang.Object parent, java.lang.Object child)This method isn't implemented. |
|
void |
write(java.io.OutputStream targetStream)Finish writing the document. |
| Methods inherited from class | Name |
|---|---|
class groovy.util.BuilderSupport |
groovy.util.BuilderSupport#equals(java.lang.Object), groovy.util.BuilderSupport#getClass(), groovy.util.BuilderSupport#getMetaClass(), groovy.util.BuilderSupport#getProperty(java.lang.String), groovy.util.BuilderSupport#hashCode(), groovy.util.BuilderSupport#invokeMethod(java.lang.String), groovy.util.BuilderSupport#invokeMethod(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#notify(), groovy.util.BuilderSupport#notifyAll(), groovy.util.BuilderSupport#setMetaClass(groovy.lang.MetaClass), groovy.util.BuilderSupport#setProperty(java.lang.String, java.lang.Object), groovy.util.BuilderSupport#toString(), groovy.util.BuilderSupport#wait(), groovy.util.BuilderSupport#wait(long), groovy.util.BuilderSupport#wait(long, int) |
This method is invoked when you invoke a method without arguments on the builder e.g. builder.write().
name - The name of the method which should be invoked e.g. write.This method isn't implemented.
This method is invoked when you invoke a method with a map of attributes e.g. cell(row: 0, column: 0, value: "Hello1"). It switches between different build actions such as creating the workbook, sheet, cells etc.
name - The name of the method which should be invoked e.g. cellattributes - The map of attributes which have been supplied e.g. [row: 0, column: 0, value: "Hello1"]This method isn't implemented.
This method isn't implemented.
Finish writing the document.
Groovy Documentation