public class GridJsOptions
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
GridCacheForStream |
CacheImp
Custom implemention for cache storage,If you want to store cache in stream way ,you need to set and implement it.
|
| Constructor and Description |
|---|
GridJsOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAutoOptimizeForLargeCells()
Gets whether to automatically optimize the load performance for worksheet with large cells.
|
java.lang.String |
getBaseRouteName()
Gets the route URL base name for GridJs controller.the default is GridJs2
|
int |
getEmptySheetMaxCol()
Gets default max column for an empty worksheet.
|
int |
getEmptySheetMaxRow()
Gets default max row for an empty worksheet.
|
java.lang.String |
getFileCacheDirectory()
Gets the cache directory for storing spreadsheet file.
|
java.lang.String[] |
getFontFolders()
Gets the fonts folders for fonts in the rendered pictures/shapes
|
boolean |
getIgnoreEmptyContent()
Gets whether to show the max range which includes data ,style, merged cells and shapes.
|
boolean |
getIslimitShapeOrImage()
Gets whether to limit the total display shape/image count in one worksheet ,if set to true,
GridJs will limit the total count of the display shapes or images in one worksheet to MaxShapeOrImageCount
the default value is true.
|
boolean |
getLazyLoading()
Gets whether to load active worksheet only,the default is false.
|
int |
getMaxPdfSaveSeconds()
Gets the max timed out seconds when save to PDF.
|
int |
getMaxShapeOrImageCount()
Gets the total count of the display shapes or images in the active sheet,it takes effect when IslimitShapeOrImage=true.
|
int |
getMaxShapeOrImageWidthOrHeight()
Gets the max width or height for a shape or an image ,GridJs will ignore the shape or image with the width or height larger than this, it takes effect when IslimitShapeOrImage=true.
|
int |
getMaxTotalShapeOrImageCount()
Gets the total count of the display shapes or images in the workbook,it takes effect when IslimitShapeOrImage=true.
|
java.lang.String |
getMessageTopic()
Gets the websocket destinations prefixed with "/topic".
|
java.lang.String |
getPictureCacheDirectory()
Gets the cache directory for pictures.(this takes effect when GridJsWorkbook.CacheImp is null)
the default path will be "_piccache" inside the FileCacheDirectory.
|
boolean |
getSameImageDetecting()
Gets whether to check if images have same source,the default is true
the default value is true.
|
boolean |
getSaveHtmlAsZip()
Gets whether to save html file as zip archive,the default is false.
|
boolean |
getShowChartSheet()
Gets whether to show chart worksheet.
|
boolean |
getSkipInvisibleShapes()
Gets whether to skip shapes that are invisble to UI ,the default value is true.
|
boolean |
getUsePrintArea()
Gets whether to use PageSetup.PrintArea for the UI display range when the worksheet has PageSetup setting for PrintArea.
|
boolean |
isCollaborative()
Gets whether to support collabrative editing,the default is false.
|
void |
setAutoOptimizeForLargeCells(boolean value)
Sets whether to automatically optimize the load performance for worksheet with large cells.
|
void |
setBaseRouteName(java.lang.String value)
Sets the route URL base name for GridJs controller.the default is GridJs2
|
void |
setCollaborative(boolean value)
Sets whether to support collabrative editing,the default is false.
|
void |
setEmptySheetMaxCol(int value)
Sets default max column for an empty worksheet.
|
void |
setEmptySheetMaxRow(int value)
Sets default max row for an empty worksheet.
|
void |
setFileCacheDirectory(java.lang.String value)
Sets the cache directory for storing spreadsheet file.
|
void |
setFontFolders(java.lang.String[] value)
Sets the fonts folders for fonts in the rendered pictures/shapes
|
void |
setIgnoreEmptyContent(boolean value)
Sets whether to show the max range which includes data ,style, merged cells and shapes.
|
void |
setIslimitShapeOrImage(boolean value)
Sets whether to limit the total display shape/image count in one worksheet ,if set to true,
GridJs will limit the total count of the display shapes or images in one worksheet to MaxShapeOrImageCount
the default value is true.
|
void |
setLazyLoading(boolean value)
Sets whether to load active worksheet only,the default is false.
|
void |
setMaxPdfSaveSeconds(int value)
Sets the max timed out seconds when save to PDF.
|
void |
setMaxShapeOrImageCount(int value)
Sets the total count of the display shapes or images in the active sheet,it takes effect when IslimitShapeOrImage=true.
|
void |
setMaxShapeOrImageWidthOrHeight(int value)
Sets the max width or height for a shape or an image ,GridJs will ignore the shape or image with the width or height larger than this, it takes effect when IslimitShapeOrImage=true.
|
void |
setMaxTotalShapeOrImageCount(int value)
Sets the total count of the display shapes or images in the workbook,it takes effect when IslimitShapeOrImage=true.
|
void |
setMessageTopic(java.lang.String value)
Sets the websocket destinations prefixed with "/topic".
|
void |
setPictureCacheDirectory(java.lang.String value)
Sets the cache directory for pictures.(this takes effect when GridJsWorkbook.CacheImp is null)
the default path will be "_piccache" inside the FileCacheDirectory.
|
void |
setSameImageDetecting(boolean value)
Sets whether to check if images have same source,the default is true
the default value is true.
|
void |
setSaveHtmlAsZip(boolean value)
Sets whether to save html file as zip archive,the default is false.
|
void |
setShowChartSheet(boolean value)
Sets whether to show chart worksheet.
|
void |
setSkipInvisibleShapes(boolean value)
Sets whether to skip shapes that are invisble to UI ,the default value is true.
|
void |
setUsePrintArea(boolean value)
Sets whether to use PageSetup.PrintArea for the UI display range when the worksheet has PageSetup setting for PrintArea.
|
public GridCacheForStream CacheImp
public boolean getSaveHtmlAsZip()
public void setSaveHtmlAsZip(boolean value)
public boolean getSkipInvisibleShapes()
public void setSkipInvisibleShapes(boolean value)
public boolean getLazyLoading()
public void setLazyLoading(boolean value)
public boolean getSameImageDetecting()
public void setSameImageDetecting(boolean value)
public boolean getAutoOptimizeForLargeCells()
public void setAutoOptimizeForLargeCells(boolean value)
public boolean getIslimitShapeOrImage()
public void setIslimitShapeOrImage(boolean value)
public int getMaxShapeOrImageCount()
public void setMaxShapeOrImageCount(int value)
public int getMaxTotalShapeOrImageCount()
public void setMaxTotalShapeOrImageCount(int value)
public int getMaxShapeOrImageWidthOrHeight()
public void setMaxShapeOrImageWidthOrHeight(int value)
public int getMaxPdfSaveSeconds()
public void setMaxPdfSaveSeconds(int value)
public boolean getIgnoreEmptyContent()
public void setIgnoreEmptyContent(boolean value)
public boolean getUsePrintArea()
public void setUsePrintArea(boolean value)
public boolean isCollaborative()
public void setCollaborative(boolean value)
public boolean getShowChartSheet()
public void setShowChartSheet(boolean value)
public int getEmptySheetMaxRow()
public void setEmptySheetMaxRow(int value)
public int getEmptySheetMaxCol()
public void setEmptySheetMaxCol(int value)
public java.lang.String getPictureCacheDirectory()
public void setPictureCacheDirectory(java.lang.String value)
public java.lang.String getFileCacheDirectory()
public void setFileCacheDirectory(java.lang.String value)
public java.lang.String[] getFontFolders()
public void setFontFolders(java.lang.String[] value)
public java.lang.String getBaseRouteName()
public void setBaseRouteName(java.lang.String value)
public java.lang.String getMessageTopic()
public void setMessageTopic(java.lang.String value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.