]> git.lyx.org Git - lyx.git/blobdiff - src/Format.h
tex2lyx/text.cpp: fix 2 typos
[lyx.git] / src / Format.h
index e9ac7a47a9f94a63018af35d61ff5771d6c6e076..12e14f9e15b04299d4e0efa3839bd2202f47d2cf 100644 (file)
@@ -141,6 +141,8 @@ public:
        std::string getFormatFromFile(support::FileName const & filename) const;
        /// Finds a format from a file extension. Returns string() if not found.
        std::string getFormatFromExtension(std::string const & ext) const;
+       /// Finds a format by pretty name. Returns string() if not found.
+       std::string getFormatFromPrettyName(std::string const & prettyname) const;
        /** Returns true if the file referenced by \p filename is zipped and
         ** needs to be unzipped for being handled
         ** @note For natively zipped formats, such as dia/odg, this returns false.