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

翻訳前ページへ


Interface XSearchable
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XSearchable
Description
enables the 反対する to look for 明示するd contents of the 反対する (in particular, for a text 範囲 which 含む/封じ込めるs a 明確な/細部 string pattern).
Example
in a ::com::sun::星/主役にする::text::TextDocument: 始める,決める all "search for" to bold using findFirst()/findNext():
 xSearchDescr = xDocument.createSearchDescriptor()
 xSearchDescr.SearchString = "search for"
 xSearchDescr.SearchCaseSensitive = true
 xSearchDescr.SearchWords = true
 xFound = xDocument.findFirst( xSearchDescr )
 do while not IsNull(xFound)
 xFound.CharWeight = com.sun.星/主役にする.awt.FontWeight.BOLD
 xFound = xDocument.findNext( xFound.End, xSearchDescr )
 宙返り飛行
 
Developers Guide
Text - Navigating - Search and 取って代わる

Methods' 要約
createSearchDescriptor creates a SearchDescriptor which 含む/封じ込めるs 所有物/資産/財産s that 明示する a search in this コンテナ. 
findAll searches the 含む/封じ込めるd texts for all occurrences of whatever is 明示するd. 
findFirst searches the 含む/封じ込めるd texts for the next occurrence of whatever is 明示するd.  
findNext searches the 含む/封じ込めるd texts for the next occurrence of whatever is 明示するd.  
Methods' 詳細(に述べる)s
createSearchDescriptor
XSearchDescriptor
createSearchDescriptor();

Description
creates a SearchDescriptor which 含む/封じ込めるs 所有物/資産/財産s that 明示する a search in this コンテナ.
See also
SearchDescriptor
findAll
::com::sun::星/主役にする::コンテナ::XIndexAccess
findAll( [in] XSearchDescriptor  xDesc );

Description
searches the 含む/封じ込めるd texts for all occurrences of whatever is 明示するd.
See also
SearchDescriptor
findFirst
::com::sun::星/主役にする::uno::XInterface
findFirst( [in] XSearchDescriptor  xDesc );

Description
searches the 含む/封じ込めるd texts for the next occurrence of whatever is 明示するd.
Returns
the position within the 構成要素, e.g. a ::com::sun::星/主役にする::text::XTextRange which 決定するs the 設立する elements.
See also
SearchDescriptor
findNext
::com::sun::星/主役にする::uno::XInterface
findNext( [in] ::com::sun::星/主役にする::uno::XInterface  xStartAt,
[in] XSearchDescriptor  xDesc );

Description
searches the 含む/封じ込めるd texts for the next occurrence of whatever is 明示するd.
Parameter xStartAt
代表するs a position within the 構成要素 at which the search continues. This position is returned by XSearchable::findFirst or the previous XSearchable::findNext.
See also
SearchDescriptor
最高の,を越す 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.