LibreOffice LibreOffice 26.2 SDK API Reference

Loading...
Searching...
No Matches
XContentProviderManager.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 ucb {
23
29published interface XContentProviderManager: com::sun::star::uno::XInterface
30{
106 com::sun::star::ucb::XContentProvider registerContentProvider(
107 [in] com::sun::star::ucb::XContentProvider Provider,
108 [in] string Scheme,
109 [in] boolean ReplaceExisting )
110 raises( com::sun::star::ucb::DuplicateProviderException );
111
123 void deregisterContentProvider(
124 [in] com::sun::star::ucb::XContentProvider Provider,
125 [in] string Scheme );
126
132 sequence<com::sun::star::ucb::ContentProviderInfo> queryContentProviders();
133
143 com::sun::star::ucb::XContentProvider queryContentProvider(
144 [in] string Identifier );
145};
146
147
148}; }; }; };
149
150/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::ucb::DuplicateProviderException
is thrown to indicate that a content provider with the same identifier already was registered with a ...
Definition DuplicateProviderException.idl:31
com::sun::star::ucb::XContentProviderManager
makes it possible to query/register/deregister content providers.
Definition XContentProviderManager.idl:30
com::sun::star::ucb::XContentProviderManager::queryContentProviders
sequence< com::sun::star::ucb::ContentProviderInfo > queryContentProviders()
returns a list of information on all registered content providers.
com::sun::star::ucb::XContentProviderManager::registerContentProvider
com::sun::star::ucb::XContentProvider registerContentProvider([in] com::sun::star::ucb::XContentProvider Provider, [in] string Scheme, [in] boolean ReplaceExisting)
registers a content provider for a specific URL template.
com::sun::star::ucb::XContentProviderManager::queryContentProvider
com::sun::star::ucb::XContentProvider queryContentProvider([in] string Identifier)
returns the currently active content provider for a content identifier.
com::sun::star::ucb::XContentProviderManager::deregisterContentProvider
void deregisterContentProvider([in] com::sun::star::ucb::XContentProvider Provider, [in] string Scheme)
deregisters a content provider.
com::sun::star::ucb::XContentProvider
a content provider which creates and manages XContents.
Definition XContentProvider.idl:30
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20