LibreOffice
LibreOffice 7.4 SDK API Reference
XTextConversion.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 #ifndef __com_sun_star_i18n_XTextConversion_idl__
21 #define __com_sun_star_i18n_XTextConversion_idl__
22 
28 
29 
30 
31 module com { module sun { module star { module i18n {
32 
33 
39 {
62  [in] string aText,
63  [in] long nStartPos,
64  [in] long nLength,
65  [in] ::com::sun::star::lang::Locale Locale,
66  [in] short nTextConversionType,
67  [in] long nTextConversionOptions )
70 
94  string getConversion(
95  [in] string aText,
96  [in] long nStartPos,
97  [in] long nLength,
98  [in] ::com::sun::star::lang::Locale Locale,
99  [in] short nTextConversionType,
100  [in] long nTextConversionOptions )
103 
122  [in] ::com::sun::star::lang::Locale Locale,
123  [in] short nTextConversionType,
124  [in] long nTextConversionOptions )
127 };
128 
129 
130 
131 }; }; }; };
132 
133 #endif
134 
135 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition: IllegalArgumentException.idl:31
This exception is thrown when a feature of an interface is not supported.
Definition: NoSupportException.idl:39
Method to convert text from one type to another.
Definition: XTextConversion.idl:39
boolean interactiveConversion([in] ::com::sun::star::lang::Locale Locale, [in] short nTextConversionType, [in] long nTextConversionOptions)
Method to query if the conversion type should be interactive or non-interactive mode.
string getConversion([in] string aText, [in] long nStartPos, [in] long nLength, [in] ::com::sun::star::lang::Locale Locale, [in] short nTextConversionType, [in] long nTextConversionOptions)
Method to search dictionaries for the conversion candidate, if there are multiple candidates,...
TextConversionResult getConversions([in] string aText, [in] long nStartPos, [in] long nLength, [in] ::com::sun::star::lang::Locale Locale, [in] short nTextConversionType, [in] long nTextConversionOptions)
Method to search dictionaries for the conversion candidates.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22
Text conversion result to be used with XTextConversion.
Definition: TextConversionResult.idl:37
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:38