- vector<string> const backs = backends();
- vector<Format const *> result =
- theConverters().getReachable(backs[0], only_viewable, true);
- for (vector<string>::const_iterator it = backs.begin() + 1;
- it != backs.end(); ++it) {
- vector<Format const *> r =
- theConverters().getReachable(*it, only_viewable, false);
- result.insert(result.end(), r.begin(), r.end());
- }
- return result;
-}
-
-
-vector<string> Buffer::backends() const
-{
- vector<string> v;
- v.push_back(bufferFormat());
- // FIXME: Don't hardcode format names here, but use a flag
- if (v.back() == "latex")
- v.push_back("pdflatex");
- v.push_back("xhtml");
- v.push_back("text");
- v.push_back("lyx");
- return v;
-}
-
-
-Buffer::ReadStatus Buffer::extractFromVC(FileName const & fn)
-{
- bool const found = LyXVC::file_not_found_hook(fn);