LibreOffice LibreOffice 25.8 SDK API Reference

XConversionDictionaryList.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
22
23module com { module sun { module star { module linguistic2 {
24
34published interface XConversionDictionaryList : com::sun::star::uno::XInterface
35{
55 com::sun::star::container::XNameContainer getDictionaryContainer();
56
81 com::sun::star::linguistic2::XConversionDictionary addNewDictionary(
82 [in] string aName,
83 [in] com::sun::star::lang::Locale aLocale,
84 [in] short nConversionDictionaryType )
85 raises( com::sun::star::lang::NoSupportException,
86 com::sun::star::container::ElementExistException );
87
136 sequence< string > queryConversions(
137 [in] string aText,
138 [in] long nStartPos,
139 [in] long nLength,
140 [in] com::sun::star::lang::Locale aLocale,
141 [in] short nConversionDictionaryType,
142 [in] com::sun::star::linguistic2::ConversionDirection eDirection,
143 [in] long nTextConversionOptions )
144 raises( com::sun::star::lang::IllegalArgumentException,
145 com::sun::star::lang::NoSupportException );
146
167 short queryMaxCharCount(
168 [in] com::sun::star::lang::Locale aLocale,
169 [in] short nConversionDictionaryType,
170 [in] com::sun::star::linguistic2::ConversionDirection eDirection );
171
172};
173
174
175}; }; }; };
176
177/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::container::ElementExistException
is thrown by container methods, if an element is added which is already a child of the container.
Definition: ElementExistException.idl:35
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:27
com::sun::star::lang::NoSupportException
This exception is thrown when a feature of an interface is not supported.
Definition: NoSupportException.idl:35
com::sun::star::container::XNameContainer
This is the generic interface for supporting the insertion and removal of named elements.
Definition: XNameContainer.idl:29
com::sun::star::linguistic2::XConversionDictionaryList
is used to manage and maintain a list of conversion dictionaries.
Definition: XConversionDictionaryList.idl:35
com::sun::star::linguistic2::XConversionDictionaryList::queryConversions
sequence< string > queryConversions([in] string aText, [in] long nStartPos, [in] long nLength, [in] com::sun::star::lang::Locale aLocale, [in] short nConversionDictionaryType, [in] com::sun::star::linguistic2::ConversionDirection eDirection, [in] long nTextConversionOptions)
searches for entries that match the given text.
com::sun::star::linguistic2::XConversionDictionaryList::addNewDictionary
com::sun::star::linguistic2::XConversionDictionary addNewDictionary([in] string aName, [in] com::sun::star::lang::Locale aLocale, [in] short nConversionDictionaryType)
creates a new dictionary and adds it to the dictionary list.
com::sun::star::linguistic2::XConversionDictionaryList::getDictionaryContainer
com::sun::star::container::XNameContainer getDictionaryContainer()
com::sun::star::linguistic2::XConversionDictionaryList::queryMaxCharCount
short queryMaxCharCount([in] com::sun::star::lang::Locale aLocale, [in] short nConversionDictionaryType, [in] com::sun::star::linguistic2::ConversionDirection eDirection)
returns the maximum number of characters used as left or right text in entries.
com::sun::star::linguistic2::XConversionDictionary
Allows the user to access a conversion dictionary.
Definition: XConversionDictionary.idl:43
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:46
com::sun::star::linguistic2::ConversionDirection
ConversionDirection
Conversion direction to be used with XConversionDictionary when looking for conversions.
Definition: ConversionDirection.idl:29
com
Definition: Ambiguous.idl:20
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:34