mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-28 04:17:43 +00:00
44 lines
696 B
C
44 lines
696 B
C
|
// -*- 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
|
||
|
*
|
||
|
*======================================================
|
||
|
*/
|
||
|
|
||
|
#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
|
||
|
*/
|
||
|
ImportLaTeX(LString const & file);
|
||
|
|
||
|
/** Imports the document.
|
||
|
Return 0 if fail.
|
||
|
*/
|
||
|
Buffer * run();
|
||
|
private:
|
||
|
///
|
||
|
LString file;
|
||
|
};
|
||
|
|
||
|
#endif
|