public class SpreadsheetLoadOptions extends LoadOptions implements Cloneable, Serializable, com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptions
Options for loading Spreadsheet documents.
| Constructor and Description |
|---|
SpreadsheetLoadOptions()
Initializes new instance of
SpreadsheetLoadOptions class. |
| Modifier and Type | Method and Description |
|---|---|
Object |
deepClone()
Clones current instance.
|
boolean |
getAllColumnsInOnePagePerSheet()
Gets AllColumnsInOnePagePerSheet property
|
int |
getColumnsPerPage()
Split a worksheet into pages by columns.
|
String |
getConvertRange()
Convert specific range when converting to other than spreadsheet format.
|
com.aspose.ms.System.Globalization.CultureInfo |
getCultureInfo()
Get the system culture info at the time file is loaded
|
String |
getDefaultFont()
Default font for spreadsheet document.
|
int |
getDepth()
Option to control how many levels in depth to perform conversion
|
protected List<Object> |
getEqualityComponents()
Gets equality components.
|
List<FontSubstitute> |
getFontSubstitutes()
Substitute specific fonts when converting spreadsheet document.
|
SpreadsheetFileType |
getFormat()
Input document file type
|
boolean |
getHideComments()
Hide comments.
|
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.
|
boolean |
getResetFontFolders()
Reset font folders before loading document
|
int |
getRowsPerPage()
Split a worksheet into pages by rows.
|
List<Integer> |
getSheetIndexes()
Gets List of sheet indexes to convert.
|
List<String> |
getSheets()
Get sheet name 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.
|
boolean |
isAutoFitRows()
Autofits all rows when converting
|
boolean |
isCheckExcelRestriction()
Whether check restriction of excel file when user modify cells related objects.
|
boolean |
isConvertOwned()
Option to control whether the owned documents in the documents container must be converted
|
boolean |
isConvertOwner()
Gets option to control whether the documents container itself must be converted
|
protected Object |
memberwiseClone() |
void |
setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet)
Sets AllColumnsInOnePagePerSheet property
|
void |
setAutoFitRows(boolean autoFitRows) |
void |
setCheckExcelRestriction(boolean checkExcelRestriction) |
void |
setColumnsPerPage(int columnsPerPage)
Split a worksheet into pages by columns.
|
void |
setConvertOwned(boolean convertOwned) |
void |
setConvertOwner(boolean convertOwner) |
void |
setConvertRange(String value)
Convert specific range when converting to other than spreadsheet format.
|
void |
setCultureInfo(com.aspose.ms.System.Globalization.CultureInfo cultureInfo)
Set the system culture info at the time file is loaded
|
void |
setDefaultFont(String value)
Default font for spreadsheet document.
|
void |
setDepth(int depth) |
void |
setFontSubstitutes(List<FontSubstitute> value)
Substitute specific fonts when converting spreadsheet document.
|
void |
setHideComments(boolean value)
Hide comments.
|
void |
setOnePagePerSheet(boolean value)
If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document.
|
void |
setOptimizePdfSize(boolean value)
If True and converting to Pdf the conversion is optimized for better file size than print quality.
|
void |
setPassword(String value)
Set password to unprotect protected document.
|
void |
setResetFontFolders(boolean resetFontFolders) |
void |
setRowsPerPage(int rowsPerPage)
Split a worksheet into pages by rows.
|
void |
setSheetIndexes(List<Integer> sheetIndexes)
Sets List of sheet indexes to convert.
|
void |
setSheets(List<String> sheets)
Set sheet name to convert
|
void |
setShowGridLines(boolean value)
Show grid lines when converting Excel files.
|
void |
setShowHiddenSheets(boolean value)
Show hidden sheets when converting Excel files.
|
void |
setSkipEmptyRowsAndColumns(boolean value)
Skips empty rows and columns when converting.
|
setFormatequals, equals, hashCode, op_Equality, op_Inequalitypublic SpreadsheetLoadOptions()
Initializes new instance of SpreadsheetLoadOptions class.
public final Object deepClone()
Clones current instance.
public boolean getAllColumnsInOnePagePerSheet()
public int getColumnsPerPage()
public final String getConvertRange()
Convert specific range when converting to other than spreadsheet format. Example: "D1:F8".
public com.aspose.ms.System.Globalization.CultureInfo getCultureInfo()
public final String getDefaultFont()
Default font for spreadsheet document. The following font will be used if a font is missing.
public int getDepth()
com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionsgetDepth in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionsprotected List<Object> getEqualityComponents()
ValueObjectGets equality components.
getEqualityComponents in class ValueObjectpublic final List<FontSubstitute> getFontSubstitutes()
Substitute specific fonts when converting spreadsheet document.
public final SpreadsheetFileType getFormat()
LoadOptionsInput document file type
getFormat in class LoadOptionspublic final boolean getHideComments()
Hide comments.
public final boolean getOnePagePerSheet()
If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is false.
public final boolean getOptimizePdfSize()
If True and converting to Pdf the conversion is optimized for better file size than print quality.
public final String getPassword()
Set password to unprotect protected document.
public boolean getResetFontFolders()
public int getRowsPerPage()
public final boolean getShowGridLines()
Show grid lines when converting Excel files.
public final boolean getShowHiddenSheets()
Show hidden sheets when converting Excel files.
public final boolean getSkipEmptyRowsAndColumns()
Skips empty rows and columns when converting. Default is True.
public boolean isAutoFitRows()
public boolean isCheckExcelRestriction()
public boolean isConvertOwned()
com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionsisConvertOwned in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionspublic boolean isConvertOwner()
com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionsisConvertOwner in interface com.groupdocs.conversion.contracts.IDocumentsContainerLoadOptionsprotected Object memberwiseClone()
public void setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet)
allColumnsInOnePagePerSheet - AllColumnsInOnePagePerSheet propertypublic void setAutoFitRows(boolean autoFitRows)
public void setCheckExcelRestriction(boolean checkExcelRestriction)
public void setColumnsPerPage(int columnsPerPage)
public void setConvertOwned(boolean convertOwned)
public void setConvertOwner(boolean convertOwner)
public final void setConvertRange(String value)
Convert specific range when converting to other than spreadsheet format. Example: "D1:F8".
public void setCultureInfo(com.aspose.ms.System.Globalization.CultureInfo cultureInfo)
public final void setDefaultFont(String value)
Default font for spreadsheet document. The following font will be used if a font is missing.
public void setDepth(int depth)
public final void setFontSubstitutes(List<FontSubstitute> value)
Substitute specific fonts when converting spreadsheet document.
public final void setHideComments(boolean value)
Hide comments.
public final void setOnePagePerSheet(boolean value)
If OnePagePerSheet is true the content of the sheet will be converted to one page in the PDF document. Default value is false.
public final void setOptimizePdfSize(boolean value)
If True and converting to Pdf the conversion is optimized for better file size than print quality.
public final void setPassword(String value)
Set password to unprotect protected document.
public void setResetFontFolders(boolean resetFontFolders)
public void setRowsPerPage(int rowsPerPage)
public void setSheetIndexes(List<Integer> sheetIndexes)
public final void setShowGridLines(boolean value)
Show grid lines when converting Excel files.
public final void setShowHiddenSheets(boolean value)
Show hidden sheets when converting Excel files.
public final void setSkipEmptyRowsAndColumns(boolean value)
Skips empty rows and columns when converting. Default is True.
Copyright © 2026. All rights reserved.