// -*- C++ -*- /* This file is part of * ====================================================== * * LyX, The Document Processor * * Copyright (C) 1995 1996 Matthias Ettrich * and the LyX Team. *
*======================================================*/
/** This class contains all the parameters for this a buffer uses. Some work needs to be done on this class to make it nice. Now everything is in public.
*/ class BufferParams { public: //@Man: Constructors and Deconstructors //@{ ///
BufferParams(); // /// //BufferParams(const BufferParams&); //@}
/// Dummy destructor to shut up gcc virtual ~BufferParams() {}
/// void writeFile(FILE *);
/// void useClassDefaults();
///
VSpace getDefSkip() const { return defskip; }
/// void setDefSkip(VSpace vs) { defskip = vs; }
/** Wether paragraphs are separated by using a indent like in articles or by using a little skip like in letters.
*/ char paragraph_separation; // add approp. signedness ///
InsetQuotes::quote_language quotes_language; ///
InsetQuotes::quote_times quotes_times; ///
LString fontsize; /// signedchar textclass;
/* this are for the PaperLayout */ /// char papersize; /* the general papersize (papersize2 or paperpackage */ // add approp. signedness /// char papersize2; /* the selected Geometry papersize */ // add approp. signedness /// char paperpackage; /* a special paperpackage .sty-file */ // add approp. signedness /// char orientation; // add approp. signedness /// bool use_geometry; ///
LString paperwidth; ///
LString paperheight; ///
LString leftmargin; ///
LString topmargin; ///
LString rightmargin; ///
LString bottommargin; ///
LString headheight; ///
LString headsep; ///
LString footskip;
/* some LaTeX options */ /// The graphics driver
LString graphicsDriver; ///
LString fonts; ///
Spacing spacing; /// signedchar secnumdepth; /// signedchar tocdepth; ///
LString language; ///
LString inputenc; ///
LString preamble; ///
LString options; ///
LString float_placement; /// char columns; // add approp. signedness /// char sides; // add approp. signedness ///
LString pagestyle; ///
Bullet temp_bullets[4]; ///
Bullet user_defined_bullets[4]; /// void Copy(BufferParams const &p); /// virtualvoid readPreamble(LyXLex &); /// virtualvoid readLanguage(LyXLex &); /// virtualvoid readGraphicsDriver(LyXLex &); /// do we allow accents on all chars in this buffer bool allowAccents; /// bool use_amsmath; protected: private: /// friendclass Buffer; /** This is the amount of space used for paragraph_separation "skip",
and for detached paragraphs in "indented" documents. */
VSpace defskip;
};
#endif
¤ Dauer der Verarbeitung: 0.10 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.