Skip to main content ::
::
KOffice API Docs
::
Skip to Link Menu
/
KOffice
/
API Docs
/
filters
filters
filters
kspread
csv
xmltree.h
1
/* This file is part of the KDE project
2
Copyright (C) 1999 David Faure <faure@kde.org>
3
4
This library is free software; you can redistribute it and/or
5
modify it under the terms of the GNU Library General Public
6
License as published by the Free Software Foundation; either
7
version 2 of the License, or (at your option) any later version.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Library General Public License for more details.
13
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
* Boston, MA 02110-1301, USA.
18
*/
19
20
#ifndef XMLTREE_H
21
#define XMLTREE_H
22
23
#include <tqdom.h>
24
#include <tqmemarray.h>
25
#include <tqtextstream.h>
26
27
class
XMLTree
28
{
29
30
public
:
31
// Create a tree.
32
// inputFileName is only used in order to name the sheet
33
XMLTree(TQDomDocument &qdoc);
34
~XMLTree();
35
36
// Return the whole XML as TQString
37
//const TQString part();
38
39
// Create a new cell
40
bool
cell(
const
TQString & contents );
41
42
// Tell about an empty cell (doesn't create it, just skips)
43
void
emptycell() { column ++; }
// easy heh ? ;)
44
45
// Go to new line
46
void
newline() { row ++; column = 1; }
47
48
private
:
49
int
row, column;
50
TQDomDocument &root;
51
TQDomElement doc, map, sheet;
52
};
53
#endif
// XMLTREE_H
filters
Skip menu "filters"
Main Page
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
Related Pages
filters
Skip menu "filters"
chalk
example
filters
interfaces
karbon
kchart
kdgantt
kexi
kformula
kivio
koshell
kplato
kpresenter
kspread
kword
lib