public class StandaloneSpreadsheetExporter extends Object
| Constructor and Description |
|---|
StandaloneSpreadsheetExporter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
generateSpreadsheet(ObjectSelection os,
DialogConstant targetDialog,
WorkbookProvider.WORKBOOK_FORMAT format,
String outputDir)
Generates a spreadsheet based on provided object selection and dialog.
|
public static void generateSpreadsheet(ObjectSelection os, DialogConstant targetDialog, WorkbookProvider.WORKBOOK_FORMAT format, String outputDir)
os - the object selection containing the data one wants to be exported to the spreadsheettargetDialog - an instance of DialogConstant indicating which dialog the export should be based onoutputDir - the directory one wants the workbook to be generated toformat - the wanted spreadsheet format. Supported formats are xls and xlsxCopyright © 2006–2017 Esito AS. All rights reserved.