]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.cpp
LogUi.ui: string redundancy.
[lyx.git] / src / Layout.cpp
index 7b7bc52670a366c066d644791892474290eb14e2..32f565297ee9a8ee4fd0354c2b12560374fc6e01 100644 (file)
@@ -98,6 +98,7 @@ enum LayoutTags {
        LT_HTMLITEMATTR,
        LT_HTMLLABEL,
        LT_HTMLLABELATTR, 
+       LT_HTMLLABELFIRST,
        LT_HTMLPREAMBLE,
        LT_HTMLSTYLE,
        LT_INTITLE // keep this last!
@@ -138,6 +139,7 @@ Layout::Layout()
        pass_thru = false;
        toclevel = NOT_IN_TOC;
        commanddepth = 0;
+       htmllabelfirst_ = false;
 }
 
 
@@ -165,6 +167,7 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
                { "htmlitemattr",   LT_HTMLITEMATTR },
                { "htmllabel",      LT_HTMLLABEL },
                { "htmllabelattr",  LT_HTMLLABELATTR },
+               { "htmllabelfirst", LT_HTMLLABELFIRST },
                { "htmlpremable",   LT_HTMLPREAMBLE },
                { "htmlstyle",      LT_HTMLSTYLE },
                { "htmltag",        LT_HTMLTAG },
@@ -503,6 +506,10 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
                        lex >> htmllabelattr_;
                        break;
 
+               case LT_HTMLLABELFIRST:
+                       lex >> htmllabelfirst_;
+                       break;
+                       
                case LT_HTMLSTYLE:
                        htmlstyle_ = from_utf8(lex.getLongString("EndHTMLStyle"));
                        break;