]> git.lyx.org Git - features.git/commitdiff
Remove unused code related to InsetEnvironment experiment.
authorRichard Heck <rgheck@comcast.net>
Mon, 6 Oct 2008 04:23:26 +0000 (04:23 +0000)
committerRichard Heck <rgheck@comcast.net>
Mon, 6 Oct 2008 04:23:26 +0000 (04:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26768 a592a061-630c-0410-9148-cb99ea01b6c8

lib/layouts/stdlists.inc
src/Layout.cpp
src/Layout.h

index 5c4b3d6fcda7c3a0130ea04a9486967f45101e02..3cf546f1bc80bff7b5c56edae445b949bda40bef 100644 (file)
@@ -96,43 +96,3 @@ Style List
                        {\end{list}}
        EndPreamble
 End
-
-
-#
-# New environments (not active yet)
-#
-#Environment Itemize
-#       LaTeXHeader "\begin{itemize}"
-#       LaTeXFooter "\end{itemize}"
-#  LabelString          "*"
-#  Margin               Static
-#  LatexType            Item_Environment
-#  NextNoIndent         1
-#  LeftMargin           MMN
-#  LabelSep             xx
-#  ItemSep              0.2
-#  TopSep               0.7
-#  BottomSep            0.7
-#  ParSep               0.3
-#  Align                Block
-#  AlignPossible        Block, Left
-#  LabelType            Static
-#End
-
-#Environment Enumerate
-#  Margin               Static
-#  LatexType            Item_Environment
-#  LatexName            enumerate
-#  NextNoIndent         1
-#  LeftMargin           MMN
-#  LabelSep             xx
-#  ParSkip              0.0
-#  ItemSep              0.2
-#  TopSep               0.7
-#  BottomSep            0.7
-#  ParSep               0.3
-#  Align                Block
-#  AlignPossible        Block, Left
-#  LabelType            Enumerate
-#End
-
index 033f5f978c4ccbd516a89320eed5f43da3bba73a..74ff2ff8a19e168bfc4a65538fcd39b349a75ce1 100644 (file)
@@ -68,9 +68,6 @@ enum LayoutTags {
        LT_LATEXPARAM,
        LT_OPTARGS,
        LT_LATEXTYPE,
-       LT_LATEXHEADER,
-       LT_LATEXFOOTER,
-       LT_LATEXPARAGRAPH,
        LT_LEFTMARGIN,
        LT_NEED_PROTECT,
        LT_NEWLINE,
@@ -161,10 +158,7 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
                { "labelstringappendix", LT_LABELSTRING_APPENDIX },
                { "labeltag",       LT_LABELTAG },
                { "labeltype",      LT_LABELTYPE },
-               { "latexfooter",    LT_LATEXFOOTER },
-               { "latexheader",    LT_LATEXHEADER },
                { "latexname",      LT_LATEXNAME },
-               { "latexparagraph", LT_LATEXPARAGRAPH },
                { "latexparam",     LT_LATEXPARAM },
                { "latextype",      LT_LATEXTYPE },
                { "leftmargin",     LT_LEFTMARGIN },
@@ -269,18 +263,6 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
                        readLatexType(lex);
                        break;
 
-               case LT_LATEXHEADER:    // header for environments
-                       lex >> latexheader;
-                       break;
-
-               case LT_LATEXFOOTER:    // footer for environments
-                       lex >> latexfooter;
-                       break;
-
-               case LT_LATEXPARAGRAPH:
-                       lex >> latexparagraph;
-                       break;
-
                case LT_INTITLE:
                        lex >> intitle;
                        break;
index 5fb887302e703008ffc408c928a69c0b5188595e..7bfe1bb0f9271e4914be8b7640412da68b428e74 100644 (file)
@@ -206,12 +206,6 @@ public:
        int toclevel;
        /// special value of toclevel for non-section layouts
        static const int NOT_IN_TOC;
-       /// for new environment insets
-       std::string latexheader;
-       /// for new environment insets
-       std::string latexfooter;
-       /// for new environment insets
-       std::string latexparagraph;
 
        /** true when the fragile commands in the paragraph need to be
            \protect'ed. */