]> git.lyx.org Git - lyx.git/blobdiff - src/converter.h
fix reading the author field.
[lyx.git] / src / converter.h
index b24f017e79d578c0b00d6ebd8aeea227a3cca781..3945dd5c3b1a7864a37a6fb706faaf2452a887aa 100644 (file)
@@ -13,6 +13,7 @@
 #define CONVERTER_H
 
 #include "graph.h"
+#include "outputparams.h"
 
 #include <vector>
 #include <string>
@@ -47,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
@@ -76,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);
@@ -98,7 +102,7 @@ public:
        ///
        Graph::EdgePath const getPath(std::string const & from, std::string const & to);
        ///
-       bool usePdflatex(Graph::EdgePath const & path);
+       OutputParams::FLAVOR getFlavor(Graph::EdgePath const & path);
        ///
        bool convert(Buffer const * buffer,
                     std::string const & from_file, std::string const & to_file_base,