libodsstream
Library for mass spectrometry
Loading...
Searching...
No Matches
qxmlstreamreadercontentxml.h
Go to the documentation of this file.
1/**
2 * \file src/saxreader/qxmlstreamreadercontentxml.h
3 * \date 28/4/2022
4 * \author Olivier Langella
5 * \brief ODS content XML parser
6 */
7
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
34/**
35 * @todo write docs
36 */
37class QXmlStreamReaderContentXml : public QXmlStreamReader
38{
39 public:
40 /**
41 * @todo write docs
42 */
44
45 /**
46 * @todo write docs
47 */
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:
61
63
65};