mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 04:17:43 +00:00
76938908d7
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@641 a592a061-630c-0410-9148-cb99ea01b6c8
44 lines
694 B
C++
44 lines
694 B
C++
// -*- C++ -*-
|
|
/* This file is part of
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 1995-2000 The LyX Team.
|
|
*
|
|
* This file is Copyright 1998
|
|
* Asger Alstrup
|
|
*
|
|
* ======================================================
|
|
*/
|
|
|
|
#ifndef IMPORTLATEX_H
|
|
#define IMPORTLATEX_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "LString.h"
|
|
|
|
class Buffer;
|
|
|
|
///
|
|
class ImportLaTeX {
|
|
public:
|
|
/**
|
|
file = name and path of the latex file
|
|
*/
|
|
explicit ImportLaTeX(string const & file);
|
|
|
|
/** Imports the document.
|
|
Return 0 if fail.
|
|
*/
|
|
Buffer * run();
|
|
private:
|
|
///
|
|
string file;
|
|
};
|
|
|
|
#endif
|