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.
|
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<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 |
isCheckExcelRestriction()
Whether check restriction of excel file when user modify cells related objects.
|
void |
setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet)
Sets AllColumnsInOnePagePerSheet property
|
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 |
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.
|
setFormat
equals, equals, hashCode, op_Equality, op_Inequality
public SpreadsheetLoadOptions()
Initializes new instance of SpreadsheetLoadOptions
class.
public com.aspose.ms.System.Globalization.CultureInfo getCultureInfo()
public void setCultureInfo(com.aspose.ms.System.Globalization.CultureInfo cultureInfo)
public final SpreadsheetFileType getFormat()
LoadOptions
Input document file type
getFormat
in class LoadOptions
public final String getDefaultFont()
Default font for spreadsheet document. The following font will be used if a font is missing.
public final void setDefaultFont(String value)
Default font for spreadsheet document. The following font will be used if a font is missing.
public final List<FontSubstitute> getFontSubstitutes()
Substitute specific fonts when converting spreadsheet document.
public final void setFontSubstitutes(List<FontSubstitute> value)
Substitute specific fonts when converting spreadsheet document.
public final boolean getShowGridLines()
Show grid lines when converting Excel files.
public final void setShowGridLines(boolean value)
Show grid lines when converting Excel files.
public final boolean getShowHiddenSheets()
Show hidden sheets when converting Excel files.
public final void setShowHiddenSheets(boolean value)
Show hidden sheets when converting Excel files.
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 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 boolean getAllColumnsInOnePagePerSheet()
public void setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet)
allColumnsInOnePagePerSheet
- AllColumnsInOnePagePerSheet propertypublic final boolean getOptimizePdfSize()
If True and converting to Pdf the conversion is optimized for better file size than print quality.
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 String getConvertRange()
Convert specific range when converting to other than spreadsheet format. Example: "D1:F8".
public final void setConvertRange(String value)
Convert specific range when converting to other than spreadsheet format. Example: "D1:F8".
public final boolean getSkipEmptyRowsAndColumns()
Skips empty rows and columns when converting. Default is True.
public final void setSkipEmptyRowsAndColumns(boolean value)
Skips empty rows and columns when converting. Default is True.
public final String getPassword()
Set password to unprotect protected document.
public final void setPassword(String value)
Set password to unprotect protected document.
public final boolean getHideComments()
Hide comments.
public final void setHideComments(boolean value)
Hide comments.
public boolean isCheckExcelRestriction()
public void setCheckExcelRestriction(boolean checkExcelRestriction)
public final Object deepClone()
Clones current instance.