2000-10-23 12:16:05 +00:00
|
|
|
// -*- C++ -*-
|
2002-05-30 03:37:24 +00:00
|
|
|
/**
|
|
|
|
* \file importer.h
|
2003-08-23 00:17:00 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-03-21 17:27:08 +00:00
|
|
|
*
|
2002-05-30 03:37:24 +00:00
|
|
|
* \author unknown
|
2003-08-23 00:17:00 +00:00
|
|
|
* \author Jean-Marc Lasgouttes
|
|
|
|
* \author John Levon
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2002-05-30 03:37:24 +00:00
|
|
|
*/
|
2000-10-23 12:16:05 +00:00
|
|
|
|
|
|
|
#ifndef IMPORTER_H
|
|
|
|
#define IMPORTER_H
|
|
|
|
|
2003-10-07 06:45:25 +00:00
|
|
|
#include <string>
|
2000-11-13 10:35:02 +00:00
|
|
|
#include <vector>
|
2003-10-06 15:43:21 +00:00
|
|
|
|
2000-10-23 12:16:05 +00:00
|
|
|
|
|
|
|
class LyXView;
|
2006-08-13 16:16:43 +00:00
|
|
|
class ErrorList;
|
2000-11-13 10:35:02 +00:00
|
|
|
class Format;
|
2000-10-23 12:16:05 +00:00
|
|
|
|
|
|
|
class Importer {
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
static
|
2003-10-06 15:43:21 +00:00
|
|
|
bool Import(LyXView * lv, std::string const & filename,
|
2006-08-13 16:16:43 +00:00
|
|
|
std::string const & format, ErrorList & errorList);
|
2002-05-30 03:37:24 +00:00
|
|
|
|
2000-11-13 10:35:02 +00:00
|
|
|
///
|
|
|
|
static
|
|
|
|
std::vector<Format const *> const GetImportableFormats();
|
|
|
|
private:
|
|
|
|
///
|
|
|
|
static
|
2003-10-06 15:43:21 +00:00
|
|
|
std::vector<std::string> const Loaders();
|
2000-10-23 12:16:05 +00:00
|
|
|
};
|
|
|
|
#endif
|