X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FConverter.h;h=942f33acd14939a4c2a13d981df647e39025d927;hb=9337d73f1f9a6d4dae2e239e9f679a7452660c40;hp=56b83a3063a65e0eda9cdcf5aaf43f667552f948;hpb=897436efbb9bd641b61467d185a2dfae9839e575;p=lyx.git diff --git a/src/Converter.h b/src/Converter.h index 56b83a3063..942f33acd1 100644 --- a/src/Converter.h +++ b/src/Converter.h @@ -55,8 +55,6 @@ public: 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 bool need_aux; /// If the converter put the result in a directory, then result_dir @@ -80,9 +78,7 @@ public: /// typedef ConverterList::const_iterator const_iterator; /// - Converter const & get(int i) const { - return converterlist_[i]; - } + Converter const & get(int i) const { return converterlist_[i]; } /// Converter const * getConverter(std::string const & from, std::string const & to) const; @@ -102,10 +98,15 @@ public: std::vector const getReachable(std::string const & from, bool only_viewable, bool clear_visited); + + std::vector importableFormats(); + + std::vector loaders() const; + /// 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); + Graph::EdgePath getPath(std::string const & from, std::string const & to); /// OutputParams::FLAVOR getFlavor(Graph::EdgePath const & path); /// Flags for converting files @@ -130,12 +131,9 @@ public: /// bool formatIsUsed(std::string const & format); /// - const_iterator begin() const { - return converterlist_.begin(); - } - const_iterator end() const { - return converterlist_.end(); - } + const_iterator begin() const { return converterlist_.begin(); } + /// + const_iterator end() const { return converterlist_.end(); } /// void buildGraph(); private: