(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

interface XPropertyReplace
Base Interfaces
XPropertyReplaceXReplaceDescriptorXSearchDescriptor
      ┗ ::com::sun::star::beans::XPropertySet

XReplaceDescriptor
(referenced interface's summary:)
specifies a string replace operation.
Description
makes it possible to search and replace properties.

Methods' Summary
getValueSearch provides the information if specific property values are searched, or just the existence of the specified properties.  
setValueSearch specifies if specific property values are searched, or just the existence of the specified properties.  
getSearchAttributes  
setSearchAttributes sets the properties to search for.  
getReplaceAttributes  
setReplaceAttributes sets the properties to replace the found occurrences.  
Methods' Details
getValueSearch
boolean
getValueSearch();

Description
provides the information if specific property values are searched, or just the existence of the specified properties.
setValueSearch
void
setValueSearch( [in] boolean  bValueSearch );

Description
specifies if specific property values are searched, or just the existence of the specified properties.
getSearchAttributes
sequence< ::com::sun::star::beans::PropertyValue >
getSearchAttributes();

Returns
the attributes to search for.
setSearchAttributes
void
setSearchAttributes( [in] sequence< ::com::sun::star::beans::PropertyValue >  aSearchAttribs )
raises( ::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::IllegalArgumentException );

Description
sets the properties to search for.
getReplaceAttributes
sequence< ::com::sun::star::beans::PropertyValue >
getReplaceAttributes();

Returns
the attribute values which are used to replace the found occurrences.
setReplaceAttributes
void
setReplaceAttributes( [in] sequence< ::com::sun::star::beans::PropertyValue >  aSearchAttribs )
raises( ::com::sun::star::beans::UnknownPropertyException,
::com::sun::star::lang::IllegalArgumentException );

Description
sets the properties to replace the found occurrences.
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.