LibreOffice
LibreOffice 7.2 SDK API Reference
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 #ifndef __com_sun_star_linguistic2_XDictionaryList_idl__
20 #define __com_sun_star_linguistic2_XDictionaryList_idl__
21 
25 
26 
27 module com { module sun { module star { module linguistic2 {
28 
40 {
45  short getCount();
46 
54  sequence<com::sun::star::linguistic2::XDictionary> getDictionaries();
55 
68  [in] string aDictionaryName );
69 
84  boolean addDictionary(
86 
103  [in] com::sun::star::linguistic2::XDictionary xDictionary );
104 
128  [in] boolean bReceiveVerbose );
129 
144 
161 
179 
191  short flushEvents();
192 
220  [in] string aName,
221  [in] com::sun::star::lang::Locale aLocale,
223  [in] string aURL );
224 
225 };
226 
227 
228 }; }; }; };
229 
230 #endif
231 
232 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This interfaces allows the object to act according to dictionary-list events.
Definition: XDictionaryListEventListener.idl:40
is used to manage and maintain a list of dictionaries.
Definition: XDictionaryList.idl:40
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:50
base interface of all UNO interfaces
Definition: XInterface.idl:48
DictionaryType
describes the type of a personal dictionary.
Definition: DictionaryType.idl:38
Definition: Ambiguous.idl:22
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:48