Overview | Module | Use | Devguide | Index

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

:: 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.

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

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.