filters

pen.cpp
1/*
2** A program to convert the XML rendered by KSpread into LATEX.
3**
4** Copyright (C) 2003 Robert JACOLIN
5**
6** This library is free software; you can redistribute it and/or
7** modify it under the terms of the GNU Library General Public
8** License as published by the Free Software Foundation; either
9** version 2 of the License, or (at your option) any later version.
10**
11** This library is distributed in the hope that it will be useful,
12** but WITHOUT ANY WARRANTY; without even the implied warranty of
13** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14** Library General Public License for more details.
15**
16** To receive a copy of the GNU Library General Public License, write to the
17** Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
19**
20*/
21
22#include <stdlib.h>
23
24#include <kdebug.h>
25
26//#include "fileheader.h" /* for the use of _header (color and underlined) */
27#include "pen.h"
28
30{
31}
32
33/* Get the set of info. about a text format */
34void Pen::analyse(const TQDomNode balise)
35{
36 /* <pen width="0" style="1" color="#000000" /> */
37 setWidth(getAttr(balise, "width").toDouble());
38 setStyle(getAttr(balise, "style").toInt());
39 setColor(getAttr(balise, "color"));
40}
41
42void Pen::generate(TQTextStream&)
43{
44
45}
Pen()
Constructors.
Definition pen.cpp:29
virtual void analyse(const TQDomNode)
Helpfull functions.
Definition pen.cpp:34
void setWidth(double w)
setters
Definition pen.h:69