Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: util ::
interface XTextSearch
Description enables an object to search in its content.

Methods' Summary
setOptions | set the options for the forward or backward search.
searchForward | search forward in the searchStr, starts at startPos and ends by endpos. The result is returned in the SearchResult.
searchBackward | search backward in the searchStr, starts at startPos and ends by endpos. The endpos must be lower then the startpos, because the function searches backward! The result is returned in the SearchResult.

Methods' Details
setOptions
void
setOptions( | [in] SearchOptions | options );
Description set the options for the forward or backward search.
searchForward
SearchResult
searchForward( | [in] string | searchStr,
| [in] long | startPos,
| [in] long | endPos );
Description search forward in the searchStr, starts at startPos and ends by endpos. The result is returned in the SearchResult.
searchBackward
SearchResult
searchBackward( | [in] string | searchStr,
| [in] long | startPos,
| [in] long | endPos );
Description search backward in the searchStr, starts at startPos and ends by endpos. The endpos must be lower then the startpos, because the function searches backward! The result is returned in the SearchResult.

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.