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.
|
String |
getConvertRange()
Convert specific range when converting to other than spreadsheet format.
|
String |
getDefaultFont()
Default font for spreadsheet document.
|
List<FontSubstitute> |
getFontSubstitutes()
Substitute specific fonts when converting spreadsheet document.
|
com.groupdocs.conversion.filetypes.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 |
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 |
setCheckExcelRestriction(boolean checkExcelRestriction) |
void |
setConvertRange(String value)
Convert specific range when converting to other than spreadsheet format.
|
void |
setDefaultFont(String value)
Default font for spreadsheet document.
|
void |
setFontSubstitutes(List<FontSubstitute> value)
Substitute specific fonts when converting spreadsheet document.
|
void |
setFormat(com.groupdocs.conversion.filetypes.SpreadsheetFileType value)
Input document file type.
|
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 |
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.
|
equals, equals, hashCode, op_Equality, op_Inequality
public SpreadsheetLoadOptions()
Initializes new instance of SpreadsheetLoadOptions
class.
public final com.groupdocs.conversion.filetypes.SpreadsheetFileType getFormat()
Input document file type.
public final void setFormat(com.groupdocs.conversion.filetypes.SpreadsheetFileType value)
Input document file type.
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 true.
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 true.
public 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.