filters
pen.cc
00001 /* 00002 ** A program to convert the XML rendered by KSpread into LATEX. 00003 ** 00004 ** Copyright (C) 2003 Robert JACOLIN 00005 ** 00006 ** This library is free software; you can redistribute it and/or 00007 ** modify it under the terms of the GNU Library General Public 00008 ** License as published by the Free Software Foundation; either 00009 ** version 2 of the License, or (at your option) any later version. 00010 ** 00011 ** This library is distributed in the hope that it will be useful, 00012 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 ** Library General Public License for more details. 00015 ** 00016 ** To receive a copy of the GNU Library General Public License, write to the 00017 ** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 * Boston, MA 02110-1301, USA. 00019 ** 00020 */ 00021 00022 #include <stdlib.h> 00023 00024 #include <kdebug.h> 00025 00026 //#include "fileheader.h" /* for the use of _header (color and underlined) */ 00027 #include "pen.h" 00028 00029 Pen::Pen() 00030 { 00031 } 00032 00033 /* Get the set of info. about a text format */ 00034 void Pen::analyse(const QDomNode balise) 00035 { 00036 /* <pen width="0" style="1" color="#000000" /> */ 00037 setWidth(getAttr(balise, "width").toDouble()); 00038 setStyle(getAttr(balise, "style").toInt()); 00039 setColor(getAttr(balise, "color")); 00040 } 00041 00042 void Pen::generate(QTextStream&) 00043 { 00044 00045 }