enables the object to look for specified contents of the object (in particular, for a text range which contains a specific string pattern). More...
import "XSearchable.idl";
 
  
| Public Member Functions | |
| com::sun::star::util::XSearchDescriptor | createSearchDescriptor () | 
| creates a SearchDescriptor which contains properties that specify a search in this container. | |
| com::sun::star::container::XIndexAccess | findAll ([in] com::sun::star::util::XSearchDescriptor xDesc) | 
| searches the contained texts for all occurrences of whatever is specified. | |
| com::sun::star::uno::XInterface | findFirst ([in] com::sun::star::util::XSearchDescriptor xDesc) | 
| searches the contained texts for the next occurrence of whatever is specified. | |
| com::sun::star::uno::XInterface | findNext ([in] com::sun::star::uno::XInterface xStartAt, [in] com::sun::star::util::XSearchDescriptor xDesc) | 
| searches the contained texts for the next occurrence of whatever is specified. | |
|  Public Member Functions inherited from XInterface | |
| any | queryInterface ([in] type aType) | 
| queries for a new interface to an existing UNO object. | |
| void | acquire () | 
| increases the reference counter by one. | |
| void | release () | 
| decreases the reference counter by one. | |
enables the object to look for specified contents of the object (in particular, for a text range which contains a specific string pattern).
Example: in a com::sun::star::text::TextDocument: set all "search for" to bold using findFirst()/findNext():
| com::sun::star::util::XSearchDescriptor createSearchDescriptor | ( | ) | 
creates a SearchDescriptor which contains properties that specify a search in this container.
| com::sun::star::container::XIndexAccess findAll | ( | [in] com::sun::star::util::XSearchDescriptor | xDesc | ) | 
searches the contained texts for all occurrences of whatever is specified.
| com::sun::star::uno::XInterface findFirst | ( | [in] com::sun::star::util::XSearchDescriptor | xDesc | ) | 
searches the contained texts for the next occurrence of whatever is specified.
| com::sun::star::uno::XInterface findNext | ( | [in] com::sun::star::uno::XInterface | xStartAt, | 
| [in] com::sun::star::util::XSearchDescriptor | xDesc ) | 
searches the contained texts for the next occurrence of whatever is specified.
| xStartAt | represents a position within the component at which the search continues. This position is returned by XSearchable::findFirst() or the previous XSearchable::findNext(). | 
| xDesc | the descriptor used for searching. |