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
This commit is contained in:
André Pönitz 2003-03-14 10:39:47 +00:00
parent 9d693fbf05
commit a50233d64b
2 changed files with 10 additions and 30 deletions

View File

@ -1,3 +1,8 @@
2003-03-14 André Pönitz <poenitz@gmx.net>
* textclass.h: prepare for environment handling, ws changes
2003-03-14 John Levon <levon@movementarian.org> 2003-03-14 John Levon <levon@movementarian.org>
* text2.C: rewrite ::status() a bit * text2.C: rewrite ::status() a bit

View File

@ -92,74 +92,54 @@ public:
/// Text that dictates how wide the left margin is on the screen /// Text that dictates how wide the left margin is on the screen
string leftmargin; string leftmargin;
/// Text that dictates how wide the right margin is on the screen /// Text that dictates how wide the right margin is on the screen
string rightmargin; string rightmargin;
/// Text that dictates how much space to leave after a potential label /// Text that dictates how much space to leave after a potential label
string labelsep; string labelsep;
/// Text that dictates how much space to leave before a potential label /// Text that dictates how much space to leave before a potential label
string labelindent; string labelindent;
/// Text that dictates the width of the indentation of indented pars
/** Text that dictates the width of the indentation of
indented paragraphs.
*/
string parindent; string parindent;
/// ///
float parskip; float parskip;
/// ///
float itemsep; float itemsep;
/// ///
float topsep; float topsep;
/// ///
float bottomsep; float bottomsep;
/// ///
float labelbottomsep; float labelbottomsep;
/// ///
float parsep; float parsep;
/// ///
Spacing spacing; Spacing spacing;
/// ///
LyXAlignment align; LyXAlignment align;
/// ///
LyXAlignment alignpossible; LyXAlignment alignpossible;
/// ///
char labeltype; // add approp. type char labeltype; // add approp. type
/// ///
LYX_END_LABEL_TYPES endlabeltype; LYX_END_LABEL_TYPES endlabeltype;
/// ///
LYX_MARGIN_TYPE margintype; LYX_MARGIN_TYPE margintype;
/// ///
bool fill_top; bool fill_top;
/// ///
bool fill_bottom; bool fill_bottom;
/// ///
bool newline_allowed; bool newline_allowed;
/// ///
bool nextnoindent; bool nextnoindent;
/// ///
bool free_spacing; bool free_spacing;
/// ///
bool pass_thru; 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 /** true when the fragile commands in the paragraph need to be
\protect'ed. */ \protect'ed. */
@ -206,19 +186,14 @@ private:
/// LaTeX name for environment /// LaTeX name for environment
string latexname_; string latexname_;
/// Label string. "Abstract", "Reference", "Caption"... /// Label string. "Abstract", "Reference", "Caption"...
string labelstring_; string labelstring_;
/// ///
string endlabelstring_; string endlabelstring_;
/// Label string inside appendix. "Appendix", ... /// Label string inside appendix. "Appendix", ...
string labelstring_appendix_; string labelstring_appendix_;
/// LaTeX parameter for environment /// LaTeX parameter for environment
string latexparam_; string latexparam_;
/// Macro definitions needed for this layout /// Macro definitions needed for this layout
string preamble_; string preamble_;
}; };