Property Getters/Setters Summary | ||
---|---|---|
static function | getAltStartPath() | |
staticfunction | setAltStartPath(value) | |
Gets or sets the alternate startup path, which is referred to by some external formula references. | ||
static function | getCustomImplementationFactory() | |
staticfunction | ||
Gets or sets the factory for creating instances with special implementation. | ||
static function | getDPI() | |
staticfunction | setDPI(value) | |
Gets the DPI of the machine. | ||
static function | isCloudPlatform() | |
staticfunction | setCloudPlatform(value) | |
Please set this property True when running on a cloud platform, such as: Azure, AWSLambda, etc, | ||
static function | getLibraryPath() | |
staticfunction | setLibraryPath(value) | |
Gets or sets the library path which is referred to by some external formula references. | ||
static function | getSignificantDigits() | |
staticfunction | setSignificantDigits(value) | |
Gets and sets the number of significant digits. The default value is 17. | ||
static function | getStartupPath() | |
staticfunction | setStartupPath(value) | |
Gets or sets the startup path, which is referred to by some external formula references. |
Method Summary | ||
---|---|---|
static function | addAddInFunction(function, minCountOfParameters, maxCountOfParameters, paramersType, functionValueType) | |
Add addin function.
|
||
static function | cellIndexToName(row, column) | |
Gets cell name according to its row and column indexes.
|
||
static function | cellNameToIndex(cellName) | |
Gets the cell row and column indexes according to its name.
|
||
static function | columnIndexToName(column) | |
Gets column name according to column index.
|
||
static function | columnNameToIndex(columnName) | |
Gets column index according to column name.
|
||
static function | convertA1FormulaToR1C1(formula, row, column) | |
Converts A1 formula of the cell to the r1c1 formula.
|
||
static function | convertR1C1FormulaToA1(r1c1Formula, row, column) | |
Converts the r1c1 formula of the cell to A1 formula.
|
||
static function | createSafeSheetName(nameProposal) | |
Checks given sheet name and create a valid one when needed.
If given sheet name conforms to the rules of excel sheet name, then return it.
Otherwise string will be truncated if length exceeds the limit
and invalid characters will be replaced with ' ', then return the rebuilt string value.
|
||
static function | createSafeSheetName(nameProposal, replaceChar) | |
Checks given sheet name and create a valid one when needed.
If given sheet name conforms to the rules of excel sheet name, then return it.
Otherwise string will be truncated if length exceeds the limit
and invalid characters will be replaced with given character, then return the rebuilt string value.
|
||
static function | getDateTimeFromDouble(doubleValue, date1904) | |
Convert the double value to the date time value.
|
||
static function | getDoubleFromDateTime(dateTime, date1904) | |
Convert the date time to double value.
|
||
static function | getTextWidth(text, font, scaling) | |
Get width of text in unit of points.
|
||
static function | getUsedColors(workbook) | |
Gets all used colors in the workbook.
|
||
static function | getVersion() | |
Get the release version.
|
||
static function | mergeFiles(files, cachedFile, destFile) | |
Merges some large xls files to a xls file.
|
||
static function | needQuoteInFormula(sheetName) | |
Indicates whether the name of the sheet should be enclosed in single quotes
|
||
static function | rowIndexToName(row) | |
Gets row name according to row index.
|
||
static function | rowNameToIndex(rowName) | |
Gets row index according to row name.
|
function static getSignificantDigits() / function static setSignificantDigits(value)
function static getDPI() / function static setDPI(value)
function static getStartupPath() / function static setStartupPath(value)
function static getAltStartPath() / function static setAltStartPath(value)
function static getLibraryPath() / function static setLibraryPath(value)
function static getCustomImplementationFactory() / function static setCustomImplementationFactory(value)
function static isCloudPlatform() / function static setCloudPlatform(value)
static function getTextWidth(text, font, scaling)
text: String
- The text.font: Font
- The font of the text.scaling: Number
- The scaling of text.static function getVersion()
static function cellNameToIndex(cellName)
cellName: String
- Name of cellstatic function cellIndexToName(row, column)
row: Number
- Row index.column: Number
- Column index.static function columnIndexToName(column)
column: Number
- Column index.static function columnNameToIndex(columnName)
columnName: String
- Column name.static function rowIndexToName(row)
row: Number
- Row index.static function rowNameToIndex(rowName)
rowName: String
- Row name.static function convertR1C1FormulaToA1(r1c1Formula, row, column)
r1c1Formula: String
- The r1c1 formula.row: Number
- The row index of the cell.column: Number
- The column index of the cell.static function convertA1FormulaToR1C1(formula, row, column)
formula: String
- The A1 formula.row: Number
- The row index of the cell.column: Number
- The column index of the cell.static function getDateTimeFromDouble(doubleValue, date1904)
doubleValue: Number
- The double value.date1904: boolean
- Date 1904 system.static function getDoubleFromDateTime(dateTime, date1904)
dateTime: DateTime
- The date time.date1904: boolean
- Date 1904 system.static function getUsedColors(workbook)
workbook: Workbook
- The workbook object.static function addAddInFunction(function, minCountOfParameters, maxCountOfParameters, paramersType, functionValueType)
function: String
- The function name.minCountOfParameters: Number
- Minimum number of parameters this function requiresmaxCountOfParameters: Number
- Maximum number of parameters this function allows.paramersType: Number Array
- The excepted parameters type of the functionfunctionValueType: Number
- A static function mergeFiles(files, cachedFile, destFile)
files: String[]
- The files.cachedFile: String
- The cached file.destFile: String
- The dest file.static function createSafeSheetName(nameProposal)
nameProposal: String
- sheet name to be usedstatic function createSafeSheetName(nameProposal, replaceChar)
nameProposal: String
- sheet name to be usedreplaceChar: char
- character which will be used to replace invalid characters in given sheet namestatic function needQuoteInFormula(sheetName)
sheetName: String
- The name of the sheet