public void setAllColumnsInOnePagePerSheet(boolean allColumnsInOnePagePerSheet)
Sets AllColumnsInOnePagePerSheet property
Parameters:
Parameter
Type
Description
allColumnsInOnePagePerSheet
boolean
AllColumnsInOnePagePerSheet property
getOptimizePdfSize()
public final boolean getOptimizePdfSize()
If True and converting to Pdf the conversion is optimized for better file size than print quality.
Returns:
boolean
setOptimizePdfSize(boolean value)
public final void setOptimizePdfSize(boolean value)
If True and converting to Pdf the conversion is optimized for better file size than print quality.
Parameters:
Parameter
Type
Description
value
boolean
getConvertRange()
public final String getConvertRange()
Convert specific range when converting to other than spreadsheet format. Example: “D1:F8”.
Returns:
java.lang.String
setConvertRange(String value)
public final void setConvertRange(String value)
Convert specific range when converting to other than spreadsheet format. Example: “D1:F8”.
Parameters:
Parameter
Type
Description
value
java.lang.String
getSkipEmptyRowsAndColumns()
public final boolean getSkipEmptyRowsAndColumns()
Skips empty rows and columns when converting. Default is True.
Returns:
boolean
setSkipEmptyRowsAndColumns(boolean value)
public final void setSkipEmptyRowsAndColumns(boolean value)
Skips empty rows and columns when converting. Default is True.
Parameters:
Parameter
Type
Description
value
boolean
getPassword()
public final String getPassword()
Set password to unprotect protected document.
Returns:
java.lang.String
setPassword(String value)
public final void setPassword(String value)
Set password to unprotect protected document.
Parameters:
Parameter
Type
Description
value
java.lang.String
getHideComments()
public final boolean getHideComments()
Hide comments.
Returns:
boolean
setHideComments(boolean value)
public final void setHideComments(boolean value)
Hide comments.
Parameters:
Parameter
Type
Description
value
boolean
isCheckExcelRestriction()
public boolean isCheckExcelRestriction()
Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K, if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell’s value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file.