[]
Workbook
void
addDataSource(String name,
Object dataSource)
void
void
void
convertBarcodeToPicture(ImageType imageType)
void
dirty()
fromJson(InputStream stream)
fromJson(InputStream stream,
DeserializationOptions deserializationOptions)
fromJson(String json,
DeserializationOptions deserializationOptions)
void
fromSjsJson(InputStream stream)
void
fromSjsJson(InputStream stream,
SjsOpenOptions openOptions)
void
fromSjsJson(String json)
void
fromSjsJson(String json,
SjsOpenOptions openOptions)
generateReport(IWorksheet... worksheets)
boolean
boolean
boolean
ITableStyleCollection
集合中的表格样式名称。boolean
boolean
getName()
getNames()
INames
集合。IExcelOptions
对象。getPath()
IPivotTable
缓存的IPivotCaches
集合。boolean
boolean
boolean
IWorksheets
集合,该集合代表指定工作簿中所有选中的工作表。boolean
ISlicerCaches
对象。IStyleCollection
集合。ITableStyleCollection
集合对象,该对象指的是当前工作簿中使用的样式。getTheme()
IWorksheets
集合。这是一个只读的Sheets对象。WriteProtection
对象,该对象提供了访问工作簿写保护选项的权限。boolean
isEncryptedFile(InputStream fileStream)
boolean
isEncryptedFile(String fileName)
void
open(InputStream fileStream)
void
open(InputStream fileStream,
OpenFileFormat fileFormat)
void
open(InputStream fileStream,
OpenOptionsBase options)
void
open(InputStream fileStream,
String password)
void
open(String fileName,
DeserializationOptions deserializationOptions)
void
open(String fileName,
OpenFileFormat fileFormat)
void
open(String fileName,
OpenOptionsBase options)
void
void
void
processTemplate(CancellationToken cancellationToken)
void
protect()
void
protect(boolean structure)
void
protect(boolean structure,
boolean windows)
void
void
void
void
save(OutputStream outputStream)
void
save(OutputStream fileStream,
SaveFileFormat fileFormat)
void
save(OutputStream fileStream,
SaveOptionsBase options)
void
save(OutputStream outputStream,
String password)
void
void
save(String fileName,
SaveFileFormat fileFormat)
void
save(String fileName,
SaveOptionsBase options)
void
void
setAllowDynamicArray(boolean value)
void
void
setAutoParse(boolean value)
void
setAutoRoundValue(boolean value)
void
setCulture(Locale value)
void
setDefaultTableStyle(String value)
ITableStyleCollection
集合中使用。void
setDeferUpdateDirtyState(boolean value)
void
setEnableCalculation(boolean value)
void
setGraphicsInfo(IGraphicsInfo value)
void
void
void
setReferenceStyle(ReferenceStyle value)
void
setResetAdjacentRangeBorder(boolean value)
void
setShowPivotTableFieldList(boolean value)
void
toJson()
toJson(SerializationOptions serializationOptions)
void
toJson(OutputStream stream)
void
toJson(OutputStream stream,
SerializationOptions serializationOptions)
toSjsJson(SjsSaveOptions options)
void
toSjsJson(OutputStream stream)
void
toSjsJson(OutputStream stream,
SjsSaveOptions options)
void
void
void
updateExcelLink(String name)
void
updateExcelLink(String name,
IWorkbook sourceWorkbook)
void
void
IWorksheets
集合,该集合代表指定工作簿中所有选中的工作表。IExcelOptions
对象。value
- 如果要重置相邻范围的边框,则为true;否则为false。WriteProtection
对象,该对象提供了访问工作簿写保护选项的权限。区域信息必须同时包含国家和语言。例如:
ITableStyleCollection
集合中的表格样式名称。ITableStyleCollection
集合中使用。INames
集合。IPivotTable
缓存的IPivotCaches
集合。IStyleCollection
集合。ITableStyleCollection
集合对象,该对象指的是当前工作簿中使用的样式。IWorksheets
集合。这是一个只读的Sheets对象。ISlicerCaches
对象。json
- JSON字符串。json
- json字符串。deserializationOptions
- DeserializationOptions
对象。stream
- 流stream
- 流deserializationOptions
- DeserializationOptions
对象。serializationOptions
- SerializationOptions
对象。stream
- 输出流。stream
- 输出流。serializationOptions
- SerializationOptions
对象。fileName
- 文件名。fileStream
- 输入文件流。fileName
- Excel文件。fileName
- 指定的json文件。deserializationOptions
- JSON反序列化选项。fileName
- Excel文件。password
- 文件的密码。fileName
- Excel文件。options
- 打开文件的选项。可能的类型:fileName
- 指定的文件。fileFormat
- 文件的格式。fileStream
- 文件流。fileStream
- 文件流。password
- 文件的密码。fileStream
- 文件流。options
- 打开文件流的格式。可能的类型:fileStream
- 指定的文件流。fileFormat
- 文件流的格式。fileName
- 文件名。fileName
- Excel文件。password
- 文件的密码。fileName
- 指定的文件。options
- 保存文件的选项。可能的类型:fileName
- 指定的文件。fileFormat
- 文件的格式。outputStream
- 文件流。outputStream
- 文件流。password
- 文件的密码。fileStream
- 指定的文件流。options
- 保存文件流的选项。可能的类型:fileStream
- 指定的文件流。fileFormat
- 文件流的格式。structure
- 如果设置为true,则保护工作簿的结构(防止其他用户查看隐藏的工作表、添加、移动、删除或隐藏工作表,以及重命名工作表)。structure
- 如果为true,则保护工作簿的结构(防止其他用户查看隐藏的工作表、添加、移动、删除或隐藏工作表,以及重命名工作表)。windows
- 如果为true,防止用户移动、调整大小或关闭工作簿窗口,或隐藏/显示窗口。此选项仅在Excel 2007、Excel 2010、Excel for Mac 2011和Excel 2016 for Mac中可用。password
- 用于保护工作簿的密码。password
- 用于保护工作簿的密码。structure
- 如果设置为true,则保护工作簿的结构(防止其他用户查看隐藏的工作表、添加、移动、删除或隐藏工作表,以及重命名工作表)。password
- 用于保护工作簿的密码。structure
- 如果设置为true,则保护工作簿的结构(防止其他用户查看隐藏的工作表、添加、移动、删除或隐藏工作表,以及重命名工作表)。windows
- 如果设置为true,则阻止用户移动、调整大小或关闭工作簿窗口,或隐藏/显示窗口。此选项仅在 Excel 2007、Excel 2010、Excel for Mac 2011 和 Excel 2016 for Mac 中可用。password
- 用于保护工作簿的密码。name
- : 数据源的别名dataSource
- : 可以是ResultSet对象、自定义对象和变量。cancellationToken
- 用于监控取消请求的令牌。CancellationException
- 当CancellationToken
被取消时抛出。IWorkbook
对象。worksheets
- 需要处理的工作表集合。IWorkbook
对象。options
- 打开SpreadJS .sjs文件的选项。stream
- 指定的文件流。options
- 打开SpreadJS .sjs文件的选项。stream
- 指定的文件流。imageType
- 指定转换后图像的 ImageType
。UnsupportedOperationException
- 如果转换到 ImageType.EMF
或 ImageType.WMF
图像类型。json
- JSON字符串。json
- JSON字符串。openOptions
- 用于打开 SpreadJS .sjs 文件的打开选项。stream
- JSON流。openOptions
- 用于打开SpreadJS .sjs文件的打开选项。stream
- JSON 流。