public class SpreadsheetLoadOptions extends LoadOptions implements Cloneable, Serializable
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
|
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.
|
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.
|
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.
|
protected Object |
memberwiseClone() |
void |
setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet)
Sets AllColumnsInOnePagePerSheet property
|
void |
setAutoFitRows(boolean autoFitRows) |
void |
setCheckExcelRestriction(boolean checkExcelRestriction) |
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 |
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 |
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 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.
protected 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 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()
protected Object memberwiseClone()
public void setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet)
allColumnsInOnePagePerSheet - AllColumnsInOnePagePerSheet propertypublic void setAutoFitRows(boolean autoFitRows)
public void setCheckExcelRestriction(boolean checkExcelRestriction)
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 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 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 © 2024. All rights reserved.