LibreOffice: com/sun/star/linguistic2/XLinguServiceManager.idl Source File

LibreOffice LibreOffice 7.5 SDK API Reference

Loading...
Searching...
No Matches
XLinguServiceManager.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 linguistic2 {
23
51published interface XLinguServiceManager : com::sun::star::uno::XInterface
52{
58 com::sun::star::linguistic2::XSpellChecker getSpellChecker();
59
65 com::sun::star::linguistic2::XHyphenator getHyphenator();
66
72 com::sun::star::linguistic2::XThesaurus getThesaurus();
73
89 boolean addLinguServiceManagerListener(
90 [in] com::sun::star::lang::XEventListener xListener );
91
100 boolean removeLinguServiceManagerListener(
101 [in] com::sun::star::lang::XEventListener xListener );
102
114 sequence< string > getAvailableServices(
115 [in] string aServiceName,
116 [in] com::sun::star::lang::Locale aLocale );
117
131 void setConfiguredServices(
132 [in] string aServiceName,
133 [in] com::sun::star::lang::Locale aLocale,
134 [in] sequence< string > aServiceImplNames );
135
148 sequence< string > getConfiguredServices(
149 [in] string aServiceName,
150 [in] com::sun::star::lang::Locale aLocale );
151
152};
153
154
155}; }; }; };
156
157/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::XEventListener
base interface for all event listeners interfaces.
Definition XEventListener.idl:27
com::sun::star::linguistic2::XHyphenator
provides functionality for hyphenation of single words.
Definition XHyphenator.idl:44
com::sun::star::linguistic2::XLinguServiceManager
the basic interface to be used to access linguistic functionality.
Definition XLinguServiceManager.idl:52
com::sun::star::linguistic2::XLinguServiceManager::getAvailableServices
sequence< string > getAvailableServices([in] string aServiceName, [in] com::sun::star::lang::Locale aLocale)
com::sun::star::linguistic2::XLinguServiceManager::removeLinguServiceManagerListener
boolean removeLinguServiceManagerListener([in] com::sun::star::lang::XEventListener xListener)
removes a listener from the list of event listeners.
com::sun::star::linguistic2::XLinguServiceManager::getSpellChecker
com::sun::star::linguistic2::XSpellChecker getSpellChecker()
com::sun::star::linguistic2::XLinguServiceManager::setConfiguredServices
void setConfiguredServices([in] string aServiceName, [in] com::sun::star::lang::Locale aLocale, [in] sequence< string > aServiceImplNames)
sets the list of service implementations to be used for a given service and language.
com::sun::star::linguistic2::XLinguServiceManager::getHyphenator
com::sun::star::linguistic2::XHyphenator getHyphenator()
com::sun::star::linguistic2::XLinguServiceManager::addLinguServiceManagerListener
boolean addLinguServiceManagerListener([in] com::sun::star::lang::XEventListener xListener)
adds a listener to the list of event listeners.
com::sun::star::linguistic2::XLinguServiceManager::getThesaurus
com::sun::star::linguistic2::XThesaurus getThesaurus()
com::sun::star::linguistic2::XLinguServiceManager::getConfiguredServices
sequence< string > getConfiguredServices([in] string aServiceName, [in] com::sun::star::lang::Locale aLocale)
queries the list of service implementations to be used for a given service and language.
com::sun::star::linguistic2::XSpellChecker
This interface allows for spell checking.
Definition XSpellChecker.idl:32
com::sun::star::linguistic2::XThesaurus
allows for the retrieval of possible meanings for a given word and language.
Definition XThesaurus.idl:34
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition Locale.idl:34