Static Method Summary
Static Public Methods | ||
public static |
Create a empty cells. |
|
public static |
Get a cells from a rows. |
|
public static |
getPosition(text: String): Object Get the coordinates of the cell. |
|
public static |
getSheetSize(sheet: Object, cells: Array<Array>): Object Get the size of the sheet. |
|
public static |
numOfColumn(text: String): Number Convert the column text to number. |
|
public static |
Parse the "r" element of XML. |
|
public static |
Parse the "t" element of XML. |
|
public static |
Parse the XML text. |
|
public static |
Extract a zip file. |
|
public static |
valueFromStrings(str: Object): String Get a value from the cell strings. |
Static Public Methods
public static createEmptyCells(rows: Number, cols: Number): Array<Array<String>> source
Create a empty cells.
public static getPosition(text: String): Object source
Get the coordinates of the cell.
Params:
Name | Type | Attribute | Description |
text | String | Position text. Such as "A1" and "U109". |
public static getSheetSize(sheet: Object, cells: Array<Array>): Object source
Get the size of the sheet.
public static numOfColumn(text: String): Number source
Convert the column text to number.
Params:
Name | Type | Attribute | Description |
text | String | Column text, such as A" and "AA". |
public static parseXML(xml: String): Promise source
Parse the XML text.
Params:
Name | Type | Attribute | Description |
xml | String | XML text. |