19#ifndef INCLUDED_SW_INC_UNOSRCH_HXX
20#define INCLUDED_SW_INC_UNOSRCH_HXX
22#include <com/sun/star/util/XPropertyReplace.hpp>
23#include <com/sun/star/lang/XServiceInfo.hpp>
25#include <rtl/ustring.hxx>
33 struct SearchOptions2;
38 css::util::XPropertyReplace,
39 css::lang::XServiceInfo
71 virtual void SAL_CALL
setSearchString(
const OUString& aString )
override;
75 virtual void SAL_CALL
setReplaceString(
const OUString& aReplaceString)
override;
78 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL
getPropertySetInfo( )
override;
79 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
80 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
81 virtual void SAL_CALL
addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
82 virtual void SAL_CALL
removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
83 virtual void SAL_CALL
addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
84 virtual void SAL_CALL
removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
89 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
getSearchAttributes()
override;
90 virtual void SAL_CALL
setSearchAttributes(
const css::uno::Sequence< css::beans::PropertyValue >& aSearchAttribs)
override;
91 virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL
getReplaceAttributes()
override;
92 virtual void SAL_CALL
setReplaceAttributes(
const css::uno::Sequence< css::beans::PropertyValue >& aSearchAttribs)
override;
void FillSearchItemSet(SfxItemSet &rSet) const
void FillSearchOptions(i18nutil::SearchOptions2 &rSearchOpt) const
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
virtual OUString SAL_CALL getImplementationName() override
virtual void SAL_CALL setPropertyValue(const OUString &aPropertyName, const css::uno::Any &aValue) override
virtual void SAL_CALL addVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
virtual void SAL_CALL addPropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
virtual OUString SAL_CALL getSearchString() override
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() override
void FillReplaceItemSet(SfxItemSet &rSet) const
virtual ~SwXTextSearch() override
bool HasReplaceAttributes() const
virtual sal_Bool SAL_CALL getValueSearch() override
virtual void SAL_CALL setValueSearch(sal_Bool ValueSearch_) override
virtual void SAL_CALL removeVetoableChangeListener(const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
bool HasSearchAttributes() const
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getSearchAttributes() override
std::unique_ptr< SwSearchProperties_Impl > m_pSearchProperties
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual void SAL_CALL setSearchAttributes(const css::uno::Sequence< css::beans::PropertyValue > &aSearchAttribs) override
virtual OUString SAL_CALL getReplaceString() override
std::unique_ptr< SwSearchProperties_Impl > m_pReplaceProperties
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getReplaceAttributes() override
const SfxItemPropertySet * m_pPropSet
virtual void SAL_CALL setSearchString(const OUString &aString) override
virtual void SAL_CALL setReplaceString(const OUString &aReplaceString) override
virtual void SAL_CALL removePropertyChangeListener(const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
virtual void SAL_CALL setReplaceAttributes(const css::uno::Sequence< css::beans::PropertyValue > &aSearchAttribs) override
virtual css::uno::Any SAL_CALL getPropertyValue(const OUString &PropertyName) override