public class ExcelSaveOptions extends UnifiedSaveOptions
Save options for export to Excel format
Modifier and Type | Class and Description |
---|---|
static class |
ExcelSaveOptions.ConversionEngines
Enumerates conversion engines that can be used for conversion
|
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
Modifier and Type | Field and Description |
---|---|
int |
ConversionEngine
Defines conversion engine that will be used for conversion
|
ProgressEventsRetranslator, TryMergeAdjacentSameBackgroundImages
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.
|
double |
getScaleFactor()
Gets or sets factor that will be applied to (virtual) scaling font size
during conversion to Excel table.
|
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 |
setScaleFactor(double value)
Gets or sets factor that will be applied to (virtual) scaling font size
during conversion to Excel table.
|
void |
setUniformWorksheets(boolean value)
Set true for using uniform columns division through the document.
|
isExtractOcrSublayerOnly, setExtractOcrSublayerOnly
getSaveFormat, getWarningHandler, isCloseResponse, setCloseResponse, setWarningHandler
public int ConversionEngine
Defines conversion engine that will be used for conversion
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 double getScaleFactor()
Gets or sets factor that will be applied to (virtual) scaling font size during conversion to Excel table. Setting of less value facilitates the search for columns and prevents merging of them for some documents. Default value is 0.9; Setting value to zero allows algorithm choose scaling automatically.
public void setScaleFactor(double value)
Gets or sets factor that will be applied to (virtual) scaling font size during conversion to Excel table. Setting of less value facilitates the search for columns and prevents merging of them for some documents. Default value is 0.9; Setting value to zero allows algorithm choose scaling automatically.
value
- double valuepublic int getFormat()
Output format.
Return ExcelSaveOptions.ExcelFormat.XMLSpreadSheet2003
or
ExcelSaveOptions.ExcelFormat.XLSX
public void setFormat(int value)
Output format
Use the ExcelSaveOptions.ExcelFormat.XMLSpreadSheet2003
or
ExcelSaveOptions.ExcelFormat.XLSX
value
- ExcelFormat element