public class WorkbookDesigner
| Constructor Summary |
|---|
| Property Getters/Setters Summary | ||
|---|---|---|
boolean | getCalculateFormula() | |
void | setCalculateFormula(booleanvalue) | |
| Indicates whether formulas should be calculated. | ||
ISmartMarkerCallBack | getCallBack() | |
void | setCallBack(ISmartMarkerCallBack value) | |
| Gets and sets callback interface of processing smartmarker. | ||
boolean | getUpdateEmptyStringAsNull() | |
void | setUpdateEmptyStringAsNull(booleanvalue) | |
| If TRUE, Null will be inserted if the value is ""; | ||
boolean | getUpdateReference() | |
void | setUpdateReference(booleanvalue) | |
| Indicates if references in other worksheets will be updated. | ||
Workbook | getWorkbook() | |
void | setWorkbook(Workbook value) | |
|
Gets and sets the |
||
| Method Summary | ||
|---|---|---|
void | clearDataSource() | |
Clears all data sources.
|
||
java.lang.String[] | getSmartMarkers() | |
Returns a collection of smart markers in a spreadsheet.
|
||
void | process() | |
Processes the smart markers and populates the data source values.
|
||
void | process(boolean isPreserved) | |
Processes the smart markers and populates the data source values.
|
||
void | process(int sheetIndex, boolean isPreserved) | |
Processes the smart markers and populates the data source values.
|
||
void | setDataSource(java.lang.String name, ICellsDataTable dataTable) | |
Sets data source of a |
||
void | setDataSource(java.lang.String variable, java.lang.Object data) | |
Sets data binding to a variable.
|
||
void | setDataSource(java.lang.String variable, java.lang.Object[] dataArray) | |
Sets data array binding to a variable.
|
||
public WorkbookDesigner()
public WorkbookDesigner(Workbook workbook)
workbook -
The template workbook file.
public Workbook getWorkbook() / public void setWorkbook(Workbook value)
public boolean getUpdateEmptyStringAsNull() / public void setUpdateEmptyStringAsNull(boolean value)
public boolean getUpdateReference() / public void setUpdateReference(boolean value)
public boolean getCalculateFormula() / public void setCalculateFormula(boolean value)
public ISmartMarkerCallBack getCallBack() / public void setCallBack(ISmartMarkerCallBack value)
public void clearDataSource()
public void setDataSource(java.lang.String name, ICellsDataTable dataTable)
name - The name of the table.dataTable - DataTable objectpublic void setDataSource(java.lang.String variable, java.lang.Object data)
variable - Variable name created using smark marker.data - Source data.public void setDataSource(java.lang.String variable, java.lang.Object[] dataArray)
variable - Variable name created using smark marker.dataArray - Source data array.
public void process()
throws java.lang.Exception
public void process(boolean isPreserved)
throws java.lang.ExceptionisPreserved - True if the unrecognized smart marker is preserved.
public void process(int sheetIndex, boolean isPreserved)
throws java.lang.ExceptionsheetIndex - Worksheet index.isPreserved - True if the unrecognized smart marker is preserved.public java.lang.String[] getSmartMarkers()