public class Config
extends java.lang.Object
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
getAutoOptimizeForLargeCells()
Gets whether to automatically optimize the load performance for worksheet with large cells.
|
static java.lang.String |
getBaseRouteName()
Gets the base route name for GridJs controller URL.
|
static int |
getEmptySheetMaxCol()
Gets default max column for an empty worksheet.
|
static int |
getEmptySheetMaxRow()
Gets default max row for an empty worksheet.
|
static java.lang.String |
getFileCacheDirectory()
Gets the cache directory for storing spreadsheet file.
|
static boolean |
getIgnoreEmptyContent()
Gets whether to show the max range which includes data ,style, merged cells and shapes.
|
static 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.
|
static boolean |
getLazyLoading()
Gets whether to load active worksheet only,the default is false.
|
static int |
getMaxPdfSaveSeconds()
Gets the max timed out seconds when save to PDF.
|
static int |
getMaxShapeOrImageCount()
Gets the total count of the display shapes or images in the active sheet,it takes effect when IslimitShapeOrImage=true.
|
static 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.
|
static int |
getMaxTotalShapeOrImageCount()
Gets the total count of the display shapes or images in the workbook,it takes effect when IslimitShapeOrImage=true.
|
static java.lang.String |
getMessageTopic()
Gets the websocket destinations prefixed with "/topic".
|
static 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.
|
static boolean |
getSameImageDetecting()
Gets whether to check if images have same source,the default is true
the default value is true.
|
static boolean |
getSaveHtmlAsZip()
Gets whether to save html file as zip archive,the default is false.
|
static boolean |
getShowChartSheet()
Gets whether to show chart worksheet.
|
static boolean |
getSkipInvisibleShapes()
Gets whether to skip shapes that are invisble to UI ,the default value is true.
|
static boolean |
getUsePrintArea()
Gets whether to use PageSetup.PrintArea for the UI display range when the worksheet has PageSetup setting for PrintArea.
|
static boolean |
isCollaborative()
Gets whether to support collabrative editing,the default is false.
|
static void |
setAutoOptimizeForLargeCells(boolean value)
Sets whether to automatically optimize the load performance for worksheet with large cells.
|
static void |
setBaseRouteName(java.lang.String value)
Sets the base route name for GridJs controller URL.
|
static void |
setCollaborative(boolean value)
Sets whether to support collabrative editing,the default is false.
|
static void |
setEmptySheetMaxCol(int value)
Sets default max column for an empty worksheet.
|
static void |
setEmptySheetMaxRow(int value)
Sets default max row for an empty worksheet.
|
static void |
setFileCacheDirectory(java.lang.String value)
Sets the cache directory for storing spreadsheet file.
|
static void |
setFontFolder(java.lang.String fontFolder,
boolean recursive)
Sets the fonts folder
|
static void |
setFontFolders(java.lang.String[] fontFolders,
boolean recursive)
Sets the fonts folders
|
static void |
setIgnoreEmptyContent(boolean value)
Sets whether to show the max range which includes data ,style, merged cells and shapes.
|
static 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.
|
static void |
setLazyLoading(boolean value)
Sets whether to load active worksheet only,the default is false.
|
static void |
setMaxPdfSaveSeconds(int value)
Sets the max timed out seconds when save to PDF.
|
static void |
setMaxShapeOrImageCount(int value)
Sets the total count of the display shapes or images in the active sheet,it takes effect when IslimitShapeOrImage=true.
|
static 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.
|
static void |
setMaxTotalShapeOrImageCount(int value)
Sets the total count of the display shapes or images in the workbook,it takes effect when IslimitShapeOrImage=true.
|
static void |
setMessageTopic(java.lang.String value)
Sets the websocket destinations prefixed with "/topic".
|
static 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.
|
static void |
setSameImageDetecting(boolean value)
Sets whether to check if images have same source,the default is true
the default value is true.
|
static void |
setSaveHtmlAsZip(boolean value)
Sets whether to save html file as zip archive,the default is false.
|
static void |
setShowChartSheet(boolean value)
Sets whether to show chart worksheet.
|
static void |
setSkipInvisibleShapes(boolean value)
Sets whether to skip shapes that are invisble to UI ,the default value is true.
|
static void |
setUsePrintArea(boolean value)
Sets whether to use PageSetup.PrintArea for the UI display range when the worksheet has PageSetup setting for PrintArea.
|
public static boolean getSaveHtmlAsZip()
public static void setSaveHtmlAsZip(boolean value)
public static boolean getSkipInvisibleShapes()
public static void setSkipInvisibleShapes(boolean value)
public static boolean getLazyLoading()
public static void setLazyLoading(boolean value)
public static boolean getSameImageDetecting()
public static void setSameImageDetecting(boolean value)
public static boolean getAutoOptimizeForLargeCells()
public static void setAutoOptimizeForLargeCells(boolean value)
public static boolean getIslimitShapeOrImage()
public static void setIslimitShapeOrImage(boolean value)
public static int getMaxShapeOrImageCount()
public static void setMaxShapeOrImageCount(int value)
public static int getMaxTotalShapeOrImageCount()
public static void setMaxTotalShapeOrImageCount(int value)
public static int getMaxShapeOrImageWidthOrHeight()
public static void setMaxShapeOrImageWidthOrHeight(int value)
public static int getMaxPdfSaveSeconds()
public static void setMaxPdfSaveSeconds(int value)
public static boolean getIgnoreEmptyContent()
public static void setIgnoreEmptyContent(boolean value)
public static boolean getUsePrintArea()
public static void setUsePrintArea(boolean value)
public static boolean isCollaborative()
public static void setCollaborative(boolean value)
public static boolean getShowChartSheet()
public static void setShowChartSheet(boolean value)
public static int getEmptySheetMaxRow()
public static void setEmptySheetMaxRow(int value)
public static int getEmptySheetMaxCol()
public static void setEmptySheetMaxCol(int value)
public static java.lang.String getPictureCacheDirectory()
public static void setPictureCacheDirectory(java.lang.String value)
public static java.lang.String getFileCacheDirectory()
public static void setFileCacheDirectory(java.lang.String value)
public static java.lang.String getBaseRouteName()
public static void setBaseRouteName(java.lang.String value)
public static java.lang.String getMessageTopic()
public static void setMessageTopic(java.lang.String value)
public static void setFontFolder(java.lang.String fontFolder,
boolean recursive)
fontFolder - The folder that contains TrueType fonts.recursive - Determines whether or not to scan subfolders.public static void setFontFolders(java.lang.String[] fontFolders,
boolean recursive)
fontFolders - The folders that contains TrueType fonts.recursive - Determines whether or not to scan subfolders.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.