OdfDocumentType, or OdfDocumentType.NONE if the
extension is not recognized.
Attempts to detect the document type from a file extension.
The extension is matched case-insensitively without the leading dot.
ext | The file extension (with or without leading dot). |
OdfDocumentType, or OdfDocumentType.NONE if the
extension is not recognized.