LibreOffice
LibreOffice 5.3 SDK API Reference
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
com
sun
star
i18n
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
23
#include <
com/sun/star/uno/XInterface.idl
>
24
#include <
com/sun/star/lang/Locale.idl
>
25
#include <
com/sun/star/i18n/TextConversionResult.idl
>
26
#include <
com/sun/star/lang/IllegalArgumentException.idl
>
27
#include <
com/sun/star/lang/NoSupportException.idl
>
28
29
30
31
module com { module sun { module star { module i18n {
32
33
38
published
interface
XTextConversion
:
::com::sun::star::uno::XInterface
39
{
61
TextConversionResult
getConversions(
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 )
68
raises(
com::sun::star::lang::IllegalArgumentException
,
69
com::sun::star::lang::NoSupportException
);
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 )
101
raises(
com::sun::star::lang::IllegalArgumentException
,
102
com::sun::star::lang::NoSupportException
);
103
121
boolean
interactiveConversion(
122
[in] ::
com::sun::star::lang::Locale
Locale,
123
[in]
short
nTextConversionType,
124
[in]
long
nTextConversionOptions )
125
raises(
com::sun::star::lang::IllegalArgumentException
,
126
com::sun::star::lang::NoSupportException
);
127
};
128
129
130
131
}; }; }; };
132
133
#endif
134
135
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
IllegalArgumentException.idl
TextConversionResult.idl
com::sun::star::i18n::TextConversionResult
Text conversion result to be used with XTextConversion.
Definition:
TextConversionResult.idl:36
com::sun::star::i18n::XTextConversion
Method to convert text from one type to another.
Definition:
XTextConversion.idl:38
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition:
Locale.idl:52
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition:
IllegalArgumentException.idl:29
Locale.idl
XInterface.idl
com::sun::star::lang::NoSupportException
This exception is thrown when a feature of an interface is not supported.
Definition:
NoSupportException.idl:38
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition:
XInterface.idl:47
NoSupportException.idl
Generated by
1.8.5