[]
IWorkbookstatic IFontProviderstatic StringWorkbook()Workbook(WorkbookOptions options) Workbook(String licenseKey,
WorkbookOptions options) static voidstatic voidAddCustomFunction(CustomFunction func,
boolean canOverride) voidaddDataSource(String name,
Object dataSource) voidclone()voidvoidconvertBarcodeToPicture(ImageType imageType) voiddirty()fromJson(InputStream stream) fromJson(InputStream stream,
DeserializationOptions deserializationOptions) fromJson(String json,
DeserializationOptions deserializationOptions) voidfromSjsJson(InputStream stream) voidfromSjsJson(InputStream stream,
SjsOpenOptions openOptions) voidfromSjsJson(String json) voidfromSjsJson(String json,
SjsOpenOptions openOptions) generateReport(IWorksheet... worksheets) booleanbooleanbooleanbooleanbooleanfinal IGraphicsInfogetName()getNames()INames collection that represents the workbook-specified names.static String[]getNames(InputStream fileStream) static String[]IExcelOptions object that represents some settings to control workbook behavior.getPath()booleanbooleanbooleanfinal IWorksheetsbooleanISlicerCaches object associated with the workbook.static IJsonSerializergetTheme()static IJsonSerializerstatic IWebRequestHandlerstatic Object[][]importData(InputStream fileStream,
String sourceName) static Object[][]importData(InputStream fileStream,
String worksheetName,
int row,
int column,
int rowCount,
int columnCount) static Object[][]importData(String fileName,
String sourceName) static Object[][]importData(String fileName,
String worksheetName,
int row,
int column,
int rowCount,
int columnCount) booleanisEncryptedFile(InputStream fileStream) booleanisEncryptedFile(String fileName) final voidopen(InputStream fileStream) voidopen(InputStream fileStream,
OpenFileFormat fileFormat) voidopen(InputStream fileStream,
OpenOptionsBase options) voidopen(InputStream fileStream,
String password) open(InputStream,OpenOptionsBase) insteadvoidopen(String fileName,
DeserializationOptions deserializationOptions) voidopen(String fileName,
OpenFileFormat fileFormat) voidopen(String fileName,
OpenOptionsBase options) voidopen(String,OpenOptionsBase) insteadvoidvoidprocessTemplate(CancellationToken cancellationToken) voidprotect()voidprotect(boolean structure) voidprotect(boolean structure,
boolean windows) voidvoidvoidvoidsave(OutputStream outputStream) voidsave(OutputStream fileStream,
SaveFileFormat fileFormat) voidsave(OutputStream fileStream,
SaveOptionsBase options) voidsave(OutputStream outputStream,
String password) save(OutputStream,SaveOptionsBase) insteadvoidvoidsave(String fileName,
SaveFileFormat fileFormat) voidsave(String fileName,
SaveOptionsBase options) voidsave(String,SaveOptionsBase) insteadvoidsetAllowDynamicArray(boolean value) IRange.setFormula2(String) to set dynamic array formula.voidvoidsetAutoParse(boolean value) voidsetAutoRoundValue(boolean value) voidsetCulture(Locale value) voidsetDefaultTableStyle(String value) ITableStyleCollection collectionthat is used as the default TableStyle.voidsetDeferUpdateDirtyState(boolean value) voidsetEnableCalculation(boolean value) final voidsetGraphicsInfo(IGraphicsInfo value) static voidSetLicenseFile(String licenseFilePath) static voidSetLicenseKey(String key) voidvoidvoidsetReferenceStyle(ReferenceStyle value) voidsetResetAdjacentRangeBorder(boolean value) voidsetShowPivotTableFieldList(boolean value) static voidvoidstatic voidstatic voidsetWebRequestHandler(IWebRequestHandler webRequestHandler) toJson()toJson(SerializationOptions serializationOptions) voidtoJson(OutputStream stream) voidtoJson(OutputStream stream,
SerializationOptions serializationOptions) toSjsJson(SjsSaveOptions options) voidtoSjsJson(OutputStream stream) voidtoSjsJson(OutputStream stream,
SjsSaveOptions options) voidvoidvoidupdateExcelLink(String name) voidupdateExcelLink(String name,
IWorkbook sourceWorkbook) voidvoidoptions - The workbook options. Important: For licenses of the Chinese market, use SetLicenseFile orset license in the GCEXCEL_JAVA_DEPLOY_LICENSE_V7 environment variable instead.
licenseKey - license key Important: For licenses of the Chinese market, use SetLicenseFile orset license in the GCEXCEL_JAVA_DEPLOY_LICENSE_V7 environment variable instead.
licenseKey - license key.options - The workbook options.IRange.getFormula2() to get dynamic array formula.getAllowDynamicArray in interface IWorkbookIRange.setFormula2(String) to set dynamic array formula.setAllowDynamicArray in interface IWorkbookgetDeferUpdateDirtyState in interface IWorkbooksetDeferUpdateDirtyState in interface IWorkbookgetFullName in interface IWorkbookopen(String,OpenOptionsBase) insteadopen(InputStream,OpenOptionsBase) insteadsave(String,SaveOptionsBase) insteadsave(OutputStream,SaveOptionsBase) insteadgetAfterSaveEvent in interface IWorkbookgetBeforeSaveEvent in interface IWorkbookgetNewSheetEvent in interface IWorkbookgetOpenedEvent in interface IWorkbookgetSheetActivateEvent in interface IWorkbookgetSheetBeforeDeleteEvent in interface IWorkbookgetSheetChangeEvent in interface IWorkbookgetSheetDeactivateEvent in interface IWorkbookgetSheetSelectionChange in interface IWorkbookIExcelOptions object that represents some settings to control workbook behavior.getOptions in interface IWorkbookgetBuiltInDocumentProperties in interface IWorkbookgetCustomDocumentProperties in interface IWorkbookgetCustomViews in interface IWorkbookgetWriteProtection in interface IWorkbookgetSignatures in interface IWorkbookvalue - The JSON serializer for tag custom type.value - The JSON serializer for custom type.getAutoParse in interface IWorkbooksetAutoParse in interface IWorkbookvalue - True to automatically parse string values. Otherwise, false.getAutoRoundValue in interface IWorkbooksetAutoRoundValue in interface IWorkbookgetBookView in interface IWorkbookgetProtectStructure in interface IWorkbookgetProtectWindows in interface IWorkbookgetReferenceStyle in interface IWorkbooksetReferenceStyle in interface IWorkbookgetWorksheets in interface IWorkbookgetSheetTabs in interface IWorkbookISheetTabs representing the collection of sheet tabs.getActiveSheet in interface IWorkbookgetIconSets in interface IWorkbookgetDefaultTableStyle in interface IWorkbookITableStyleCollection collectionthat is used as the default TableStyle.setDefaultTableStyle in interface IWorkbookgetCulture in interface IWorkbookThe culture must contain both country/region and language. For example:
setCulture in interface IWorkbookgetEnableCalculation in interface IWorkbooksetEnableCalculation in interface IWorkbookfunc - the custom function instance.func - the custom function instance.canOverride - override the exist function.getPivotCaches in interface IWorkbookISlicerCaches object associated with the workbook.getSlicerCaches in interface IWorkbookgetUsedFonts in interface IWorkbookgetTableStyles in interface IWorkbookINames collection that represents the workbook-specified names.isEncryptedFile in interface IWorkbookfileName - The file name.isEncryptedFile in interface IWorkbookfileStream - The file stream.toJson in interface IWorkbookserializationOptions - the SerializationOptions object.toJson in interface IWorkbookstream - the output stream.serializationOptions - the SerializationOptions object.fromJson in interface IWorkbookjson - the JSON.deserializationOptions - the DeserializationOptions object.fromJson in interface IWorkbookstream - the streamdeserializationOptions - the DeserializationOptions object.fromSjsJson in interface IWorkbookjson - The JSON string.fromSjsJson in interface IWorkbookjson - The JSON string.openOptions - The open options for opening SpreadJS .sjs file.fromSjsJson in interface IWorkbookstream - The JSON stream.waitForCalculationToFinish in interface IWorkbookwebRequestHandler - the new singleton instance of IWebRequestHandlerfromSjsJson in interface IWorkbookstream - The JSON stream.openOptions - The open options for opening SpreadJS .sjs file.protect in interface IWorkbookstructure - True to protect the structure of the workbook (To prevent otherusers from viewing hidden worksheets, adding, moving, deleting, or hiding worksheets, and renaming worksheets).windows - True to prevent users from moving, resizing, or closing theworkbook window, or hide/unhide windows. This option is available only in Excel 2007, Excel 2010, Excel for Mac 2011, and Excel 2016 for Mac.protect in interface IWorkbookpassword - Password to protect the workbook.structure - True to protect the structure of the workbook (To prevent other users from viewing hidden worksheets, adding, moving, deleting, or hiding worksheets, and renaming worksheets).windows - True to prevent users from moving, resizing, or closing the workbook window, or hide/unhide windows. This option is available only in Excel 2007, Excel 2010, Excel for Mac 2011, and Excel 2016 for Mac.addDataSource in interface IWorkbookname - : the alias name of the data source.dataSource - : Can be object of ResultSet, Custom object and variable.processTemplate in interface IWorkbookprocessTemplate in interface IWorkbookcancellationToken - The token to monitor for cancellation requests.CancellationException - Throws when the CancellationToken was canceled.generateReport in interface IWorkbookIWorkbook object.generateReport in interface IWorkbookworksheets - IWorksheet collection that need to be processed.IWorkbook object.getResetAdjacentRangeBorder in interface IWorkbooksetResetAdjacentRangeBorder in interface IWorkbookvalue - True to reset the border of adjacent ranges, false otherwise. Important: For licenses of the Chinese market, use SetLicenseFile orset license in the GCEXCEL_JAVA_DEPLOY_LICENSE_V7 environment variable instead.
key - The license key.This method shouldn't be called if your license was purchased from other markets.
licenseFilePath - The file that contains license keygetGraphicsInfo in interface IWorkbooksetGraphicsInfo in interface IWorkbookgetSelectedSheets in interface IWorkbookgetExcelLinkSources in interface IWorkbookupdateExcelLinks in interface IWorkbookupdateExcelLink in interface IWorkbookupdateExcelLink in interface IWorkbookfileName - The path and name for the file.fileStream - The fileStream of a workbook.fileName - The path and name for the file.sourceName - The name of the source data. The source name could be:fileName - The path and name for the file.worksheetName - The name of the worksheet.row - The first row of the range.column - The first column of the range.rowCount - The count of the rows.columnCount - The count of the columns.fileStream - The fileStream of a workbook.sourceName - The name of the source data. The source name could be:fileStream - The fileStream of a workbook.worksheetName - The name of the worksheet.row - The first row of the range.column - The first column of the range.rowCount - The count of the rows.columnCount - The count of the columns.ImageType of converted image is ImageType.SVG.convertBarcodeToPicture in interface IWorkbookImageType.EMF and ImageType.WMF image types.convertBarcodeToPicture in interface IWorkbookimageType - Specify the ImageType of converted image.UnsupportedOperationException - If convert to ImageType.EMF or ImageType.WMF image type.getShowPivotTableFieldList in interface IWorkbooksetShowPivotTableFieldList in interface IWorkbook
IRange.getFormula2()to get dynamic array formula.