public class CalcExporter
extends java.lang.Object
CalcExporter lets you export Workbooks to OpenOffice Calc spreadsheets.| Constructor and Description |
|---|
CalcExporter() |
| Modifier and Type | Method and Description |
|---|---|
void |
export(Workbook workbook,
java.lang.String filePath)
Exports the specified workbook to the specified OpenOffice Calc spreadsheet.
|
javax.xml.parsers.DocumentBuilder |
getSharedBuilder()
Gets the shared DocumentBuilder to use for XML parsing.
|
WorkbookView |
getView()
Gets an optional view.
|
void |
setSharedBuilder(javax.xml.parsers.DocumentBuilder value)
Sets a shared DocumentBuilder to use for XML parsing.
|
void |
setView(WorkbookView value)
Sets an optional view.
|
public void export(Workbook workbook, java.lang.String filePath) throws java.io.IOException
workbook - A Workbook instance to export the data from.filePath - A string specifying the path to the ODS file.java.io.IOException - An exception signifying input / output error.public WorkbookView getView()
public void setView(WorkbookView value)
public void setSharedBuilder(javax.xml.parsers.DocumentBuilder value)
value - A DocumentBuilder instance.public javax.xml.parsers.DocumentBuilder getSharedBuilder()