File indexing completed on 2024-12-01 13:11:39
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 MSOOXMLSCHEMAS_H 0025 #define MSOOXMLSCHEMAS_H 0026 0027 #include "komsooxml_export.h" 0028 0029 namespace MSOOXML 0030 { 0031 0032 //! MSOOXML Schemas 0033 class KOMSOOXML_EXPORT Schemas 0034 { 0035 public: 0036 //! Content types 0037 static const char contentTypes[]; 0038 0039 //! Relationships 0040 static const char relationships[]; 0041 0042 //! Core properties (document properties) 0043 static const char core_properties[]; 0044 0045 //! Dublin Core vocabulary 0046 //@todo generic, move somewhere else? 0047 static const char dublin_core[]; 0048 0049 //! A.1 WordprocessingML 0050 static const char wordprocessingml[]; 0051 0052 //! A.2 SpreadsheetML 0053 static const char spreadsheetml[]; 0054 0055 //! A.3 PresentationML 0056 static const char presentationml[]; 0057 0058 //! DrawingML 0059 class KOMSOOXML_EXPORT drawingml 0060 { 0061 public: 0062 //! A.4 DrawingML - Framework 0063 static const char main[]; 0064 static const char wordprocessingDrawing[]; 0065 static const char spreadsheetDrawing[]; 0066 static const char compatibility[]; 0067 static const char lockedCanvas[]; 0068 static const char picture[]; 0069 0070 //! A.5 DrawingML - Components 0071 static const char chart[]; 0072 static const char chartDrawing[]; 0073 static const char diagram[]; 0074 }; 0075 0076 0077 //! A.6 Shared MLs 0078 class KOMSOOXML_EXPORT officeDocument 0079 { 0080 public: 0081 static const char math[]; 0082 static const char bibliography[]; 0083 static const char characteristics[]; 0084 static const char customXml[]; 0085 static const char custom_properties[]; 0086 static const char docPropsVTypes[]; 0087 static const char extended_properties[]; 0088 static const char relationships[]; 0089 static const char sharedTypes[]; 0090 }; 0091 0092 //! A.7 Custom XML Schema References 0093 static const char schemaLibrary[]; 0094 }; // Schemas 0095 0096 } // MSOOXML namespace 0097 0098 #endif /* MSOOXMLSCHEMAS_H */