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 | getFontDir() | |
staticfunction | setFontDir(value) | |
When generating PDF/XPS, specific font file directory can be set in the property. If it is not set , using %WINDOWS%\fonts by default. | ||
static function | getFontDirs() | |
staticfunction | setFontDirs(value) | |
When generating PDF/XPS, specific font file directories can be set in the property. If it is not set , using %WINDOWS%\fonts by default. | ||
static function | getFontFiles() | |
staticfunction | setFontFiles(value) | |
When generating PDF/XPS, specific font files can be set in the property. Such as "d:\myfonts\myArial.ttf" | ||
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) | |
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 | detectFileFormat(stream) | |
Detects the format type of the file stored in the stream.
|
||
static function | detectFileFormat(fileName) | |
Detects the file format type.
|
||
static function | detectLoadFormat(stream) | |
Detects the file load format.
|
||
static function | detectLoadFormat(fileName) | |
Detects the file load format.
|
||
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 | getUsedColors(workbook) | |
Gets all used colors in the workbook.
|
||
static function | getVersion() | |
Get the release version.
|
||
static function | isProtectedByRMS(stream) | |
Gets whether the file is protected by Microsoft Rights Management Server.
|
||
static function | isProtectedByRMS(fileName) | |
Gets whether the file is protected by Microsoft Rights Management Server.
|
||
static function | mergeFiles(files, cachedFile, destFile) | |
Merges some large xls files to a xls file.
|
||
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 getFontDir() / function static setFontDir(value)
function static getFontDirs() / function static setFontDirs(value)
function static getFontFiles() / function static setFontFiles(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)
static function getVersion()
static function isProtectedByRMS(fileName)
fileName: String
- The file name.static function isProtectedByRMS(stream)
stream: InputStream
- The file stream.static function cellNameToIndex(cellName)
static 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 detectLoadFormat(fileName)
fileName: String
- The file name.static function detectLoadFormat(stream)
stream: InputStream
- The stream.static function detectFileFormat(fileName)
fileName: String
- the file namestatic function detectFileFormat(stream)
stream: InputStream
- The streamstatic 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 name