+ /// Finds a format from a file extension. Returns string() if not found.
+ std::string getFormatFromExtension(std::string const & ext) 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.
+ **/
+ bool isZippedFile(support::FileName const & filename) const;
+ /// check for zipped file format
+ static bool isZippedFileFormat(std::string const & format);
+ /// check for PostScript file format
+ static bool isPostScriptFileFormat(std::string const & format);