interface XPropertyReplace in module com::sun::star::util::

(Global Index)

Syntax

interface XPropertyReplace : com::sun::star::util::XReplaceDescriptor ;

Description

makes it possible to search and replace properties.

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

Method Details



getValueSearch

Syntax

boolean getValueSearch ();

Description

provides the information if specific property values are searched, or just the existence of the specified properties.


setValueSearch

Syntax

void setValueSearch (
boolean bValueSearch );

Description

specifies if specific property values are searched, or just the existence of the specified properties.


getSearchAttributes

Syntax

sequence< com::sun::star::beans::PropertyValue > getSearchAttributes ();

Returns

the attributes to search for.

setSearchAttributes

Syntax

void setSearchAttributes (
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

Syntax

sequence< com::sun::star::beans::PropertyValue > getReplaceAttributes ();

Returns

the attribute values which are used to replace the found occurrences.

setReplaceAttributes

Syntax

void setReplaceAttributes (
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