2
* Copyright (c) 2010 Sebastian Sauer <sebsauer@kdab.com>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published
6
* by the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program 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
12
* GNU Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
24
//#include <QtCore/QString>
25
//#include <QtCore/QStringList>
26
//#include <QtCore/QRect>
27
//#include <QtCore/QMap>
28
//#include <QtGui/QColor>
36
explicit ChartExport(Charting::Chart* chart);
38
Charting::Chart* chart() const { return m_chart; }
42
QString m_cellRangeAddress;
43
QString m_endCellAddress;
44
QString m_notifyOnUpdateOfRanges;
49
//unsigned long m_colL, m_rwT;
51
int m_x, m_y, m_width, m_height; //in pt
53
bool saveIndex(KoXmlWriter* xmlWriter);
54
bool saveContent(KoStore* store, KoXmlWriter* manifestWriter);
57
QString toPtString( int number );
62
float sprcToPt( int sprc, Orientation orientation );
63
Charting::Chart* m_chart;