]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
* do not ignore "requires" field in MathMacro
[lyx.git] / src / BufferParams.h
index 2ac436a7038f2af3260302eaaf02d4a7a120d129..5cb6501c8e15ff17d129b9e4d395dd3bcab6dcf9 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef BUFFERPARAMS_H
 #define BUFFERPARAMS_H
 
-#include "LyXTextClass.h"
+#include "TextClass.h"
 #include "paper.h"
 
 #include "insets/InsetQuotes.h"
@@ -60,6 +60,9 @@ public:
        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(Lexer & lex, std::string const & token);
 
@@ -97,10 +100,10 @@ public:
        ///
        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
@@ -187,7 +190,7 @@ public:
        ///
        unsigned int columns;
        ///
-       LyXTextClass::PageSides sides;
+       TextClass::PageSides sides;
        ///
        std::string pagestyle;
        /// \param index should lie in the range 0 <= \c index <= 3.