public class ExcelSaveOptions extends UnifiedSaveOptions
Save options for export to Excel format
Modifier and Type | Class and Description |
---|---|
static class |
ExcelSaveOptions.ExcelFormat
Allows to specify .xls/xml or .xlsx file format.
|
UnifiedSaveOptions.ConversionProgressEventHandler, UnifiedSaveOptions.ProgressEventHandlerInfo
SaveOptions.BorderInfo, SaveOptions.BorderPartStyle, SaveOptions.HtmlBorderLineType, SaveOptions.MarginInfo, SaveOptions.MarginPartStyle, SaveOptions.NodeLevelResourceType, SaveOptions.ResourceSavingInfo
Constructor and Description |
---|
ExcelSaveOptions()
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getFormat()
Output format.
|
boolean |
getMinimizeTheNumberOfWorksheets()
Set true if you need to minimize the number of worksheets in resultant workbook.
|
boolean |
isInsertBlankColumnAtFirst()
Set false if you need suppress inserting of blank column as the first column of worksheet.
|
boolean |
isUniformWorksheets()
Set true for using uniform columns division through the document.
|
void |
setFormat(int value)
Output format
Use the
ExcelSaveOptions.ExcelFormat.XMLSpreadSheet2003 or ExcelSaveOptions.ExcelFormat.XLSX
|
void |
setInsertBlankColumnAtFirst(boolean value)
Set false if you need suppress inserting of blank column as the first column of worksheet.
|
void |
setMinimizeTheNumberOfWorksheets(boolean value)
Set true if you need to minimize the number of worksheets in resultant workbook.
|
void |
setUniformWorksheets(boolean value)
Set true for using uniform columns division through the document.
|
getProgressEventsRetranslator, isExtractOcrSublayerOnly, isTryMergeAdjacentSameBackgroundImages, setExtractOcrSublayerOnly, setProgressEventsRetranslator, setTryMergeAdjacentSameBackgroundImages
getSaveFormat, getWarningHandler, isCloseResponse, setCloseResponse, setWarningHandler
public boolean getMinimizeTheNumberOfWorksheets()
Set true if you need to minimize the number of worksheets in resultant workbook. Default value is false; it means save of each PDF page as separated worksheet.
public void setMinimizeTheNumberOfWorksheets(boolean value)
Set true if you need to minimize the number of worksheets in resultant workbook. Default value is false; it means save of each PDF page as separated worksheet.
value
- boolean valuepublic boolean isInsertBlankColumnAtFirst()
Set false if you need suppress inserting of blank column as the first column of worksheet. Default value is true; it means that blank column will be inserted.
public void setInsertBlankColumnAtFirst(boolean value)
Set false if you need suppress inserting of blank column as the first column of worksheet. Default value is true; it means that blank column will be inserted.
value
- boolean valuepublic boolean isUniformWorksheets()
Set true for using uniform columns division through the document. Default value is false; it means that columns division will independent for each page.
public void setUniformWorksheets(boolean value)
Set true for using uniform columns division through the document. Default value is false; it means that columns division will independent for each page.
value
- boolean valuepublic int getFormat()
Output format.
Return ExcelSaveOptions.ExcelFormat.XMLSpreadSheet2003
or ExcelSaveOptions.ExcelFormat.XLSX
or
ExcelSaveOptions.ExcelFormat.CSV
public void setFormat(int value)
Output format
Use the ExcelSaveOptions.ExcelFormat.XMLSpreadSheet2003
or ExcelSaveOptions.ExcelFormat.XLSX
value
- ExcelFormat element