- /** Guess the file format name (as in Format::name()) from contents.
- Normally you don't want to use this directly, but rather
- Formats::getFormatFromFile().
- */
- std::string guessFormatFromContents() const;
-
- /// check for zipped file
- bool isZippedFile() const;
-
- /// check for zipped file
- bool isEncryptedFile() const;
- /// string which encypted LyX files starts
- static std::string encryptionGuessString();
- static std::string encryptionPrefix(int version, int keytype);
- /// get version from guessbytes
- int encryptionVersion() const;
- /// get method how the key is generated
- int encryptionKeytype() const;
-