From a50233d64b28f6c32bf90b41a699192ee119dbaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Fri, 14 Mar 2003 10:39:47 +0000 Subject: [PATCH] new members for begin and end tags of environments whitespace git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6498 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 5 +++++ src/lyxlayout.h | 35 +++++------------------------------ 2 files changed, 10 insertions(+), 30 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index ae031cbce8..d3523f6c49 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ + +2003-03-14 André Pönitz + + * textclass.h: prepare for environment handling, ws changes + 2003-03-14 John Levon * text2.C: rewrite ::status() a bit diff --git a/src/lyxlayout.h b/src/lyxlayout.h index 1aafb4a114..079b79a853 100644 --- a/src/lyxlayout.h +++ b/src/lyxlayout.h @@ -92,74 +92,54 @@ public: /// Text that dictates how wide the left margin is on the screen string leftmargin; - /// Text that dictates how wide the right margin is on the screen string rightmargin; - /// Text that dictates how much space to leave after a potential label string labelsep; - /// Text that dictates how much space to leave before a potential label string labelindent; - - /** Text that dictates the width of the indentation of - indented paragraphs. - */ + /// Text that dictates the width of the indentation of indented pars string parindent; - /// float parskip; - /// float itemsep; - /// float topsep; - /// float bottomsep; - /// float labelbottomsep; - /// float parsep; - /// Spacing spacing; - /// LyXAlignment align; - /// LyXAlignment alignpossible; - /// char labeltype; // add approp. type - /// LYX_END_LABEL_TYPES endlabeltype; - /// LYX_MARGIN_TYPE margintype; - /// bool fill_top; - /// bool fill_bottom; - /// bool newline_allowed; - /// bool nextnoindent; - /// bool free_spacing; - /// bool pass_thru; + /// for new environment insets + string latexheader; + /// for new environment insets + string latexfooter; /** true when the fragile commands in the paragraph need to be \protect'ed. */ @@ -206,19 +186,14 @@ private: /// LaTeX name for environment string latexname_; - /// Label string. "Abstract", "Reference", "Caption"... string labelstring_; - /// string endlabelstring_; - /// Label string inside appendix. "Appendix", ... string labelstring_appendix_; - /// LaTeX parameter for environment string latexparam_; - /// Macro definitions needed for this layout string preamble_; };