aspose.words.FileFormatInfo class. Contains data returned by [FileFormatUtil](../fileformatutil/) document format detection methods... is_encrypted Returns True if the document is encrypted and requires...detect the document format and encryption. doc = aw . Document () #...