Warning, file /office/calligra/filters/libmsooxml/MsooXmlDocPropertiesReader.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * This file is part of Office 2007 Filters for Calligra 0003 * 0004 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). 0005 * 0006 * Contact: Suresh Chande suresh.chande@nokia.com 0007 * 0008 * This library is free software; you can redistribute it and/or 0009 * modify it under the terms of the GNU Lesser General Public License 0010 * version 2.1 as published by the Free Software Foundation. 0011 * 0012 * This library is distributed in the hope that it will be useful, but 0013 * WITHOUT ANY WARRANTY; without even the implied warranty of 0014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0015 * Lesser General Public License for more details. 0016 * 0017 * You should have received a copy of the GNU Lesser General Public 0018 * License along with this library; if not, write to the Free Software 0019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 0020 * 02110-1301 USA 0021 * 0022 */ 0023 0024 #ifndef MSOOXMLDOCPROPERTIESREADER_H 0025 #define MSOOXMLDOCPROPERTIESREADER_H 0026 0027 #include "MsooXmlReader.h" 0028 0029 #include <QMap> 0030 #include <QString> 0031 0032 namespace MSOOXML 0033 { 0034 0035 class KOMSOOXML_EXPORT MsooXmlDocPropertiesReader : public MsooXmlReader 0036 { 0037 public: 0038 explicit MsooXmlDocPropertiesReader(KoOdfWriters* writers); 0039 0040 //! Reads/parses the file. The output goes to KoGenStyles* KoOdfWriters::meta 0041 KoFilter::ConversionStatus read(MsooXmlReaderContext* context = 0) override; 0042 0043 KoFilter::ConversionStatus read_coreProperties(); 0044 private: 0045 QMap<QString,QString> elemMap; 0046 }; 0047 0048 } // namespace MSOOXML 0049 0050 #endif // MSOOXMLDOCPROPERTIESREADER_H