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

翻訳前ページへ


Interface XTextRangeCompare
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XTextRangeCompare
Description
compares the positions of two TextRanges within a Text.

Only TextRange instances within the same Text can be compared.


Methods' 要約
compareRegionStarts  
compareRegionEnds  
Methods' 詳細(に述べる)s
compareRegionStarts
short
compareRegionStarts( [in] XTextRange  xR1,
[in] XTextRange  xR2 )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Returns
1 if xR1 starts before xR2, 0 if xR1 starts at the same position as xR2 and -1 if xR1 starts behind xR2.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if either xR1 or xR2 is not within this text.
compareRegionEnds
short
compareRegionEnds( [in] XTextRange  xR1,
[in] XTextRange  xR2 )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException );

Returns
1, if xR1 ends before xR2, 0, if xR1 ends at the same position as xR2 and -1, if xR1 ends behind xR2.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if either xR1 or xR2 is not within this text.
最高の,を越す 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.