]> git.lyx.org Git - lyx.git/blobdiff - src/converter.h
Add GTK bibitem dialog
[lyx.git] / src / converter.h
index ce290766fce7975155932cc9959ab65fd65d4e8c..f5f66ed810eddb1c9caf77c99bf25ef01c6c34bc 100644 (file)
@@ -97,7 +97,7 @@ public:
        std::vector<Format const *> const
        getReachable(std::string const & from, bool only_viewable,
                     bool clear_visited);
-       ///
+       /// Does a conversion path from format \p from to format \p to exist?
        bool isReachable(std::string const & from, std::string const & to);
        ///
        Graph::EdgePath const getPath(std::string const & from, std::string const & to);
@@ -107,11 +107,12 @@ public:
        bool convert(Buffer const * buffer,
                     std::string const & from_file, std::string const & to_file_base,
                     std::string const & from_format, std::string const & to_format,
-                    std::string & to_file);
+                     std::string & to_file, bool try_default = false);
        ///
        bool convert(Buffer const * buffer,
                     std::string const & from_file, std::string const & to_file_base,
-                    std::string const & from_format, std::string const & to_format);
+                    std::string const & from_format, std::string const & to_format,
+                     bool try_default = false);
        ///
        void update(Formats const & formats);
        ///
@@ -141,7 +142,8 @@ private:
        ConverterList converterlist_;
        ///
        std::string latex_command_;
-       ///
+       /// If \p from = /path/file.ext and \p to = /path2/file2.ext2 then
+       /// this method moves each /path/file*.ext file to /path2/file2*.ext2
        bool move(std::string const & fmt,
                  std::string const & from, std::string const & to,
                  bool copy);