LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
XDictionaryList.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
21module com { module sun { module star { module linguistic2 {
22
34{
39 short getCount();
40
48 sequence<com::sun::star::linguistic2::XDictionary> getDictionaries();
49
62 [in] string aDictionaryName );
63
80
98
122 [in] boolean bReceiveVerbose );
123
138
155
173
185 short flushEvents();
186
214 [in] string aName,
215 [in] com::sun::star::lang::Locale aLocale,
217 [in] string aURL );
218
219};
220
221
222}; }; }; };
223
224/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This interfaces allows the object to act according to dictionary-list events.
Definition XDictionaryListEventListener.idl:35
is used to manage and maintain a list of dictionaries.
Definition XDictionaryList.idl:34
sequence< com::sun::star::linguistic2::XDictionary > getDictionaries()
boolean removeDictionary([in] com::sun::star::linguistic2::XDictionary xDictionary)
removes a single dictionary from the list.
short beginCollectEvents()
increases request level for event buffering by one.
short endCollectEvents()
flushes the event buffer and decreases the request level for event buffering by one.
com::sun::star::linguistic2::XDictionary getDictionaryByName([in] string aDictionaryName)
searches the list for a dictionary with a given name.
com::sun::star::linguistic2::XDictionary createDictionary([in] string aName, [in] com::sun::star::lang::Locale aLocale, [in] com::sun::star::linguistic2::DictionaryType eDicType, [in] string aURL)
creates a new dictionary.
boolean addDictionary([in] com::sun::star::linguistic2::XDictionary xDictionary)
adds a dictionary to the list.
boolean removeDictionaryListEventListener([in] com::sun::star::linguistic2::XDictionaryListEventListener xListener)
removes an entry from the list of dictionary-list event listeners.
boolean addDictionaryListEventListener([in] com::sun::star::linguistic2::XDictionaryListEventListener xListener, [in] boolean bReceiveVerbose)
adds an entry to the list of dictionary-list event listeners.
short flushEvents()
notifies the listeners of all buffered events and then clears that buffer.
This interfaces enables the object to access personal dictionaries.
Definition XDictionary.idl:42
base interface of all UNO interfaces
Definition XInterface.idl:46
DictionaryType
describes the type of a personal dictionary.
Definition DictionaryType.idl:36
Definition Ambiguous.idl:20
object represents a specific geographical, political, or cultural region.
Definition Locale.idl:34