Method Summary | ||
---|---|---|
static function | detectFileFormat(stream) | |
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 | 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. |
Method Detail |
---|
verifyPassword | |
static function verifyPassword(stream, password) |
stream: InputStream
- password: String
- The password for encrypted ooxml files.detectFileFormat | |
static function detectFileFormat(filePath) |
filePath: String
- The file path.detectFileFormat | |
static function detectFileFormat(filePath, password) |
filePath: String
- The file path.password: String
- The password for encrypted ooxml files.detectFileFormat | |
static function detectFileFormat(stream) |
stream: InputStream
- The streamextensionToSaveFormat | |
static function extensionToSaveFormat(extension) |
extension: String
- The file extension. Can be with or without a leading dot. Case-insensitive.isTemplateFormat | |
static function isTemplateFormat(extension) |
extension: String
- loadFormatToExtension | |
static function loadFormatToExtension(loadFormat) |
loadFormat: Number
- A loadFormatToSaveFormat | |
static function loadFormatToSaveFormat(loadFormat) |
loadFormat: Number
- A saveFormatToExtension | |
static function saveFormatToExtension(format) |
format: Number
- A saveFormatToLoadFormat | |
static function saveFormatToLoadFormat(saveFormat) |
saveFormat: Number
- A