2003-07-26 00:17:21 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
2007-04-26 04:41:58 +00:00
|
|
|
* \file tex2lyx/LyXFont.h
|
2003-07-26 00:17:21 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
2003-08-19 10:04:35 +00:00
|
|
|
* \author Angus Leeming
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-08-19 10:04:35 +00:00
|
|
|
*
|
|
|
|
* This class is just a dummy version of that in the main LyX source tree
|
|
|
|
* to enable tex2lyx to use LyX's textclass classes and not have to
|
|
|
|
* re-invent the wheel.
|
2003-07-26 00:17:21 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LYXFONT_H
|
|
|
|
#define LYXFONT_H
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
namespace lyx {
|
|
|
|
|
2007-04-26 11:30:54 +00:00
|
|
|
class Lexer;
|
2003-07-26 00:17:21 +00:00
|
|
|
|
|
|
|
class LyXFont {
|
|
|
|
public:
|
|
|
|
/// Trick to overload constructor and make it megafast
|
|
|
|
enum FONT_INIT1 { ALL_INHERIT };
|
|
|
|
enum FONT_INIT3 { ALL_SANE };
|
|
|
|
|
|
|
|
LyXFont() {}
|
|
|
|
explicit LyXFont(LyXFont::FONT_INIT1) {}
|
|
|
|
explicit LyXFont(LyXFont::FONT_INIT3) {}
|
|
|
|
|
2007-04-26 11:30:54 +00:00
|
|
|
LyXFont & lyxRead(Lexer &);
|
2003-07-26 00:17:21 +00:00
|
|
|
|
|
|
|
LyXFont & realize(LyXFont const &) { return *this; }
|
|
|
|
bool resolved() const { return true; }
|
|
|
|
};
|
|
|
|
|
2006-10-21 00:16:43 +00:00
|
|
|
|
|
|
|
} // namespace lyx
|
|
|
|
|
2003-07-26 00:17:21 +00:00
|
|
|
#endif // NOT LYXFONT_H
|