filters
row.h
00001 /* 00002 ** 00003 ** Copyright (C) 2003 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_ROW_H__ 00022 #define __KSPREAD_LATEX_ROW_H__ 00023 00024 #include <qstring.h> 00025 00026 #include "config.h" 00027 #include "format.h" 00028 #include "xmlparser.h" 00029 00030 /***********************************************************************/ 00031 /* Class: Row */ 00032 /***********************************************************************/ 00033 00037 class Row: public Format 00038 { 00039 00040 /* USEFULL DATA */ 00041 long _row; 00042 double _height; 00043 00044 public: 00053 Row(); 00054 00055 /* 00056 * Destructor 00057 * 00058 * The destructor must remove the list of frames. 00059 */ 00060 00061 virtual ~Row(); 00062 00067 long getRow() const { return _row; } 00068 double getHeight() const { return _height; } 00069 00073 void setRow(int r) { _row = r; } 00074 void setHeight(double h) { _height = h; } 00075 00079 void analyse (const QDomNode); 00080 void generate (QTextStream&); 00081 00082 private: 00083 00084 }; 00085 00086 #endif /* __KSPREAD_LATEX_ROW_H__ */ 00087