LibreOffice Module sd (master) 1
Public Member Functions | Private Attributes | List of all members
SdUnoSearchReplaceDescriptor Class Referencefinal

this class holds the parameters and status of a search or replace operation performed by class SdUnoSearchReplaceShape More...

#include <unosrch.hxx>

Inheritance diagram for SdUnoSearchReplaceDescriptor:
[legend]
Collaboration diagram for SdUnoSearchReplaceDescriptor:
[legend]

Public Member Functions

 SdUnoSearchReplaceDescriptor ()
 this class holds the parameters and status of a search or replace operation performed by class SdUnoSearchReplaceShape More...
 
virtual ~SdUnoSearchReplaceDescriptor () noexcept override
 
bool IsCaseSensitive () const
 
bool IsWords () const
 
virtual OUString SAL_CALL getSearchString () override
 
virtual void SAL_CALL setSearchString (const OUString &aString) override
 
virtual OUString SAL_CALL getReplaceString () override
 
virtual void SAL_CALL setReplaceString (const OUString &aReplaceString) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 

Private Attributes

std::unique_ptr< SvxItemPropertySetmpPropSet
 
bool mbBackwards
 
bool mbCaseSensitive
 
bool mbWords
 
OUString maSearchStr
 
OUString maReplaceStr
 

Detailed Description

this class holds the parameters and status of a search or replace operation performed by class SdUnoSearchReplaceShape

Definition at line 73 of file unosrch.hxx.

Constructor & Destructor Documentation

◆ SdUnoSearchReplaceDescriptor()

SdUnoSearchReplaceDescriptor::SdUnoSearchReplaceDescriptor ( )

this class holds the parameters and status of a search or replace operation performed by class SdUnoSearchReplaceShape

Exceptions
css::uno::RuntimeException

Definition at line 638 of file unosrch.cxx.

References SdrObject::GetGlobalDrawObjectItemPool(), ImplGetSearchPropertyMap(), mbBackwards, mbCaseSensitive, mbWords, and mpPropSet.

◆ ~SdUnoSearchReplaceDescriptor()

SdUnoSearchReplaceDescriptor::~SdUnoSearchReplaceDescriptor ( )
overridevirtualnoexcept

Definition at line 647 of file unosrch.cxx.

Member Function Documentation

◆ addPropertyChangeListener()

void SAL_CALL SdUnoSearchReplaceDescriptor::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 733 of file unosrch.cxx.

◆ addVetoableChangeListener()

void SAL_CALL SdUnoSearchReplaceDescriptor::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 735 of file unosrch.cxx.

◆ getPropertySetInfo()

uno::Reference< css::beans::XPropertySetInfo > SAL_CALL SdUnoSearchReplaceDescriptor::getPropertySetInfo ( )
overridevirtual

Definition at line 674 of file unosrch.cxx.

References mpPropSet.

◆ getPropertyValue()

uno::Any SAL_CALL SdUnoSearchReplaceDescriptor::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

◆ getReplaceString()

OUString SAL_CALL SdUnoSearchReplaceDescriptor::getReplaceString ( )
overridevirtual

Definition at line 663 of file unosrch.cxx.

References maReplaceStr.

Referenced by SdUnoSearchReplaceShape::replaceAll().

◆ getSearchString()

OUString SAL_CALL SdUnoSearchReplaceDescriptor::getSearchString ( )
overridevirtual

Definition at line 652 of file unosrch.cxx.

References maSearchStr.

Referenced by SdUnoSearchReplaceShape::Search().

◆ IsCaseSensitive()

bool SdUnoSearchReplaceDescriptor::IsCaseSensitive ( ) const
inline

Definition at line 89 of file unosrch.hxx.

Referenced by SdUnoSearchReplaceShape::Search().

◆ IsWords()

bool SdUnoSearchReplaceDescriptor::IsWords ( ) const
inline

Definition at line 90 of file unosrch.hxx.

Referenced by SdUnoSearchReplaceShape::Search().

◆ removePropertyChangeListener()

void SAL_CALL SdUnoSearchReplaceDescriptor::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 734 of file unosrch.cxx.

◆ removeVetoableChangeListener()

void SAL_CALL SdUnoSearchReplaceDescriptor::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 736 of file unosrch.cxx.

◆ setPropertyValue()

void SAL_CALL SdUnoSearchReplaceDescriptor::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ setReplaceString()

void SAL_CALL SdUnoSearchReplaceDescriptor::setReplaceString ( const OUString &  aReplaceString)
overridevirtual

Definition at line 668 of file unosrch.cxx.

References maReplaceStr.

◆ setSearchString()

void SAL_CALL SdUnoSearchReplaceDescriptor::setSearchString ( const OUString &  aString)
overridevirtual

Definition at line 657 of file unosrch.cxx.

References maSearchStr.

Member Data Documentation

◆ maReplaceStr

OUString SdUnoSearchReplaceDescriptor::maReplaceStr
private

Definition at line 82 of file unosrch.hxx.

Referenced by getReplaceString(), and setReplaceString().

◆ maSearchStr

OUString SdUnoSearchReplaceDescriptor::maSearchStr
private

Definition at line 81 of file unosrch.hxx.

Referenced by getSearchString(), and setSearchString().

◆ mbBackwards

bool SdUnoSearchReplaceDescriptor::mbBackwards
private

Definition at line 77 of file unosrch.hxx.

Referenced by getPropertyValue(), SdUnoSearchReplaceDescriptor(), and setPropertyValue().

◆ mbCaseSensitive

bool SdUnoSearchReplaceDescriptor::mbCaseSensitive
private

Definition at line 78 of file unosrch.hxx.

Referenced by getPropertyValue(), SdUnoSearchReplaceDescriptor(), and setPropertyValue().

◆ mbWords

bool SdUnoSearchReplaceDescriptor::mbWords
private

Definition at line 79 of file unosrch.hxx.

Referenced by getPropertyValue(), SdUnoSearchReplaceDescriptor(), and setPropertyValue().

◆ mpPropSet

std::unique_ptr<SvxItemPropertySet> SdUnoSearchReplaceDescriptor::mpPropSet
private

The documentation for this class was generated from the following files: