]> git.lyx.org Git - lyx.git/blobdiff - src/Converter.h
Skip all drawing with NoScreenUpdate strategy
[lyx.git] / src / Converter.h
index 42c6e77dd9dff76d4f42e73057b0e9232daadd99..082b2d358a97ba821c2f25f5f3a8a4708e71a258 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "Graph.h"
 #include "OutputParams.h"
+#include "support/trivstring.h"
 
 #include <vector>
 #include <set>
@@ -28,7 +29,6 @@ class Buffer;
 class ErrorList;
 class Format;
 class Formats;
-class OutputParams;
 
 
 ///
@@ -40,15 +40,15 @@ public:
        ///
        void readFlags();
        ///
-       std::string const from() const { return from_; }
+       std::string const from() const { return from_; }
        ///
-       std::string const to() const { return to_; }
+       std::string const to() const { return to_; }
        ///
-       std::string const command() const { return command_; }
+       std::string const command() const { return command_; }
        ///
        void setCommand(std::string const & command) { command_ = command; }
        ///
-       std::string const flags() const { return flags_; }
+       std::string const flags() const { return flags_; }
        ///
        void setFlags(std::string const & flags) { flags_ = flags; }
        ///
@@ -62,7 +62,7 @@ public:
        ///
        bool latex() const { return latex_; }
        ///
-       std::string const latex_flavor() const { return latex_flavor_; }
+       std::string const latex_flavor() const { return latex_flavor_; }
        ///
        bool xml() const { return xml_; }
        ///
@@ -70,20 +70,20 @@ public:
        ///
        bool nice() const { return nice_; }
        ///
-       std::string const result_dir() const { return result_dir_; }
+       std::string const result_dir() const { return result_dir_; }
        ///
-       std::string const result_file() const { return result_file_; }
+       std::string const result_file() const { return result_file_; }
        ///
-       std::string const parselog() const { return parselog_; }
+       std::string const parselog() const { return parselog_; }
 private:
        ///
-       std::string from_;
+       trivstring from_;
        ///
-       std::string to_;
+       trivstring to_;
        ///
-       std::string command_;
+       trivstring command_;
        ///
-       std::string flags_;
+       trivstring flags_;
        ///
        Format const * From_;
        ///
@@ -92,7 +92,7 @@ private:
        /// The converter is latex or its derivatives
        bool latex_;
        /// The latex derivate
-       std::string latex_flavor_;
+       trivstring latex_flavor_;
        /// The converter is xml
        bool xml_;
        /// This converter needs the .aux files
@@ -101,12 +101,12 @@ private:
        bool nice_;
        /// If the converter put the result in a directory, then result_dir
        /// is the name of the directory
-       std::string result_dir_;
+       trivstring result_dir_;
        /// If the converter put the result in a directory, then result_file
        /// is the name of the main file in that directory
-       std::string result_file_;
+       trivstring result_file_;
        /// Command to convert the program output to a LaTeX log file format
-       std::string parselog_;
+       trivstring parselog_;
 };
 
 
@@ -192,15 +192,15 @@ private:
        ///
        ConverterList converterlist_;
        ///
-       std::string latex_command_;
+       trivstring latex_command_;
        ///
-       std::string dvilualatex_command_;
+       trivstring dvilualatex_command_;
        ///
-       std::string lualatex_command_;
+       trivstring lualatex_command_;
        ///
-       std::string pdflatex_command_;
+       trivstring pdflatex_command_;
        ///
-       std::string xelatex_command_;
+       trivstring 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
        bool move(std::string const & fmt,