]> git.lyx.org Git - lyx.git/blobdiff - src/Converter.h
Update RELEASE-NOTES
[lyx.git] / src / Converter.h
index 6e09352acc0d057c3dff73f800ca0ec907849777..3429ce7154d2322c206bf034b8c238dc1eba685e 100644 (file)
@@ -16,6 +16,7 @@
 #include "OutputParams.h"
 
 #include <vector>
+#include <set>
 #include <string>
 
 
@@ -59,6 +60,8 @@ public:
        bool xml;
        /// This converter needs the .aux files
        bool need_aux;
+       /// we need a "nice" file from the backend, c.f. OutputParams.nice.
+       bool nice;
        /// If the converter put the result in a directory, then result_dir
        /// is the name of the directory
        std::string result_dir;
@@ -77,8 +80,6 @@ public:
        typedef std::vector<Converter> ConverterList;
        ///
        typedef ConverterList::const_iterator const_iterator;
-       ///
-       typedef std::vector<std::string> FormatList;
 
        ///
        Converter const & get(int i) const { return converterlist_[i]; }
@@ -93,15 +94,13 @@ public:
        //
        void erase(std::string const & from, std::string const & to);
        ///
-       void sort();
-       ///
        std::vector<Format const *> const
        getReachableTo(std::string const & target, bool clear_visited);
        ///
        std::vector<Format const *> const
        getReachable(std::string const & from, bool only_viewable,
               bool clear_visited,
-              std::vector<std::string> const & excludes = std::vector<std::string>());
+              std::set<std::string> const & excludes = std::set<std::string>());
 
        std::vector<Format const *> importableFormats();
        std::vector<Format const *> exportableFormats(bool only_viewable);
@@ -114,7 +113,8 @@ public:
        ///
        Graph::EdgePath getPath(std::string const & from, std::string const & to);
        ///
-       OutputParams::FLAVOR getFlavor(Graph::EdgePath const & path);
+       OutputParams::FLAVOR getFlavor(Graph::EdgePath const & path,
+                                      Buffer const * buffer = 0);
        /// Flags for converting files
        enum ConversionFlags {
                /// No special flags
@@ -157,6 +157,12 @@ private:
        ///
        std::string latex_command_;
        ///
+       std::string dvilualatex_command_;
+       ///
+       std::string lualatex_command_;
+       ///
+       std::string pdflatex_command_;
+       ///
        std::string xelatex_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