1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 23 24#ifndef __com_sun_star_rdf_FileFormat_idl__ 25#define __com_sun_star_rdf_FileFormat_idl__ 26 27 28//============================================================================= 29 30module com { module sun { module star { module rdf { 31 32//============================================================================= 33/** Constants to specify RDF file formats. 34 35 <p> 36 These constants are mainly for use with 37 <member>XRepository::importGraph</member> 38 and <member>XRepository::exportGraph</member>. 39 </p> 40 41 <p> 42 Note that these are integers because UNO IDL does not permit 43 <atom>string</atom> constants. 44 </p> 45 46 @since OOo 3.0 47 48 @see XRepository::importGraph 49 @see XRepository::exportGraph 50 */ 51constants FileFormat 52{ 53 54 /// <a href="http://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML</a> 55 const short RDF_XML = 0; // "application/rdf+xml"; 56 57 /// <a href="http://www.w3.org/DesignIssues/Notation3">N3 (Notation-3)</a> 58 const short N3 = 1; // "text/rdf+n3"; 59 60 /// <a href="http://www.w3.org/TR/rdf-testcases/#ntriples">N-Triples</a> 61 const short NTRIPLES = 2; // "text/plain"; 62 63 /// <a href="http://www.wiwiss.fu-berlin.de/suhl/bizer/TriG/Spec/">TriG</a> 64 const short TRIG = 3; // "application/x-trig"; 65 66 /// <a href="http://sw.nokia.com/trix/TriX.html">TriX</a> 67 const short TRIX = 4; // "if only the damn server were up i'd know"; 68 69 /// <a href="http://www.dajobe.org/2004/01/turtle/">Turtle</a> 70 const short TURTLE = 5; // "application/turtle"; 71 72}; 73 74//============================================================================= 75 76}; }; }; }; 77 78#endif 79