File indexing completed on 2024-05-12 16:33:34
0001 /* This file is part of the KDE project 0002 0003 Copyright (C) 2010 Johannes Simon <johannes.simon@gmail.com> 0004 Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 0005 Contact: Suresh Chande suresh.chande@nokia.com 0006 0007 This library is free software; you can redistribute it and/or 0008 modify it under the terms of the GNU Library General Public 0009 License as published by the Free Software Foundation; either 0010 version 2 of the License, or (at your option) any later version. 0011 0012 This library is distributed in the hope that it will be useful, 0013 but WITHOUT ANY WARRANTY; without even the implied warranty of 0014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0015 Library General Public License for more details. 0016 0017 You should have received a copy of the GNU Library General Public License 0018 along with this library; see the file COPYING.LIB. If not, write to 0019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 0020 * Boston, MA 02110-1301, USA. 0021 */ 0022 0023 #ifndef KCHART_ODF_LOADING_HELPER_H 0024 #define KCHART_ODF_LOADING_HELPER_H 0025 0026 // Qt 0027 #include <QString> 0028 0029 // Calligra 0030 #include "KoSharedLoadingData.h" 0031 #include "KoXmlReader.h" 0032 0033 // KoChart 0034 #include "TableSource.h" 0035 0036 class KoodfStylesReader; 0037 0038 namespace KoChart { 0039 0040 class OdfLoadingHelper : public KoSharedLoadingData 0041 { 0042 public: 0043 OdfLoadingHelper(); 0044 0045 TableSource *tableSource; 0046 bool chartUsesInternalModelOnly; 0047 // In ODF the x axis determines the cell-range-address for categories in 0048 // the chart, we however let ChartProxyModel determine it, thus we need 0049 // a way to tell it that it will find it in the axis. 0050 bool categoryRegionSpecifiedInXAxis; 0051 }; 0052 0053 } // namespace KoChart 0054 0055 #endif // KCHART_ODF_LOADING_HELPER_H