:: com :: sun :: star :: util ::

interface XReplaceable
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XSearchable
    |
    +-XReplaceable
Description
makes it possible to replace strings in a text described by a SearchDescriptor .
Example
 'replace all bold words "search for" by "look for"
 xReplaceDescr = xDocument.createReplaceDescriptor()
 xReplaceDescr.SearchString = "search for"
 xReplaceDescr.ReplaceString = "look for"
 xFound = xDocument.replaceAll( xReplaceDescr )
Developers Guide
8.3.3 Spreadsheet Documents - Working with Spreadsheet Documents - Navigating - Search and Replace
7.3.3 Text Documents - Working with Text Documents - Navigating - Search and Replace

Methods' Summary
createReplaceDescriptor creates a descriptor which contains properties that specify a search in this container.
replaceAll searches for all occurrences of whatever is specified.
Methods' Details
createReplaceDescriptor
XReplaceDescriptor
createReplaceDescriptor();
 
 

Description
creates a descriptor which contains properties that specify a search in this container.
See also
SearchDescriptor
replaceAll
long
replaceAll(
 
[in] XSearchDescriptor
 
xDesc );

Description
searches for all occurrences of whatever is specified.
See also
SearchDescriptor
Top of Page