Aspose::Cells::FileFormatUtil class
Contents
[
Hide
]FileFormatUtil class
Provides utility methods for converting file format enums to strings or file extensions and back.
class FileFormatUtil
Methods
Method | Description |
---|---|
static DetectFileFormat(const Vector <uint8_t>& stream) | Detects and returns the information about a format of an excel stored in a stream. |
static DetectFileFormat(const Vector <uint8_t>& stream, const U16String& password) | Detects and returns the information about a format of an excel stored in a stream. |
static DetectFileFormat(const Vector <uint8_t>& stream, const char16_t* password) | Detects and returns the information about a format of an excel stored in a stream. |
static DetectFileFormat(const U16String& filePath) | Detects and returns the information about a format of an excel stored in a file. |
static DetectFileFormat(const char16_t* filePath) | Detects and returns the information about a format of an excel stored in a file. |
static DetectFileFormat(const U16String& filePath, const U16String& password) | Detects and returns the information about a format of an excel stored in a file. |
static DetectFileFormat(const char16_t* filePath, const char16_t* password) | Detects and returns the information about a format of an excel stored in a file. |
static ExtensionToSaveFormat(const U16String& extension) | Converts a file name extension into a SaveFormat value. |
static ExtensionToSaveFormat(const char16_t* extension) | Converts a file name extension into a SaveFormat value. |
static FileFormatToSaveFormat(FileFormatType format) | Converting file format to save format. |
static IsTemplateFormat(const U16String& extension) | Returns true if the extension is .xlt, .xltX, .xltm,.ots. |
static IsTemplateFormat(const char16_t* extension) | Returns true if the extension is .xlt, .xltX, .xltm,.ots. |
static LoadFormatToExtension(LoadFormat loadFormat) | Converts a load format enumerated value into a file extension. |
static LoadFormatToSaveFormat(LoadFormat loadFormat) | Converts a LoadFormat value to a SaveFormat value if possible. |
static SaveFormatToExtension(SaveFormat format) | Converts a save format enumerated value into a file extension. |
static SaveFormatToLoadFormat(SaveFormat saveFormat) | Converts a SaveFormat value to a LoadFormat value if possible. |
static VerifyPassword(const Vector <uint8_t>& stream, const U16String& password) | Detects and returns the information about a format of an excel stored in a stream. |
static VerifyPassword(const Vector <uint8_t>& stream, const char16_t* password) | Detects and returns the information about a format of an excel stored in a stream. |
See Also
- Namespace Aspose::Cells
- Library Aspose.Cells for C++