tdf#130857 qt weld: Implement QtInstanceWidget::strip_mnemonic
[LibreOffice.git] / offapi / com / sun / star / rdf / XLiteral.idl
blobe493d77c8c512536a08848dc2ee5226d6cfc0e03
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
22 module com { module sun { module star { module rdf {
24 /** represents a literal that may occur in a RDF graph.
26 <p>
27 RDF literals may come in three varieties:
28 <ul>
29 <li>just a string Value</li>
30 <li>Value and Language</li>
31 <li>typed literal: Value and Datatype (represented by a URI)</li>
32 </ul>
33 Note that there is no literal with both Language and Datatype.
34 </p>
36 @since OOo 3.0
38 @see XRepository
40 interface XLiteral : XNode
42 /// the content of the literal
43 [readonly, attribute] string Value;
44 /// the language of the literal; may be the empty `string`
45 [readonly, attribute] string Language;
46 /// the data type of the literal; may be `NULL`
47 [readonly, attribute] XURI Datatype;
48 //FIXME: TODO: have not looked at handling all kinds of types, maybe just have an any attr here...
52 }; }; }; };
54 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */