Aspose::Cells::FileFormatUtil::DetectFileFormat method

FileFormatUtil::DetectFileFormat(const Vector <uint8_t>&) method

Detects and returns the information about a format of an excel stored in a stream.

static FileFormatInfo Aspose::Cells::FileFormatUtil::DetectFileFormat(const Vector<uint8_t> &stream)
ParameterTypeDescription
streamconst Vector <uint8_t>&

ReturnValue

A FileFormatInfo object that contains the detected information.

See Also

FileFormatUtil::DetectFileFormat(const Vector <uint8_t>&, const U16String&) method

Detects and returns the information about a format of an excel stored in a stream.

static FileFormatInfo Aspose::Cells::FileFormatUtil::DetectFileFormat(const Vector<uint8_t> &stream, const U16String &password)
ParameterTypeDescription
streamconst Vector <uint8_t>&
passwordconst U16String&The password for encrypted ooxml files.

ReturnValue

A FileFormatInfo object that contains the detected information.

See Also

FileFormatUtil::DetectFileFormat(const Vector <uint8_t>&, const char16_t*) method

Detects and returns the information about a format of an excel stored in a stream.

static FileFormatInfo Aspose::Cells::FileFormatUtil::DetectFileFormat(const Vector<uint8_t> &stream, const char16_t *password)
ParameterTypeDescription
streamconst Vector <uint8_t>&
passwordconst char16_t*The password for encrypted ooxml files.

ReturnValue

A FileFormatInfo object that contains the detected information.

See Also

FileFormatUtil::DetectFileFormat(const U16String&) method

Detects and returns the information about a format of an excel stored in a file.

static FileFormatInfo Aspose::Cells::FileFormatUtil::DetectFileFormat(const U16String &filePath)
ParameterTypeDescription
filePathconst U16String&The file path.

ReturnValue

A FileFormatInfo object that contains the detected information.

Remarks

Only supports checking some files with magic signature. If there is no magic signature, we can not precisely detect the file format.

See Also

FileFormatUtil::DetectFileFormat(const char16_t*) method

Detects and returns the information about a format of an excel stored in a file.

static FileFormatInfo Aspose::Cells::FileFormatUtil::DetectFileFormat(const char16_t *filePath)
ParameterTypeDescription
filePathconst char16_t*The file path.

ReturnValue

A FileFormatInfo object that contains the detected information.

Remarks

Only supports checking some files with magic signature. If there is no magic signature, we can not precisely detect the file format.

See Also

FileFormatUtil::DetectFileFormat(const U16String&, const U16String&) method

Detects and returns the information about a format of an excel stored in a file.

static FileFormatInfo Aspose::Cells::FileFormatUtil::DetectFileFormat(const U16String &filePath, const U16String &password)
ParameterTypeDescription
filePathconst U16String&The file path.
passwordconst U16String&The password for encrypted ooxml files.

ReturnValue

A FileFormatInfo object that contains the detected information.

Remarks

Only supports checking some files with magic signature. If there is no magic signature, we can not precisely detect the file format.

See Also

FileFormatUtil::DetectFileFormat(const char16_t*, const char16_t*) method

Detects and returns the information about a format of an excel stored in a file.

static FileFormatInfo Aspose::Cells::FileFormatUtil::DetectFileFormat(const char16_t *filePath, const char16_t *password)
ParameterTypeDescription
filePathconst char16_t*The file path.
passwordconst char16_t*The password for encrypted ooxml files.

ReturnValue

A FileFormatInfo object that contains the detected information.

Remarks

Only supports checking some files with magic signature. If there is no magic signature, we can not precisely detect the file format.

See Also