LibreOffice
LibreOffice 5.0 SDK API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
com
sun
star
rdf
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
23
#include <
com/sun/star/lang/IllegalArgumentException.idl
>
24
#include <
com/sun/star/lang/WrappedTargetException.idl
>
25
#include <
com/sun/star/beans/PropertyValue.idl
>
26
#include <
com/sun/star/container/ElementExistException.idl
>
27
#include <
com/sun/star/container/NoSuchElementException.idl
>
28
#include <
com/sun/star/io/IOException.idl
>
29
#include <
com/sun/star/io/XInputStream.idl
>
30
#include <
com/sun/star/datatransfer/UnsupportedFlavorException.idl
>
31
#include <
com/sun/star/embed/XStorage.idl
>
32
#include <
com/sun/star/task/XInteractionHandler.idl
>
33
#include <
com/sun/star/rdf/FileFormat.idl
>
34
#include <
com/sun/star/rdf/ParseException.idl
>
35
#include <
com/sun/star/rdf/XURI.idl
>
36
#include <
com/sun/star/rdf/XMetadatable.idl
>
37
#include <
com/sun/star/rdf/XRepositorySupplier.idl
>
38
39
40
41
module com { module sun { module star { module rdf {
42
62
interface
XDocumentMetadataAccess
63
{
64
interface
XURI
;
65
interface
XRepositorySupplier
;
66
77
XMetadatable
getElementByMetadataReference(
78
[in]
com::sun::star::beans::StringPair
MetadataReference);
79
91
XMetadatable
getElementByURI([in]
XURI
URI
)
92
raises(
com::sun::star::lang::IllegalArgumentException
);
93
106
sequence<XURI> getMetadataGraphsWithType([in]
XURI
Type)
107
raises(
com::sun::star::lang::IllegalArgumentException
);
108
139
XURI
addMetadataFile([in]
string
FileName,
140
[in] sequence<XURI> Types )
141
raises(
com::sun::star::lang::IllegalArgumentException
,
142
com::sun::star::container::ElementExistException
);
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 )
196
raises(
com::sun::star::lang::IllegalArgumentException
,
197
com::sun::star::datatransfer::UnsupportedFlavorException
,
198
com::sun::star::container::ElementExistException
,
199
ParseException
,
200
com::sun::star::io::IOException
);
201
222
void
removeMetadataFile([in]
XURI
GraphName)
223
raises(
com::sun::star::lang::IllegalArgumentException
,
224
com::sun::star::container::NoSuchElementException
);
225
249
void
addContentOrStylesFile([in]
string
FileName)
250
raises(
com::sun::star::lang::IllegalArgumentException
,
251
com::sun::star::container::ElementExistException
);
252
269
void
removeContentOrStylesFile([in]
string
FileName)
270
raises(
com::sun::star::lang::IllegalArgumentException
,
271
com::sun::star::container::NoSuchElementException
);
272
310
void
loadMetadataFromStorage(
311
[in]
com::sun::star::embed::XStorage
Storage,
312
[in]
XURI
BaseURI,
313
[in]
com::sun::star::task::XInteractionHandler
InteractionHandler )
314
raises(
com::sun::star::lang::IllegalArgumentException
,
315
com::sun::star::lang::WrappedTargetException
);
316
338
void
storeMetadataToStorage(
339
[in]
com::sun::star::embed::XStorage
Storage )
340
raises(
com::sun::star::lang::IllegalArgumentException
,
341
com::sun::star::lang::WrappedTargetException
);
342
360
void
loadMetadataFromMedium(
361
[in] sequence < com::sun::star::beans::PropertyValue > Medium )
362
raises(
com::sun::star::lang::IllegalArgumentException
,
363
com::sun::star::lang::WrappedTargetException
);
364
379
void
storeMetadataToMedium(
380
[in] sequence < com::sun::star::beans::PropertyValue > Medium )
381
raises(
com::sun::star::lang::IllegalArgumentException
,
382
com::sun::star::lang::WrappedTargetException
);
383
384
};
385
386
387
}; }; }; };
388
389
#endif
390
391
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Generated by
1.8.4