mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
Commit the new parameter ForceLtR before Abdel moves things around again :-)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21261 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ca0fd16ef7
commit
50e5d51038
@ -614,6 +614,7 @@ enum InsetLayoutTags {
|
||||
IL_BGCOLOR,
|
||||
IL_DECORATION,
|
||||
IL_FREESPACING,
|
||||
IL_FORCELTR,
|
||||
IL_LABELFONT,
|
||||
IL_LABELSTRING,
|
||||
IL_LATEXNAME,
|
||||
@ -636,6 +637,7 @@ void TextClass::readInsetLayout(Lexer & lexrc, docstring const & name)
|
||||
{ "decoration", IL_DECORATION },
|
||||
{ "end", IL_END },
|
||||
{ "font", IL_FONT },
|
||||
{ "forceltr", IL_FORCELTR },
|
||||
{ "freespacing", IL_FREESPACING },
|
||||
{ "keepempty", IL_KEEPEMPTY },
|
||||
{ "labelfont", IL_LABELFONT },
|
||||
@ -667,6 +669,7 @@ void TextClass::readInsetLayout(Lexer & lexrc, docstring const & name)
|
||||
bool needprotect(false);
|
||||
bool keepempty(false);
|
||||
bool freespacing(false);
|
||||
bool forceltr(false);
|
||||
|
||||
bool getout = false;
|
||||
while (!getout && lexrc.isOK()) {
|
||||
@ -706,6 +709,10 @@ void TextClass::readInsetLayout(Lexer & lexrc, docstring const & name)
|
||||
labelfont = lyxRead(lexrc);
|
||||
labelfont.realize(defaultfont());
|
||||
break;
|
||||
case IL_FORCELTR:
|
||||
lexrc.next();
|
||||
forceltr = lexrc.getBool();
|
||||
break;
|
||||
case IL_MULTIPAR:
|
||||
lexrc.next();
|
||||
multipar = lexrc.getBool();
|
||||
@ -762,6 +769,7 @@ void TextClass::readInsetLayout(Lexer & lexrc, docstring const & name)
|
||||
il.passthru = passthru;
|
||||
il.needprotect = needprotect;
|
||||
il.freespacing = freespacing;
|
||||
il.forceltr = forceltr;
|
||||
il.keepempty = keepempty;
|
||||
il.font = font;
|
||||
il.labelfont = labelfont;
|
||||
|
@ -52,6 +52,7 @@ public:
|
||||
bool needprotect;
|
||||
bool freespacing;
|
||||
bool keepempty;
|
||||
bool forceltr;
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user