LibreOffice
LibreOffice 24.2 SDK API Reference
|
enables an object to search in its content. More...
import"XTextSearch.idl";
Public Member Functions | |
void | setOptions ([in] SearchOptions options) |
set the options for the forward or backward search. More... | |
SearchResult | searchForward ([in] string searchStr, [in] long startPos, [in] long endPos) |
search forward in the searchStr, starts at startPos and ends by endpos. More... | |
SearchResult | searchBackward ([in] string searchStr, [in] long startPos, [in] long endPos) |
search backward in the searchStr, starts at startPos and ends by endpos. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
enables an object to search in its content.
SearchResult searchBackward | ( | [in] string | searchStr, |
[in] long | startPos, | ||
[in] long | endPos | ||
) |
search backward in the searchStr, starts at startPos and ends by endpos.
The endpos must be lower than the startpos, because the function searches backward! The result is returned in the SearchResult.
SearchResult searchForward | ( | [in] string | searchStr, |
[in] long | startPos, | ||
[in] long | endPos | ||
) |
search forward in the searchStr, starts at startPos and ends by endpos.
The result is returned in the SearchResult.
void setOptions | ( | [in] SearchOptions | options | ) |
set the options for the forward or backward search.