| Method | Defined By | ||
|---|---|---|---|
Excel(data:ByteArray = null)
构造函数
| Excel | ||
| Excel | |||
addSheetAt(index:int, name:String = null):Sheet | Excel | ||
[static]
创建空的Excel文档
| Excel | ||
deleteSheetByName(name:String):Sheet | Excel | ||
deteteSheetAt(index:int):Sheet | Excel | ||
![]() | exportOffice():ByteArray
导出 Office 文件
| OfficeBase | |
getSheetByIndex(index:int):Sheet
根据 sheet索引 获取 sheet 数据
| Excel | ||
getSheetByName(name:String):Sheet
根据 sheet名称 获取 sheet 数据
| Excel | ||
getSheetNameArray():Array
返回sheet页名称列表
| Excel | ||
![]() | importOffice(data:ByteArray):void
导入Office 文件
| OfficeBase | |
| Method | Defined By | ||
|---|---|---|---|
![]() | putByteArrayFile(file:ByteArrayObject):void
写入单个文件
| OfficeBase | |
![]() | putXMLFile(file:XMLObject):void
写入单个文件
| OfficeBase | |
resolveRootConfig():void [override] | Excel | ||
writeFiles():void [override] | Excel | ||
| Excel | () | Constructor |
public function Excel(data:ByteArray = null)构造函数
Parametersdata:ByteArray (default = null) — Excel 文件(二进制数据)
|
| addSheet | () | method |
public function addSheet(name:String = null):SheetParameters
name:String (default = null) |
Sheet |
| addSheetAt | () | method |
public function addSheetAt(index:int, name:String = null):SheetParameters
index:int | |
name:String (default = null) |
Sheet |
| createExcel | () | method |
| deleteSheetByName | () | method |
| deteteSheetAt | () | method |
| getSheetByIndex | () | method |
public function getSheetByIndex(index:int):Sheet根据 sheet索引 获取 sheet 数据
Parameters
index:int |
Sheet —
|
| getSheetByName | () | method |
public function getSheetByName(name:String):Sheet根据 sheet名称 获取 sheet 数据
Parameters
name:String |
Sheet —
|
| getSheetNameArray | () | method |
public function getSheetNameArray():Array返回sheet页名称列表
ReturnsArray —
|
| resolveRootConfig | () | method |
override protected function resolveRootConfig():void| writeFiles | () | method |
override protected function writeFiles():void