summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/rdf/URIs.idl
blob: 23a3ef3f7f62a82a21e79bf71f19b47937c8a8b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/*************************************************************************
 *
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 *
 * Copyright 2008 by Sun Microsystems, Inc.
 *
 * OpenOffice.org - a multi-platform office productivity suite
 *
 * $RCSfile: URIs.idl,v $
 * $Revision: 1.2 $
 *
 * This file is part of OpenOffice.org.
 *
 * OpenOffice.org is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License version 3
 * only, as published by the Free Software Foundation.
 *
 * OpenOffice.org is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License version 3 for more details
 * (a copy is included in the LICENSE file that accompanied this code).
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with OpenOffice.org.  If not, see
 * <http://www.openoffice.org/license.html>
 * for a copy of the LGPLv3 License.
 *
 ************************************************************************/

#ifndef __com_sun_star_rdf_URIs_idl__
#define __com_sun_star_rdf_URIs_idl__


//=============================================================================

module com {   module sun {   module star {   module rdf {


//=============================================================================
/** Constants to specify some well-known URIs.

    <p>
    These constants are mainly for use with
    <method>URI::createKnown</method>.
    </p>

    @since OOo 3.0

    @see URI::createKnown
 */
constants URIs
{
//    /// http://www.w3.org/2001/XMLSchema#NCName
//FIXME: XMLSchema-datatypes is preferred to XMLSchema in this context???

    /// http://www.w3.org/2001/XMLSchema-datatypes#NCName
    const short XSD_NCNAME = 1;
    /// http://www.w3.org/2001/XMLSchema-datatypes#string
    const short XSD_STRING = 2;

    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#type
    const short RDF_TYPE        = 1000;
    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#subject
    const short RDF_SUBJECT     = 1001;
    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate
    const short RDF_PREDICATE   = 1002;
    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#object
    const short RDF_OBJECT      = 1003;
    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#Property
    const short RDF_PROPERTY    = 1004;
    /// http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement
    const short RDF_STATEMENT   = 1005;

    /// http://www.w3.org/2000/01/rdf-schema#comment
    const short RDFS_COMMENT    = 1100;
    /// http://www.w3.org/2000/01/rdf-schema#label
    const short RDFS_LABEL      = 1101;
    /// http://www.w3.org/2000/01/rdf-schema#domain
    const short RDFS_DOMAIN     = 1102;
    /// http://www.w3.org/2000/01/rdf-schema#range
    const short RDFS_RANGE      = 1103;
    /// http://www.w3.org/2000/01/rdf-schema#subClassOf
    const short RDFS_SUBCLASSOF = 1104;
    /// http://www.w3.org/2000/01/rdf-schema#Literal
    const short RDFS_LITERAL    = 1105;

    /// http://www.w3.org/2002/07/owl#Class
    const short OWL_CLASS               = 1200;
    /// http://www.w3.org/2002/07/owl#ObjectProperty
    const short OWL_OBJECTPROPERTY      = 1201;
    /// http://www.w3.org/2002/07/owl#DatatypeProperty
    const short OWL_DATATYPEPROPERTY    = 1202;
    /// http://www.w3.org/2002/07/owl#FunctionalProperty
    const short OWL_FUNCTIONALPROPERTY  = 1203;

    /// http://docs.oasis-open.org/opendocument/meta/package/common#hasPart
    const short PKG_HASPART     = 2000;
    /// http://docs.oasis-open.org/opendocument/meta/package/common#idref
    const short PKG_IDREF       = 2001;
    /// http://docs.oasis-open.org/opendocument/meta/package/common#path
    const short PKG_PATH        = 2002;
    /// http://docs.oasis-open.org/opendocument/meta/package/common#mimeType
    const short PKG_MIMETYPE    = 2003;
    /// http://docs.oasis-open.org/opendocument/meta/package/common#Package
    const short PKG_PACKAGE     = 2004;
    /// http://docs.oasis-open.org/opendocument/meta/package/common#Element
    const short PKG_ELEMENT     = 2005;
    /// http://docs.oasis-open.org/opendocument/meta/package/common#File
    const short PKG_FILE        = 2006;

    /// http://docs.oasis-open.org/opendocument/meta/package/odf#prefix
    const short ODF_PREFIX          = 2100;
    /// http://docs.oasis-open.org/opendocument/meta/package/odf#suffix
    const short ODF_SUFFIX          = 2101;
    /// http://docs.oasis-open.org/opendocument/meta/package/odf#Element
    const short ODF_ELEMENT         = 2102;
    /// http://docs.oasis-open.org/opendocument/meta/package/odf#ContentFile
    const short ODF_CONTENTFILE     = 2103;
    /// http://docs.oasis-open.org/opendocument/meta/package/odf#StylesFile
    const short ODF_STYLESFILE      = 2104;
    /// http://docs.oasis-open.org/opendocument/meta/package/odf#MetadataFile
    const short ODF_METADATAFILE    = 2105;

    /// urn:oasis:names:tc:opendocument:xmlns:text:1.0meta-field
//    const short TEXT_META_FIELD = 3000;
};

//=============================================================================

}; }; }; };

#endif