Language
Asturianu (ast)
Català (ca)
Čeština (cs)
Dansk (da)
Deutsch (de)
English [US] (en-US)
Español (es)
Esperanto (eo)
Eesti keel (et)
Euskara (eu)
Français (fr)
Gàidhlig (gd)
Galego (gl)
Italiano (it)
Lietuvių (lt)
Magyar (hu)
Nederlands (nl)
Norsk (no)
Polski (pl)
Português [do Brasil] (pt-BR)
Português [Europeu] (pt)
Română (ro)
Slovenčina (sk)
Slovenščina (sl)
Suomi (fi)
Svenska (sv)
Yкраїнська (uk)
Tiếng Việt (vi)
Türkçe (tr)
ኦሮሚኛ (om)
Հայերեն (hy)
Ελληνικά (el)
български език (bg)
Русский (ru)
Cрпски [ћирилицом] (sr)
עברית (he)
हिन्दी (hi)
ភាសាខ្មែរ (km)
தமிழ் (ta)
ภาษาไทย (th)
简体中文 (zh-CN)
正體中文 (zh-TW)
日本語 (ja)
한국어 (ko)
The Free and Open Productivity Suite
:: com :: sun :: star :: i18n ::
interface XExtendedTextConversion
Base Interfaces
XExtendedTextConversion
┗ XTextConversion
XTextConversion
(referenced interface's summary:)
Method to convert text from one type to another
Description
This interface provides Text Conversion service.
It is derived from
XTextConversion and provides
a new conversion function containing position map (offset) between original
and conveted string.
Since
OOo 2.0
Methods' Details
getConversionWithOffset
string
getConversionWithOffset (
[in] string
aText,
[in] long
nStartPos,
[in] long
nLength,
[in] ::com::sun::star::lang ::Locale
aLocale,
[in] short
nTextConversionType,
[in] long
nTextConversionOptions,
[out] sequence< long >
rOffset )
raises(
::com::sun::star::lang ::IllegalArgumentException ,
::com::sun::star::lang ::NoSupportException );
Description
The functionality of this method is same as
XTextConversion ::getConversion() ,
except an additional output parameter rOffset.
Parameter rOffset
To find the grapheme of input string corresponding to the
grapheme of output string, rOffset provides the offset array
whose index is the offset of output string, the element
containing the position within the input string.
When the graphemes of input and output strings are simple
one to one mapping, to improve the performance, returned
rOffset will be a zero length array.
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.