libodsstream
odsdochandlerinterface.h
Go to the documentation of this file.
1 
11 /*******************************************************************************
12  * Copyright (c) 2013 Olivier Langella <Olivier.Langella@u-psud.fr>.
13  *
14  * This file is part of the libodsstream library.
15  *
16  * libodsstream is a library to read and write ODS documents as streams
17  * Copyright (C) 2013 Olivier Langella <Olivier.Langella@u-psud.fr>
18  *
19  * This program is free software: you can redistribute it and/or modify
20  * it under the terms of the GNU Lesser General Public License as published
21  *by the Free Software Foundation, either version 3 of the License, or (at your
22  *option) any later version.
23  *
24  * This program is distributed in the hope that it will be useful,
25  * but WITHOUT ANY WARRANTY; without even the implied warranty of
26  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27  * GNU Lesser General Public License for more details.
28  *
29  * You should have received a copy of the GNU Lesser General Public License
30  * along with this program. If not, see <http://www.gnu.org/licenses/>.
31  *
32  * Contributors:
33  * Olivier Langella <Olivier.Langella@u-psud.fr> - initial API and
34  *implementation
35  ******************************************************************************/
36 
37 #ifndef ODSDOCHANDLERINTERFACE_H
38 #define ODSDOCHANDLERINTERFACE_H
39 
40 #include <QString>
41 #include "reader/odscell.h"
42 
44 {
45  public:
51  virtual void startSheet(const QString &sheet_name) = 0;
52 
57  virtual void endSheet() = 0;
58 
63  virtual void startLine() = 0;
64 
69  virtual void endLine() = 0;
70 
75  virtual void setCell(const OdsCell &) = 0;
76 
81  virtual void endDocument() = 0;
82 };
83 
84 #endif // ODSDOCHANDLERINTERFACE_H
OdsDocHandlerInterface
Definition: odsdochandlerinterface.h:43
OdsDocHandlerInterface::setCell
virtual void setCell(const OdsCell &)=0
OdsCell
Definition: odscell.h:28
OdsDocHandlerInterface::endDocument
virtual void endDocument()=0
OdsDocHandlerInterface::endLine
virtual void endLine()=0
OdsDocHandlerInterface::startLine
virtual void startLine()=0
OdsDocHandlerInterface::endSheet
virtual void endSheet()=0
OdsDocHandlerInterface::startSheet
virtual void startSheet(const QString &sheet_name)=0