odsstream
Loading...
Searching...
No Matches
odsstream
saxreader
qxmlstreamreadercontentxml.h
1
8
/*******************************************************************************
9
* Copyright (c) 2022 Olivier Langella <Olivier.Langella@u-psud.fr>.
10
*
11
* This file is part of libodsstream.
12
*
13
* libodsstream is free software: you can redistribute it and/or modify
14
* it under the terms of the GNU General Public License as published by
15
* the Free Software Foundation, either version 3 of the License, or
16
* (at your option) any later version.
17
*
18
* libodsstream is distributed in the hope that it will be useful,
19
* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
* GNU General Public License for more details.
22
*
23
* You should have received a copy of the GNU General Public License
24
* along with libodsstream. If not, see <http://www.gnu.org/licenses/>.
25
*
26
******************************************************************************/
27
28
29
#pragma once
30
31
#include <QXmlStreamReader>
32
#include "../odsdocreader.h"
33
37
class
QXmlStreamReaderContentXml
:
public
QXmlStreamReader
38
{
39
public
:
43
QXmlStreamReaderContentXml
(
OdsDocReader
&ods_reader);
44
48
virtual
~QXmlStreamReaderContentXml
();
49
50
bool
read();
51
52
private
:
53
bool
readTable();
54
bool
readTableRow();
55
bool
readTableLine();
56
bool
readCellContent();
57
bool
readTextP();
58
59
private
:
60
OdsDocReader
&m_odsReader;
61
62
OdsCell
m_currentCell;
63
64
uint m_numberColumnsRepeated;
65
};
OdsCell
Definition
odscell.h:29
OdsDocReader
Definition
odsdocreader.h:30
QXmlStreamReaderContentXml
Definition
qxmlstreamreadercontentxml.h:38
QXmlStreamReaderContentXml::~QXmlStreamReaderContentXml
virtual ~QXmlStreamReaderContentXml()
Definition
qxmlstreamreadercontentxml.cpp:36
Generated on Tue Nov 7 2023 14:29:21 for odsstream by
1.9.8