:: com :: sun :: star :: util ::
|
interface XReplaceable |
- Base Interfaces
XReplaceable
┗ XSearchable
XSearchable |
- (referenced interface's summary:)
- enables the object to look for specified contents of the object
(in particular, for a text range which contains a specific string pattern).
|
|
- 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
- Text - Navigating - Search and Replace
- Spreadsheets - 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. |
Top of Page
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.