CsvLoadOptions, OdsLoadOptions, OtsLoadOptions, TsvLoadOptions, Xls2003LoadOptions, XlsbLoadOptions, XlsLoadOptions, XlsmLoadOptions, XlsxLoadOptions, XltmLoadOptions, XltxLoadOptionspublic class SpreadsheetLoadOptions extends LoadOptions
| Modifier and Type | Class | Description |
|---|---|---|
static class |
SpreadsheetLoadOptions.PrintCommentsEnum |
Represents the way comments are printed with the sheet.
|
| Constructor | Description |
|---|---|
SpreadsheetLoadOptions() |
| Modifier and Type | Method | Description |
|---|---|---|
SpreadsheetLoadOptions |
addSheetIndexesItem(Integer sheetIndexesItem) |
|
SpreadsheetLoadOptions |
addSheetsItem(String sheetsItem) |
|
SpreadsheetLoadOptions |
allColumnsInOnePagePerSheet(Boolean allColumnsInOnePagePerSheet) |
|
SpreadsheetLoadOptions |
autoFitRows(Boolean autoFitRows) |
|
SpreadsheetLoadOptions |
checkExcelRestriction(Boolean checkExcelRestriction) |
|
SpreadsheetLoadOptions |
clearBuiltInDocumentProperties(Boolean clearBuiltInDocumentProperties) |
|
SpreadsheetLoadOptions |
clearCustomDocumentProperties(Boolean clearCustomDocumentProperties) |
|
SpreadsheetLoadOptions |
columnsPerPage(Integer columnsPerPage) |
|
SpreadsheetLoadOptions |
convertRange(String convertRange) |
|
SpreadsheetLoadOptions |
cultureInfo(String cultureInfo) |
|
SpreadsheetLoadOptions |
defaultFont(String defaultFont) |
|
boolean |
equals(Object o) |
|
SpreadsheetLoadOptions |
fontSubstitutes(Map<String,String> fontSubstitutes) |
|
Boolean |
getAllColumnsInOnePagePerSheet() |
If AllColumnsInOnePagePerSheet is true, all column content of one sheet will output to only one page in result.
|
Boolean |
getAutoFitRows() |
Autofits all rows when converting
|
Boolean |
getCheckExcelRestriction() |
Whether check restriction of excel file when user modify cells related objects.
|
Boolean |
getClearBuiltInDocumentProperties() |
Clear built-in document properties.
|
Boolean |
getClearCustomDocumentProperties() |
Clear custom document properties.
|
Integer |
getColumnsPerPage() |
Split a worksheet into pages by columns.
|
String |
getConvertRange() |
Convert specific range when converting to other than cells format.
|
String |
getCultureInfo() |
System culture info at the time file is loaded
|
String |
getDefaultFont() |
Default font for Cells document.
|
Map<String,String> |
getFontSubstitutes() |
Substitute specific fonts when converting Cells document.
|
Boolean |
getOnePagePerSheet() |
If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document.
|
Boolean |
getOptimizePdfSize() |
If True and converting to Pdf the conversion is optimized for better file size than print quality.
|
String |
getPassword() |
Set password to unprotect protected document
|
SpreadsheetLoadOptions.PrintCommentsEnum |
getPrintComments() |
Represents the way comments are printed with the sheet.
|
Boolean |
getResetFontFolders() |
Reset font folders before loading document
|
Integer |
getRowsPerPage() |
Split a worksheet into pages by rows.
|
List<Integer> |
getSheetIndexes() |
List of sheet indexes to convert.
|
List<String> |
getSheets() |
List of sheet names to convert
|
Boolean |
getShowGridLines() |
Show grid lines when converting Excel files
|
Boolean |
getShowHiddenSheets() |
Show hidden sheets when converting Excel files
|
Boolean |
getSkipEmptyRowsAndColumns() |
Skips empty rows and columns when converting.
|
int |
hashCode() |
|
SpreadsheetLoadOptions |
onePagePerSheet(Boolean onePagePerSheet) |
|
SpreadsheetLoadOptions |
optimizePdfSize(Boolean optimizePdfSize) |
|
SpreadsheetLoadOptions |
password(String password) |
|
SpreadsheetLoadOptions |
printComments(SpreadsheetLoadOptions.PrintCommentsEnum printComments) |
|
SpreadsheetLoadOptions |
putFontSubstitutesItem(String key,
String fontSubstitutesItem) |
|
SpreadsheetLoadOptions |
resetFontFolders(Boolean resetFontFolders) |
|
SpreadsheetLoadOptions |
rowsPerPage(Integer rowsPerPage) |
|
void |
setAllColumnsInOnePagePerSheet(Boolean allColumnsInOnePagePerSheet) |
|
void |
setAutoFitRows(Boolean autoFitRows) |
|
void |
setCheckExcelRestriction(Boolean checkExcelRestriction) |
|
void |
setClearBuiltInDocumentProperties(Boolean clearBuiltInDocumentProperties) |
|
void |
setClearCustomDocumentProperties(Boolean clearCustomDocumentProperties) |
|
void |
setColumnsPerPage(Integer columnsPerPage) |
|
void |
setConvertRange(String convertRange) |
|
void |
setCultureInfo(String cultureInfo) |
|
void |
setDefaultFont(String defaultFont) |
|
void |
setFontSubstitutes(Map<String,String> fontSubstitutes) |
|
void |
setOnePagePerSheet(Boolean onePagePerSheet) |
|
void |
setOptimizePdfSize(Boolean optimizePdfSize) |
|
void |
setPassword(String password) |
|
void |
setPrintComments(SpreadsheetLoadOptions.PrintCommentsEnum printComments) |
|
void |
setResetFontFolders(Boolean resetFontFolders) |
|
void |
setRowsPerPage(Integer rowsPerPage) |
|
void |
setSheetIndexes(List<Integer> sheetIndexes) |
|
void |
setSheets(List<String> sheets) |
|
void |
setShowGridLines(Boolean showGridLines) |
|
void |
setShowHiddenSheets(Boolean showHiddenSheets) |
|
void |
setSkipEmptyRowsAndColumns(Boolean skipEmptyRowsAndColumns) |
|
SpreadsheetLoadOptions |
sheetIndexes(List<Integer> sheetIndexes) |
|
SpreadsheetLoadOptions |
sheets(List<String> sheets) |
|
SpreadsheetLoadOptions |
showGridLines(Boolean showGridLines) |
|
SpreadsheetLoadOptions |
showHiddenSheets(Boolean showHiddenSheets) |
|
SpreadsheetLoadOptions |
skipEmptyRowsAndColumns(Boolean skipEmptyRowsAndColumns) |
|
String |
toString() |
format, getFormat, setFormatpublic SpreadsheetLoadOptions clearCustomDocumentProperties(Boolean clearCustomDocumentProperties)
public Boolean getClearCustomDocumentProperties()
public void setClearCustomDocumentProperties(Boolean clearCustomDocumentProperties)
public SpreadsheetLoadOptions clearBuiltInDocumentProperties(Boolean clearBuiltInDocumentProperties)
public Boolean getClearBuiltInDocumentProperties()
public void setClearBuiltInDocumentProperties(Boolean clearBuiltInDocumentProperties)
public SpreadsheetLoadOptions rowsPerPage(Integer rowsPerPage)
public Integer getRowsPerPage()
public void setRowsPerPage(Integer rowsPerPage)
public SpreadsheetLoadOptions columnsPerPage(Integer columnsPerPage)
public Integer getColumnsPerPage()
public void setColumnsPerPage(Integer columnsPerPage)
public SpreadsheetLoadOptions autoFitRows(Boolean autoFitRows)
public Boolean getAutoFitRows()
public void setAutoFitRows(Boolean autoFitRows)
public SpreadsheetLoadOptions allColumnsInOnePagePerSheet(Boolean allColumnsInOnePagePerSheet)
public Boolean getAllColumnsInOnePagePerSheet()
public void setAllColumnsInOnePagePerSheet(Boolean allColumnsInOnePagePerSheet)
public SpreadsheetLoadOptions cultureInfo(String cultureInfo)
public String getCultureInfo()
public void setCultureInfo(String cultureInfo)
public SpreadsheetLoadOptions checkExcelRestriction(Boolean checkExcelRestriction)
public Boolean getCheckExcelRestriction()
public void setCheckExcelRestriction(Boolean checkExcelRestriction)
public SpreadsheetLoadOptions password(String password)
public String getPassword()
public void setPassword(String password)
public SpreadsheetLoadOptions skipEmptyRowsAndColumns(Boolean skipEmptyRowsAndColumns)
public Boolean getSkipEmptyRowsAndColumns()
public void setSkipEmptyRowsAndColumns(Boolean skipEmptyRowsAndColumns)
public SpreadsheetLoadOptions convertRange(String convertRange)
public String getConvertRange()
public void setConvertRange(String convertRange)
public SpreadsheetLoadOptions optimizePdfSize(Boolean optimizePdfSize)
public Boolean getOptimizePdfSize()
public void setOptimizePdfSize(Boolean optimizePdfSize)
public SpreadsheetLoadOptions onePagePerSheet(Boolean onePagePerSheet)
public Boolean getOnePagePerSheet()
public void setOnePagePerSheet(Boolean onePagePerSheet)
public SpreadsheetLoadOptions showHiddenSheets(Boolean showHiddenSheets)
public Boolean getShowHiddenSheets()
public void setShowHiddenSheets(Boolean showHiddenSheets)
public SpreadsheetLoadOptions showGridLines(Boolean showGridLines)
public Boolean getShowGridLines()
public void setShowGridLines(Boolean showGridLines)
public SpreadsheetLoadOptions fontSubstitutes(Map<String,String> fontSubstitutes)
public SpreadsheetLoadOptions putFontSubstitutesItem(String key, String fontSubstitutesItem)
public Map<String,String> getFontSubstitutes()
public SpreadsheetLoadOptions defaultFont(String defaultFont)
public String getDefaultFont()
public void setDefaultFont(String defaultFont)
public SpreadsheetLoadOptions sheetIndexes(List<Integer> sheetIndexes)
public SpreadsheetLoadOptions addSheetIndexesItem(Integer sheetIndexesItem)
public List<Integer> getSheetIndexes()
public SpreadsheetLoadOptions sheets(List<String> sheets)
public SpreadsheetLoadOptions addSheetsItem(String sheetsItem)
public SpreadsheetLoadOptions printComments(SpreadsheetLoadOptions.PrintCommentsEnum printComments)
public SpreadsheetLoadOptions.PrintCommentsEnum getPrintComments()
public void setPrintComments(SpreadsheetLoadOptions.PrintCommentsEnum printComments)
public SpreadsheetLoadOptions resetFontFolders(Boolean resetFontFolders)
public Boolean getResetFontFolders()
public void setResetFontFolders(Boolean resetFontFolders)
public boolean equals(Object o)
equals in class LoadOptionspublic int hashCode()
hashCode in class LoadOptionspublic String toString()
toString in class LoadOptionsCopyright © 2025. All rights reserved.