LibreOffice LibreOffice 25.8 SDK API Reference

Loading...
Searching...
No Matches
XDocumentRepository.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
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 .
18 */
19
20
21
22module com { module sun { module star { module rdf {
23
38 interface XDocumentRepository : XRepository
39{
40
103 void setStatementRDFa(
104 [in] XResource Subject,
105 [in] sequence<XURI> Predicates,
106 [in] XMetadatable Object,
107 [in] string RDFaContent,
108 [in] XURI RDFaDatatype)
109 raises( com::sun::star::lang::IllegalArgumentException,
110 RepositoryException );
111
130 void removeStatementRDFa([in] XMetadatable Element)
131 raises( com::sun::star::lang::IllegalArgumentException,
132 RepositoryException );
133
162 com::sun::star::beans::Pair< sequence<Statement>, boolean >
163 getStatementRDFa([in] XMetadatable Element)
164 raises( com::sun::star::lang::IllegalArgumentException,
165 RepositoryException );
166
202 com::sun::star::container::XEnumeration/*<Statement>*/ getStatementsRDFa(
203 [in] XResource Subject,
204 [in] XURI Predicate,
205 [in] XNode Object)
206 raises( RepositoryException );
207
208};
209
210
211}; }; }; };
212
213/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition IllegalArgumentException.idl:27
com::sun::star::rdf::RepositoryException
represents an error condition that is signaled on accessing an RDF Repository.
Definition RepositoryException.idl:31
com::sun::star::container::XEnumeration
provides functionality to enumerate the contents of a container.
Definition XEnumeration.idl:47
com::sun::star::rdf::XDocumentRepository
extends XRepository with document-specific functionality.
Definition XDocumentRepository.idl:39
com::sun::star::rdf::XDocumentRepository::setStatementRDFa
void setStatementRDFa([in] XResource Subject, [in] sequence< XURI > Predicates, [in] XMetadatable Object, [in] string RDFaContent, [in] XURI RDFaDatatype)
update the RDFa statement(s) that correspond to an ODF element in the repository.
com::sun::star::rdf::XDocumentRepository::removeStatementRDFa
void removeStatementRDFa([in] XMetadatable Element)
remove the RDFa statement(s) that correspond to an ODF element from the repository.
com::sun::star::rdf::XDocumentRepository::getStatementsRDFa
com::sun::star::container::XEnumeration getStatementsRDFa([in] XResource Subject, [in] XURI Predicate, [in] XNode Object)
gets matching RDFa statements from the repository.
com::sun::star::rdf::XDocumentRepository::getStatementRDFa
com::sun::star::beans::Pair< sequence< Statement >, boolean > getStatementRDFa([in] XMetadatable Element)
find the RDFa statement(s) associated with an ODF element.
com::sun::star::rdf::XMetadatable
marks an object representing an ODF element that may have RDF meta data attached.
Definition XMetadatable.idl:46
com::sun::star::rdf::XNode
represents a node that may occur in a RDF graph.
Definition XNode.idl:53
com::sun::star::rdf::XRepository
provides access to a set of named RDF graphs.
Definition XRepository.idl:51
com::sun::star::rdf::XResource
represents a resource node that may occur in a RDF graph.
Definition XResource.idl:37
com::sun::star::rdf::XURI
represents a URI node that may occur in a RDF graph.
Definition XURI.idl:49
com
Definition Ambiguous.idl:20