products/Sources/formale Sprachen/C/Lyx/src image not shown  

Quellcode-Bibliothek

© Kompilation durch diese Firma

[Weder Korrektheit noch Funktionsfähigkeit der Software werden zugesichert.]

Datei: bufferparams.h   Sprache: C

Original von: Lyx©

// -*- C++ -*-
/* This file is part of
 * ======================================================
 * 
 *           LyX, The Document Processor
 *   
 *     Copyright (C) 1995 1996 Matthias Ettrich
 *           and the LyX Team.
 *
 *======================================================*/


#ifndef _BUFFERPARAMS_H
#define _BUFFERPARAMS_H

#ifdef __GNUG__
#pragma interface
#endif

#include "LString.h"
#include "lyxlex.h"
#include "vspace.h"
#include "Spacing.h"
#include "Bullet.h"
#include "insetquotes.h"

/**
  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; 
 ///
  signed char 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;
 ///
 signed char secnumdepth;
 ///
 signed char 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);
 ///
 virtual void readPreamble(LyXLex &);
 ///
 virtual void readLanguage(LyXLex &);
 ///
 virtual void readGraphicsDriver(LyXLex &);
 /// do we allow accents on all chars in this buffer
 bool allowAccents;
 ///
        bool use_amsmath;
protected:
private:
 ///
 friend class 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.16 Sekunden  (vorverarbeitet)  ¤





Download des
Quellennavigators
Download des
sprechenden Kalenders

in der Quellcodebibliothek suchen




Haftungshinweis

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.


Bot Zugriff