LibreOffice
LibreOffice 5.1 SDK API Reference
XDocumentMetadataAccess.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 #ifndef __com_sun_star_rdf_XDocumentMetadataAccess_idl__
21 #define __com_sun_star_rdf_XDocumentMetadataAccess_idl__
22 
38 
39 
40 
41 module com { module sun { module star { module rdf {
42 
63 {
64  interface XURI;
66 
77  XMetadatable getElementByMetadataReference(
78  [in] com::sun::star::beans::StringPair MetadataReference);
79 
91  XMetadatable getElementByURI([in] XURI URI)
93 
106  sequence<XURI> getMetadataGraphsWithType([in] XURI Type)
108 
139  XURI addMetadataFile([in] string FileName,
140  [in] sequence<XURI> Types )
143 
192  XURI importMetadataFile( [in] /*FileFormat*/ short Format,
193  [in] com::sun::star::io::XInputStream InStream,
194  [in] string FileName, [in] XURI BaseURI,
195  [in] sequence<XURI> Types )
201 
222  void removeMetadataFile([in] XURI GraphName)
225 
249  void addContentOrStylesFile([in] string FileName)
252 
269  void removeContentOrStylesFile([in] string FileName)
272 
310  void loadMetadataFromStorage(
311  [in] com::sun::star::embed::XStorage Storage,
312  [in] XURI BaseURI,
313  [in] com::sun::star::task::XInteractionHandler InteractionHandler )
316 
338  void storeMetadataToStorage(
339  [in] com::sun::star::embed::XStorage Storage )
342 
360  void loadMetadataFromMedium(
361  [in] sequence < com::sun::star::beans::PropertyValue > Medium )
364 
379  void storeMetadataToMedium(
380  [in] sequence < com::sun::star::beans::PropertyValue > Medium )
383 
384 };
385 
386 
387 }; }; }; };
388 
389 #endif
390 
391 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is thrown when an input or output error has occurred.
Definition: IOException.idl:30
This interface represents main storage functionality.
Definition: XStorage.idl:43
provides access to an RDF Repository.
Definition: XRepositorySupplier.idl:35
Definition: Ambiguous.idl:22
marks an object representing an ODF element that may have RDF meta data attached. ...
Definition: XMetadatable.idl:52
An interaction request handler.
Definition: XInteractionHandler.idl:32
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:29
specifies a pair of two strings.
Definition: StringPair.idl:28
Exception will be thrown if there is a request for data in a DataFlavor that is not supported by a da...
Definition: UnsupportedFlavorException.idl:34
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:37
document metadata functionality related to the "manifest.rdf".
Definition: XDocumentMetadataAccess.idl:62
represents an URI node that may occur in a RDF graph.
Definition: URI.idl:36
represents an error condition that is signaled on parsing an RDF file.
Definition: ParseException.idl:34
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:37
is thrown by child access methods of collections, if the addressed child does not exist...
Definition: NoSuchElementException.idl:34
represents an URI node that may occur in a RDF graph.
Definition: XURI.idl:53
is thrown by container methods, if an element is added which is already a child of the container...
Definition: ElementExistException.idl:38