File indexing completed on 2024-05-12 16:29:06

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 MSOOXMLCONTENTTYPES_H
0025 #define MSOOXMLCONTENTTYPES_H
0026 
0027 #include "komsooxml_export.h"
0028 
0029 #include <QString>
0030 #include <KoFilterChain.h>
0031 #include <KoXmlReader.h>
0032 
0033 
0034 namespace MSOOXML
0035 {
0036 
0037 //! Content type names for handling MSOOXML formats
0038 class KOMSOOXML_EXPORT ContentTypes
0039 {
0040 public:
0041     // common officedocument namespaces
0042     static const char coreProps[];
0043     static const char extProps[];
0044     static const char theme[];
0045 
0046     // wordprocessingml-specific namespaces
0047     static const char wordDocument[];
0048     static const char wordSettings[];
0049     static const char wordStyles[];
0050     static const char wordHeader[];
0051     static const char wordFooter[];
0052     static const char wordFootnotes[];
0053     static const char wordEndnotes[];
0054     static const char wordFontTable[];
0055     static const char wordWebSettings[];
0056     static const char wordTemplate[];
0057     static const char wordComments[];
0058 
0059     // presentationml-specific namespaces
0060     static const char presentationDocument[];
0061     static const char presentationSlide[];
0062     static const char presentationSlideLayout[];
0063     static const char presentationSlideShow[];
0064     static const char presentationTemplate[];
0065     static const char presentationNotes[];
0066     static const char presentationTableStyles[];
0067     static const char presentationProps[];
0068     static const char presentationViewProps[];
0069     static const char presentationComments[];
0070 
0071     // spreadsheetml-specific content types
0072     static const char spreadsheetDocument[];
0073     static const char spreadsheetMacroDocument[];
0074     static const char spreadsheetPrinterSettings[];
0075     static const char spreadsheetStyles[];
0076     static const char spreadsheetWorksheet[];
0077     static const char spreadsheetCalcChain[];
0078     static const char spreadsheetSharedStrings[];
0079     static const char spreadsheetTemplate[];
0080     static const char spreadsheetComments[];
0081 };
0082 
0083 } // MSOOXML namespace
0084 
0085 #endif /* MSOOXMLCONTENTTYPES_H */