このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XCollator
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: i18n ::

interface XCollator
Description
供給するs 地元の-極度の慎重さを要する collation algorithms for string comparison.
Developers Guide
OfficeDev - 器具/実施するing a New 地元の - XCollator
OfficeDev - Overview and Using the API - XCollator

Methods' 要約
compareSubstring Compare 2 substrings in 明確な/細部 地元の and algorithm.  
compareString Compare 2 strings in 明確な/細部 地元の and algorithm.  
loadDefaultCollator 負担 the collator with default algorithm defined in 地元の data.  
loadCollatorAlgorithm 負担 a particular collator algorithm for the 地元の.  
listCollatorAlgorithms 名簿(に載せる)/表(にあげる) all collator algorithms for a given 地元の.  
loadCollatorAlgorithmWithEndUserOption 負担 a collator algorithm with 選択s chosen by end 使用者.  
listCollatorOptions 名簿(に載せる)/表(にあげる) all end 使用者 collator 選択s for a given algorithm.  
Methods' 詳細(に述べる)s
compareSubstring
long
compareSubstring( [in] string  aStr1,
[in] long  nOff1,
[in] long  nLen1,
[in] string  aStr2,
[in] long  nOff2,
[in] long  nLen2 );

Description
Compare 2 substrings in 明確な/細部 地元の and algorithm.
Parameter aStr1
First string.
Parameter nOff1
相殺する (from 0) of the first string.
Parameter nLen1
Length (from 相殺する) of the first substring.
Parameter aStr2
Second string
Parameter nOff2
相殺する (from 0) of the second string.
Parameter nLen2
Length (from 相殺する) of the second substring.
Returns
1 if the first string is greater than the second string
0 if the first string is equal to the second string
-1 if the first string is いっそう少なく than the second string
compareString
long
compareString( [in] string  aStr1,
[in] string  aStr2 );

Description
Compare 2 strings in 明確な/細部 地元の and algorithm.
Parameter aStr1
First string.
Parameter aStr2
Second string.
Returns
1 if the first string is greater than the second string
0 if the first string is equal to the second string
-1 if the first string is いっそう少なく than the second string
loadDefaultCollator
long
loadDefaultCollator( [in] ::com::sun::星/主役にする::lang::地元の  aLocale,
[in] long  nCollatorOptions );

Description
負担 the collator with default algorithm defined in 地元の data.
Parameter aLocale
The 地元の for this collator.
Parameter nCollatorOptions
A mask of CollatorOptions.
Returns
Returns 0 when 負担ing was successful, さもなければ throws runtime exception. In fact the return value should be ignored and the exception be caught instead.
loadCollatorAlgorithm
long
loadCollatorAlgorithm( [in] string  aAlgorithmName,
[in] ::com::sun::星/主役にする::lang::地元の  aLocale,
[in] long  nCollatorOptions );

Description
負担 a particular collator algorithm for the 地元の.
Parameter aAlgorithmName
The algorithm to 負担.
Parameter aLocale
The 地元の for this collator.
Parameter nCollatorOptions
A mask of CollatorOptions.
Returns
Returns 0 when 負担ing was successful, さもなければ throws runtime exception.
listCollatorAlgorithms
sequence< string >
listCollatorAlgorithms( [in] ::com::sun::星/主役にする::lang::地元の  aLocale );

Description
名簿(に載せる)/表(にあげる) all collator algorithms for a given 地元の.
Parameter aLocale
The 地元の for which to 名簿(に載せる)/表(にあげる) algorithms.
Returns
A sequence of algorithm 指名するs.
loadCollatorAlgorithmWithEndUserOption
無効の
loadCollatorAlgorithmWithEndUserOption( [in] string  aAlgorithmName,
[in] ::com::sun::星/主役にする::lang::地元の  aLocale,
[in] sequence< long >  aCollatorOptions );

Description
負担 a collator algorithm with 選択s chosen by end 使用者.
Parameter aAlgorithmName
The algorithm 指名する to 負担.
Parameter aLocale
The 地元の for this collator.
Parameter aCollatorOptions
A sequence of end 使用者 collator 選択s like those returned by XCollator::listCollatorOptions().
listCollatorOptions
sequence< long >
listCollatorOptions( [in] string  aAlgorithmName );

Description
名簿(に載せる)/表(にあげる) all end 使用者 collator 選択s for a given algorithm.
Parameter aAlgorithmName
The algorithm 指名する for this collator.
Returns
An array of end 使用者 選択s 利用できる for the algorithm.
最高の,を越す of Page

Apache Software Foundation

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The Apache feather logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.