1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 2/* 3 * This file is part of the LibreOffice project. 4 * 5 * This Source Code Form is subject to the terms of the Mozilla Public 6 * License, v. 2.0. If a copy of the MPL was not distributed with this 7 * file, You can obtain one at http://mozilla.org/MPL/2.0/. 8 * 9 * This file incorporates work covered by the following license notice: 10 * 11 * Licensed to the Apache Software Foundation (ASF) under one or more 12 * contributor license agreements. See the NOTICE file distributed 13 * with this work for additional information regarding copyright 14 * ownership. The ASF licenses this file to you under the Apache 15 * License, Version 2.0 (the "License"); you may not use this file 16 * except in compliance with the License. You may obtain a copy of 17 * the License at http://www.apache.org/licenses/LICENSE-2.0 . 18 */ 19#ifndef __com_sun_star_xsd_DataTypeClass_idl__ 20#define __com_sun_star_xsd_DataTypeClass_idl__ 21 22 23module com { module sun { module star { module xsd { 24 25 26/** These constants specify the class used of an XDataType 27*/ 28constants DataTypeClass 29{ 30 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#string">XSD compliant string type</a> 31 */ 32 const short STRING = 1; 33 34 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#boolean">XSD compliant boolean type</a> 35 */ 36 const short BOOLEAN = 2; 37 38 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#decimal">XSD compliant decimal type</a> 39 */ 40 const short DECIMAL = 3; 41 42 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#float">XSD compliant float type</a> 43 */ 44 const short FLOAT = 4; 45 46 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#double">XSD compliant double type</a> 47 */ 48 const short DOUBLE = 5; 49 50 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#duration">XSD compliant duration type</a> 51 */ 52 const short DURATION = 6; 53 54 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#datetime">XSD compliant datetime type</a> 55 */ 56 const short DATETIME = 7; 57 58 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#time">XSD compliant time type</a> 59 */ 60 const short TIME = 8; 61 62 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#date">XSD compliant date type</a> 63 */ 64 const short DATE = 9; 65 66 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#gYearMonth">XSD compliant gYearMonth type</a> 67 */ 68 const short gYearMonth = 10; 69 70 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#gYear">XSD compliant gYear type</a> 71 */ 72 const short gYear = 11; 73 74 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#gMonthDay">XSD compliant gMonthDay type</a> 75 */ 76 const short gMonthDay = 12; 77 78 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#gDay">XSD compliant gDay type</a> 79 */ 80 const short gDay = 13; 81 82 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#gMonth">XSD compliant gMonth type</a> 83 */ 84 const short gMonth = 14; 85 86 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#hexBinary">XSD compliant hexBinary type</a> 87 */ 88 const short hexBinary = 15; 89 90 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#base64Binary">XSD compliant base64Binary type</a> 91 */ 92 const short base64Binary = 16; 93 94 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#anyURI">XSD compliant anyURI type</a> 95 */ 96 const short anyURI = 17; 97 98 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#QName">XSD compliant QName type</a> 99 */ 100 const short QName = 18; 101 102 /** specifies an <a href="http://www.w3.org/TR/xmlschema-2/#NOTATION">XSD compliant NOTATION type</a> 103 */ 104 const short NOTATION = 19; 105 106}; 107 108 109}; }; }; }; 110 111#endif 112 113/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ 114