odsstream
Loading...
Searching...
No Matches
odstablesettings.h
Go to the documentation of this file.
1
8/*******************************************************************************
9 * Copyright (c) 2013 Olivier Langella <Olivier.Langella@u-psud.fr>.
10 *
11 * This file is part of the libodsstream library.
12 *
13 * libodsstream is a library to read and write ODS documents as streams
14 * Copyright (C) 2013 Olivier Langella <Olivier.Langella@u-psud.fr>
15 *
16 * This program is free software: you can redistribute it and/or modify
17 * it under the terms of the GNU Lesser General Public License as published
18 *by the Free Software Foundation, either version 3 of the License, or (at your
19 *option) any later version.
20 *
21 * This program is distributed in the hope that it will be useful,
22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 * GNU Lesser General Public License for more details.
25 *
26 * You should have received a copy of the GNU Lesser General Public License
27 * along with this program. If not, see <http://www.gnu.org/licenses/>.
28 *
29 * Contributors:
30 * Olivier Langella <Olivier.Langella@u-psud.fr> - initial API and
31 *implementation
32 ******************************************************************************/
33
34#ifndef ODSTABLESETTINGS_H
35#define ODSTABLESETTINGS_H
36
37#include <QString>
38#include <map>
39
40class SettingsXml;
41
43{
44 friend SettingsXml;
45
46 public:
49 virtual ~OdsTableSettings();
50
51 OdsTableSettings &operator=(OdsTableSettings const &other);
52 void setVerticalSplit(unsigned int position);
53 void setHorizontalSplit(unsigned int position);
54
55 const QString &getSheetName() const;
56
57 protected:
58 void setSheetName(const QString &sheetname);
59 const QString getValue(const QString &property) const;
60
61 private:
62 QString _sheetname;
63 std::map<QString, QString> _map_properties;
64};
65
66#endif // ODSTABLESETTINGS_H
Definition odstablesettings.h:43
Definition settingsxml.h:45