Syntax
interface XReplaceable : com::sun::star::util::XSearchable ;
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 )
Method Summary
|
createReplaceDescriptor |
creates a descriptor which contains properties that
specify a search in this container. |
|
replaceAll |
searches for all occurrences of whatever is specified. |
|
Known Services Which Export this Interface
|
com::sun::star::text::AdvancedTextDocument -
com::sun::star::text::TextDocument -
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.