Methods' 要約 |
nextCharacters |
横断するs 明示するd number of characters/独房s in Text from
nStartPos 今後s.
CharacterIteratorMode can be 独房 based or
character based. A 独房 is made of more than one character.
|
previousCharacters |
横断するs 明示するd number of characters/独房s in Text from
nStartPos backwards.
CharacterIteratorMode can be 独房 based or
character based. A 独房 is made of more than one character.
|
nextWord |
横断するs one word in Text from nStartPos 今後s.
|
previousWord |
横断するs one word in Text from nStartPos backwards.
|
getWordBoundary |
Identifies StartPos and EndPos of 現在の word.
|
getWordType |
[ DEPRECATED ]
|
isBeginWord |
If a word starts at position nPos.
|
isEndWord |
If a word ends at position nPos.
|
beginOfSentence |
横断するs in Text from nStartPos to the start of a
宣告,判決.
|
endOfSentence |
横断するs in Text from nStartPos to the end of a
宣告,判決.
|
getLineBreak |
Calculate the line break position in the Text from the 明示するd
nStartPos.
|
beginOfScript |
横断するs in Text from nStartPos to the beginning of
the 明示するd script type.
|
endOfScript |
横断するs in Text from nStartPos to the end of the
明示するd script type.
|
nextScript |
横断するs in Text from nStartPos to the next start of
the 明示するd script type.
|
previousScript |
横断するs in Text from nStartPos to the previous start
of the 明示するd script type.
|
getScriptType |
Get the script type of the character at position nPos.
|
beginOfCharBlock |
横断するs in Text from nStartPos to the beginning of
the 明示するd character type.
|
endOfCharBlock |
横断するs in Text from nStartPos to the end of the
明示するd character type.
|
nextCharBlock |
横断するs in Text from nStartPos to the next start of
the 明示するd character type.
|
previousCharBlock |
横断するs in Text from nStartPos to the previous start
of the 明示するd character type.
|
Methods' 詳細(に述べる)s |
nextCharacters
long |
nextCharacters( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nCharacterIteratorMode, |
| [in] long |
nCount, |
| [out] long |
nDone ); |
- Description
- 横断するs 明示するd number of characters/独房s in Text from
nStartPos 今後s.
CharacterIteratorMode can be 独房 based or
character based. A 独房 is made of more than one character.
- Parameter nCount
- Number of characters to 横断する, it should not be いっそう少なく than 0.
If you want to 横断する in the opposite direction use
XBreakIterator::previousCharacters() instead.
|
|
previousCharacters
long |
previousCharacters( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nCharacterIteratorMode, |
| [in] long |
nCount, |
| [out] long |
nDone ); |
- Description
- 横断するs 明示するd number of characters/独房s in Text from
nStartPos backwards.
CharacterIteratorMode can be 独房 based or
character based. A 独房 is made of more than one character.
- Parameter nCount
- Number of characters to 横断する, it should not be いっそう少なく than 0.
If you want to 横断する in the opposite direction use
XBreakIterator::nextCharacters() instead.
|
|
nextWord
境界 |
nextWord( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nWordType ); |
- Description
- 横断するs one word in Text from nStartPos 今後s.
- Parameter nWordType
- One of WordType, 明示するs the type of
travelling.
- Returns
- The 境界 of the 設立する word. 普通は used for
CTRL-権利.
|
|
previousWord
境界 |
previousWord( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nWordType ); |
- Description
- 横断するs one word in Text from nStartPos backwards.
- Parameter aLocale
- The 地元の of the character 先行する nStartPos.
If the previous character is a space character and
nWordType 示すs spaces should be skipped, and
if the first 非,不,無-space character is an Asian character,
then, since Asian word break needs language 明確な/細部
wordbreak dictionaries, the method will return -1 in
境界::endPos and the position after the
Asian character (i.e. the space character) in
境界::startPos. The 報知係 then has to
call this method again with a 訂正する aLocale
referring to the Asian character, which is then the previous
character of the space character where nStartPos
points to.
公式文書,認める that the OpenOffice.org 1.0 / StarOffice 6.0
/ StarSuite 6.0 i18n 枠組み doesn't behave like this and
mixed Western/CJK text may lead to wrong word iteration.
This is 直す/買収する,八百長をするd in later 見解/翻訳/版s.
- Parameter nWordType
- One of WordType, 明示するs the type of
travelling.
- Returns
- The 境界 of the 設立する word. 普通は used for
CTRL-Left.
|
|
getWordBoundary
境界 |
getWordBoundary( |
[in] string |
aText, |
| [in] long |
nPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nWordType, |
| [in] boolean |
bPreferForward ); |
- Description
- Identifies StartPos and EndPos of 現在の word.
If nPos is the 境界 of a word, it is StartPos
of one word and EndPos of previous word. In this 状況/情勢, the
結果 of the algorithm can be indeterminate. In this 状況/情勢
the bPreferForward 旗 is used. If bPreferForward ==
誤った, nPos is considered to be the end of the word
and we look backwards for beginning of word, さもなければ
nPos is considered to be the start of the next word and
we look 今後s for the end of the word.
- Parameter nWordType
- One of WordType.
- Returns
- The 境界 of the 現在の word.
|
|
getWordType
short |
getWordType( |
[in] string |
aText, |
| [in] long |
nPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale ); |
- Usage 制限s
- deprecated
- Deprecation Info
- Get the WordType of the word that starts at
position nPos.
This method is mis-defined, since WordType
is not an せいにする of a word, but a way to break words,
like 除外するing or 含むing tail spaces for spellchecker
or cursor traveling. It returns 0 always.
|
|
isBeginWord
boolean |
isBeginWord( |
[in] string |
aText, |
| [in] long |
nPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nWordType ); |
- Description
- If a word starts at position nPos.
It is possible that both of this method
and に引き続いて method isEndWord all return
true, since StartPos of a word is inclusive
while EndPos of a word is 排除的.
|
|
isEndWord
boolean |
isEndWord( |
[in] string |
aText, |
| [in] long |
nPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nWordType ); |
- Description
- If a word ends at position nPos.
|
|
beginOfSentence
long |
beginOfSentence( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale ); |
- Description
- 横断するs in Text from nStartPos to the start of a
宣告,判決.
- Returns
- The position where the 宣告,判決 starts.
|
|
endOfSentence
long |
endOfSentence( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale ); |
- Description
- 横断するs in Text from nStartPos to the end of a
宣告,判決.
- Returns
- The position where the 宣告,判決 ends.
|
|
getLineBreak
- Description
- Calculate the line break position in the Text from the 明示するd
nStartPos.
- Parameter nMinBreakPos
- Defines a 最小限 break position for hyphenated line break.
When the position for hyphenated line break is いっそう少なく than
nMinBreakPos, break position in
LineBreakResults is 始める,決める to -1.
- Parameter aHyphOptions
- Defines if the hyphenator is to be used.
- Parameter aUserOptions
- Defines how to 扱う hanging punctuations and forbidden
characters at the start/end of a line.
- Returns
- The LineBreakResults 含む/封じ込める the break
position of the line, BreakType and
::com::sun::星/主役にする::linguistic2::XHyphenatedWord
|
|
beginOfScript
long |
beginOfScript( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] short |
nScriptType ); |
- Description
- 横断するs in Text from nStartPos to the beginning of
the 明示するd script type.
- Parameter nScriptType
- One of ScriptType.
- Returns
- The position where the script type starts.
|
|
endOfScript
long |
endOfScript( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] short |
nScriptType ); |
- Description
- 横断するs in Text from nStartPos to the end of the
明示するd script type.
- Parameter nScriptType
- One of ScriptType.
- Returns
- The position where the script type ends.
|
|
nextScript
long |
nextScript( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] short |
nScriptType ); |
- Description
- 横断するs in Text from nStartPos to the next start of
the 明示するd script type.
- Parameter nScriptType
- One of ScriptType.
- Returns
- The position where the next script type starts.
|
|
previousScript
long |
previousScript( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] short |
nScriptType ); |
- Description
- 横断するs in Text from nStartPos to the previous start
of the 明示するd script type.
- Parameter nScriptType
- One of ScriptType.
- Returns
- The position where the previous script type starts.
|
|
getScriptType
short |
getScriptType( |
[in] string |
aText, |
| [in] long |
nPos ); |
- Description
- Get the script type of the character at position nPos.
- Returns
- One of ScriptType.
|
|
beginOfCharBlock
long |
beginOfCharBlock( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nCharType ); |
- Description
- 横断するs in Text from nStartPos to the beginning of
the 明示するd character type.
- Parameter nCharType
- One of CharType
- Returns
- The position where the character type starts
|
|
endOfCharBlock
long |
endOfCharBlock( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nCharType ); |
- Description
- 横断するs in Text from nStartPos to the end of the
明示するd character type.
- Parameter nCharType
- One of CharType
- Returns
- The position where the character type ends.
|
|
nextCharBlock
long |
nextCharBlock( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nCharType ); |
- Description
- 横断するs in Text from nStartPos to the next start of
the 明示するd character type.
- Parameter nCharType
- One of CharType
- Returns
- The position where the next character type starts.
|
|
previousCharBlock
long |
previousCharBlock( |
[in] string |
aText, |
| [in] long |
nStartPos, |
| [in] ::com::sun::星/主役にする::lang::地元の |
aLocale, |
| [in] short |
nCharType ); |
- Description
- 横断するs in Text from nStartPos to the previous start
of the 明示するd character type.
- Parameter nCharType
- One of CharType
- Returns
- The position where the previous character type starts.
|
|
Copyright © 2013, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.