Bump for 3.6-28
[LibreOffice.git] / offapi / com / sun / star / rdf / FileFormat.idl
bloba027af13bcb2e28b82d7861f3f1f4822c631b147
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
12 * OpenOffice.org is free software: you can redistribute it and/or modify
13 * it under the terms of the GNU Lesser General Public License version 3
14 * only, as published by the Free Software Foundation.
16 * OpenOffice.org is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU Lesser General Public License version 3 for more details
20 * (a copy is included in the LICENSE file that accompanied this code).
22 * You should have received a copy of the GNU Lesser General Public License
23 * version 3 along with OpenOffice.org. If not, see
24 * <http://www.openoffice.org/license.html>
25 * for a copy of the LGPLv3 License.
27 ************************************************************************/
29 #ifndef __com_sun_star_rdf_FileFormat_idl__
30 #define __com_sun_star_rdf_FileFormat_idl__
33 //=============================================================================
35 module com { module sun { module star { module rdf {
37 //=============================================================================
38 /** Constants to specify RDF file formats.
40 <p>
41 These constants are mainly for use with
42 <member>XRepository::importGraph</member>
43 and <member>XRepository::exportGraph</member>.
44 </p>
46 <p>
47 Note that these are integers because UNO IDL does not permit
48 <atom>string</atom> constants.
49 </p>
51 @since OOo 3.0
53 @see XRepository::importGraph
54 @see XRepository::exportGraph
56 constants FileFormat
59 /// <a href="http://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML</a>
60 const short RDF_XML = 0; // "application/rdf+xml";
62 /// <a href="http://www.w3.org/DesignIssues/Notation3">N3 (Notation-3)</a>
63 const short N3 = 1; // "text/rdf+n3";
65 /// <a href="http://www.w3.org/TR/rdf-testcases/#ntriples">N-Triples</a>
66 const short NTRIPLES = 2; // "text/plain";
68 /// <a href="http://www.wiwiss.fu-berlin.de/suhl/bizer/TriG/Spec/">TriG</a>
69 const short TRIG = 3; // "application/x-trig";
71 /// <a href="http://sw.nokia.com/trix/">TriX</a>
72 const short TRIX = 4; // "if only the damn server were up I'd know";
74 /// <a href="http://www.dajobe.org/2004/01/turtle/">Turtle</a>
75 const short TURTLE = 5; // "application/turtle";
79 //=============================================================================
81 }; }; }; };
83 #endif
85 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */