#ifndef BUFFERPARAMS_H
#define BUFFERPARAMS_H
-#include "LyXTextClass.h"
+#include "TextClass.h"
#include "paper.h"
#include "insets/InsetQuotes.h"
class BranchList;
class Bullet;
class Encoding;
-class LyXLex;
+class Lexer;
class LatexFeatures;
class Spacing;
class TexRow;
BufferParams();
~BufferParams();
+ /// get l10n translated to the buffers language
+ docstring const B_(std::string const & l10n) const;
+
/// read a header token, if unrecognised, return it or an unknown class name
- std::string const readToken(LyXLex & lex, std::string const & token);
+ std::string const readToken(Lexer & lex, std::string const & token);
///
void writeFile(std::ostream &) const;
///
textclass_type textclass;
///
- LyXTextClass const & getLyXTextClass() const;
+ TextClass const & getTextClass() const;
/// returns the main font for the buffer (document)
- LyXFont const getFont() const;
+ Font const getFont() const;
/* this are for the PaperLayout */
/// the papersize
///
unsigned int columns;
///
- LyXTextClass::PageSides sides;
+ TextClass::PageSides sides;
///
std::string pagestyle;
/// \param index should lie in the range 0 <= \c index <= 3.
Bullet & user_defined_bullet(size_type index);
Bullet const & user_defined_bullet(size_type index) const;
///
- void readPreamble(LyXLex &);
+ void readPreamble(Lexer &);
///
- void readLanguage(LyXLex &);
+ void readLanguage(Lexer &);
///
- void readGraphicsDriver(LyXLex &);
+ void readGraphicsDriver(Lexer &);
///
- void readBullets(LyXLex &);
+ void readBullets(Lexer &);
///
- void readBulletsLaTeX(LyXLex &);
+ void readBulletsLaTeX(Lexer &);
/// Whether to load a package such as amsmath or esint.
/// The enum values must not be changed (file format!)