]> git.lyx.org Git - lyx.git/blobdiff - src/converter.h
Fix #1736
[lyx.git] / src / converter.h
index 801b4c3cbf542a2545324cd383974dfe110ee740..ce290766fce7975155932cc9959ab65fd65d4e8c 100644 (file)
@@ -48,6 +48,8 @@ public:
 
        /// The converter is latex or its derivatives
        bool latex;
+       /// The converter is xml
+       bool xml;
        /// Do we need to run the converter in the original directory?
        bool original_dir;
        /// This converter needs the .aux files
@@ -77,9 +79,10 @@ public:
                return converterlist_[i];
        }
        ///
-       Converter const * getConverter(std::string const & from, std::string const & to);
+       Converter const * getConverter(std::string const & from,
+                                      std::string const & to) const;
        ///
-       int getNumber(std::string const & from, std::string const & to);
+       int getNumber(std::string const & from, std::string const & to) const;
        ///
        void add(std::string const & from, std::string const & to,
                 std::string const & command, std::string const & flags);
@@ -139,7 +142,9 @@ private:
        ///
        std::string latex_command_;
        ///
-       bool move(std::string const & from, std::string const & to, bool copy);
+       bool move(std::string const & fmt,
+                 std::string const & from, std::string const & to,
+                 bool copy);
        ///
        Graph G_;
 };