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.
|