filters

column.h

00001 /*
00002 **
00003 ** Copyright (C) 2002 Robert JACOLIN
00004 **
00005 ** This library is free software; you can redistribute it and/or
00006 ** modify it under the terms of the GNU Library General Public
00007 ** License as published by the Free Software Foundation; either
00008 ** version 2 of the License, or (at your option) any later version.
00009 **
00010 ** This library is distributed in the hope that it will be useful,
00011 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00012 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013 ** Library General Public License for more details.
00014 **
00015 ** To receive a copy of the GNU Library General Public License, write to the
00016 ** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00017  * Boston, MA 02110-1301, USA.
00018 **
00019 */
00020 
00021 #ifndef __KSPREAD_LATEX_COLUMN_H__
00022 #define __KSPREAD_LATEX_COLUMN_H__
00023 
00024 #include <qstring.h>
00025 
00026 #include "config.h"
00027 #include "format.h"
00028 #include "xmlparser.h"
00029 
00030 /***********************************************************************/
00031 /* Class: Column                                                       */
00032 /***********************************************************************/
00033 
00037 class Column: public Format
00038 {
00039     
00040     /* USEFULL DATA */
00041     long _col;
00042     double _width;
00043 
00044     public:
00053         Column();
00054 
00055         /* 
00056          * Destructor
00057          *
00058          * The destructor must remove the list of frames.
00059          */
00060 
00061         virtual ~Column();
00062 
00067         long   getCol() const { return _col; }
00068         double getWidth() const { return _width; }
00069 
00073         void setCol(int c) { _col = c; }
00074         void setWidth(double w) { _width = w; }
00075     
00079         void     analyse (const QDomNode);
00080         void     generate  (QTextStream&);
00081 
00082     private:
00083 
00084 };
00085 
00086 #endif /* __KSPREAD_LATEX_COLUMN_H__ */
00087 
KDE Home | KDE Accessibility Home | Description of Access Keys