#define LYXTEXTCLASS_H
#include "ColorCode.h"
-#include "Font.h"
+#include "FontInfo.h"
#include "LayoutEnums.h"
#include "LayoutPtr.h"
std::string latextype;
std::string latexname;
std::string latexparam;
- Font font;
- Font labelfont;
+ FontInfo font;
+ FontInfo labelfont;
ColorCode bgcolor;
std::string preamble;
bool multipar;
bool needprotect;
bool freespacing;
bool keepempty;
+ bool forceltr;
};
OutputType outputType() const;
///
- Font const & defaultfont() const;
+ FontInfo const & defaultfont() const;
/// Text that dictates how wide the left margin is on the screen
docstring const & leftmargin() const;
OutputType outputType_;
/** Base font. The paragraph and layout fonts are resolved against
this font. This has to be fully instantiated. Attributes
- Font::INHERIT, Font::IGNORE, and Font::TOGGLE are
+ FONT_INHERIT, FONT_IGNORE, and FONT_TOGGLE are
extremely illegal.
*/
- Font defaultfont_;
+ FontInfo defaultfont_;
/// Text that dictates how wide the left margin is on the screen
docstring leftmargin_;