merge the formfield patch from ooo-build
[ooovba.git] / offapi / com / sun / star / rdf / FileFormat.idl
blobd83b4bc66363c94aee939ab81080ac85551c5f91
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: FileFormat.idl,v $
10 * $Revision: 1.2 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 #ifndef __com_sun_star_rdf_FileFormat_idl__
32 #define __com_sun_star_rdf_FileFormat_idl__
35 //=============================================================================
37 module com { module sun { module star { module rdf {
39 //=============================================================================
40 /** Constants to specify RDF file formats.
42 <p>
43 These constants are mainly for use with
44 <member>XRepository::importGraph</member>
45 and <member>XRepository::exportGraph</member>.
46 </p>
48 <p>
49 Note that these are integers because UNO IDL does not permit
50 <atom>string</atom> constants.
51 </p>
53 @since OOo 3.0
55 @see XRepository::importGraph
56 @see XRepository::exportGraph
58 constants FileFormat
61 /// <a href="http://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML</a>
62 const short RDF_XML = 0; // "application/rdf+xml";
64 /// <a href="http://www.w3.org/DesignIssues/Notation3">N3 (Notation-3)</a>
65 const short N3 = 1; // "text/rdf+n3";
67 /// <a href="http://www.w3.org/TR/rdf-testcases/#ntriples">N-Triples</a>
68 const short NTRIPLES = 2; // "text/plain";
70 /// <a href="http://www.wiwiss.fu-berlin.de/suhl/bizer/TriG/Spec/">TriG</a>
71 const short TRIG = 3; // "application/x-trig";
73 /// <a href="http://sw.nokia.com/trix/TriX.html">TriX</a>
74 const short TRIX = 4; // "if only the damn server were up i'd know";
76 /// <a href="http://www.dajobe.org/2004/01/turtle/">Turtle</a>
77 const short TURTLE = 5; // "application/turtle";
81 //=============================================================================
83 }; }; }; };
85 #endif