1999-09-27 18:44:28 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright (C) 1995-1998 The LyX Team.
|
|
|
|
*
|
|
|
|
* This file is Copyright (C) 1998
|
|
|
|
* Asger Alstrup
|
|
|
|
*
|
1999-11-15 12:01:38 +00:00
|
|
|
* ======================================================
|
1999-09-27 18:44:28 +00:00
|
|
|
*/
|
|
|
|
|
1999-11-15 12:01:38 +00:00
|
|
|
#ifndef IMPORTLATEX_H
|
|
|
|
#define IMPORTLATEX_H
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "LString.h"
|
|
|
|
|
|
|
|
class Buffer;
|
|
|
|
|
|
|
|
///
|
|
|
|
class ImportLaTeX {
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
file = name and path of the latex file
|
|
|
|
*/
|
1999-10-02 16:21:10 +00:00
|
|
|
ImportLaTeX(string const & file);
|
1999-09-27 18:44:28 +00:00
|
|
|
|
|
|
|
/** Imports the document.
|
|
|
|
Return 0 if fail.
|
|
|
|
*/
|
|
|
|
Buffer * run();
|
|
|
|
private:
|
|
|
|
///
|
1999-10-02 16:21:10 +00:00
|
|
|
string file;
|
1999-09-27 18:44:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|