LibreOffice LibreOffice 7.2 SDK API Reference

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#ifndef __com_sun_star_linguistic2_XLinguServiceManager_idl__
20#define __com_sun_star_linguistic2_XLinguServiceManager_idl__
21
22
23#include <com/sun/star/linguistic2/XSpellChecker.idl>
24#include <com/sun/star/linguistic2/XHyphenator.idl>
25#include <com/sun/star/linguistic2/XThesaurus.idl>
26#include <com/sun/star/lang/XEventListener.idl>
27
28
29module com { module sun { module star { module linguistic2 {
30
58published interface XLinguServiceManager : com::sun::star::uno::XInterface
59{
65 com::sun::star::linguistic2::XSpellChecker getSpellChecker();
66
72 com::sun::star::linguistic2::XHyphenator getHyphenator();
73
79 com::sun::star::linguistic2::XThesaurus getThesaurus();
80
96 boolean addLinguServiceManagerListener(
97 [in] com::sun::star::lang::XEventListener xListener );
98
107 boolean removeLinguServiceManagerListener(
108 [in] com::sun::star::lang::XEventListener xListener );
109
121 sequence< string > getAvailableServices(
122 [in] string aServiceName,
123 [in] com::sun::star::lang::Locale aLocale );
124
138 void setConfiguredServices(
139 [in] string aServiceName,
140 [in] com::sun::star::lang::Locale aLocale,
141 [in] sequence< string > aServiceImplNames );
142
155 sequence< string > getConfiguredServices(
156 [in] string aServiceName,
157 [in] com::sun::star::lang::Locale aLocale );
158
159};
160
161
162}; }; }; };
163
164#endif
165
166/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
XHyphenator.idl
XSpellChecker.idl
XThesaurus.idl
com::sun::star::lang::XEventListener
base interface for all event listeners interfaces.
Definition: XEventListener.idl:33
com::sun::star::linguistic2::XHyphenator
provides functionality for hyphenation of single words.
Definition: XHyphenator.idl:54
com::sun::star::linguistic2::XLinguServiceManager
the basic interface to be used to access linguistic functionality.
Definition: XLinguServiceManager.idl:59
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:40
com::sun::star::linguistic2::XThesaurus
allows for the retrieval of possible meanings for a given word and language.
Definition: XThesaurus.idl:41
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com
Definition: Accessible.idl:22
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:48
XEventListener.idl