Method Summary | ||
---|---|---|
static function | detectFileFormat(stream) | |
Detects and returns the information about a format of an excel stored in a stream.
|
||
static function | detectFileFormat(stream, password) | |
Detects and returns the information about a format of an excel stored in a stream.
|
||
static function | detectFileFormat(filePath) | |
Detects and returns the information about a format of an excel stored in a file.
|
||
static function | detectFileFormat(filePath, password) | |
Detects and returns the information about a format of an excel stored in a file.
|
||
static function | extensionToSaveFormat(extension) | |
Converts a file name extension into a SaveFormat value.
|
||
static function | fileFormatToSaveFormat(format) | |
Converting file format to save format.
|
||
static function | isTemplateFormat(extension) | |
Returns true if the extension is .xlt, .xltX, .xltm,.ots.
|
||
static function | loadFormatToExtension(loadFormat) | |
Converts a load format enumerated value into a file extension.
|
||
static function | loadFormatToSaveFormat(loadFormat) | |
Converts a LoadFormat value to a SaveFormat value if possible.
|
||
static function | saveFormatToExtension(format) | |
Converts a save format enumerated value into a file extension.
|
||
static function | saveFormatToLoadFormat(saveFormat) | |
Converts a SaveFormat value to a LoadFormat value if possible.
|
||
static function | verifyPassword(stream, password) | |
Detects and returns the information about a format of an excel stored in a stream.
|
static function detectFileFormat(stream)
stream: InputStream
- The streamstatic function detectFileFormat(stream, password)
stream: InputStream
- password: String
- The password for encrypted ooxml files.static function verifyPassword(stream, password)
stream: InputStream
- password: String
- The password for encrypted ooxml files.static function detectFileFormat(filePath)
filePath: String
- The file path.static function detectFileFormat(filePath, password)
filePath: String
- The file path.password: String
- The password for encrypted ooxml files.static function fileFormatToSaveFormat(format)
format: Number
- A static function extensionToSaveFormat(extension)
extension: String
- The file extension. Can be with or without a leading dot. Case-insensitive.static function isTemplateFormat(extension)
extension: String
- static function loadFormatToExtension(loadFormat)
loadFormat: Number
- A static function loadFormatToSaveFormat(loadFormat)
loadFormat: Number
- A static function saveFormatToExtension(format)
format: Number
- A static function saveFormatToLoadFormat(saveFormat)
saveFormat: Number
- A