23#include <com/sun/star/util/XReplaceable.hpp>
24#include <com/sun/star/util/XReplaceDescriptor.hpp>
47 static css::uno::Reference< css::drawing::XShape >
GetShape(
const css::uno::Reference< css::text::XTextRange >& xTextRange )
noexcept;
48 css::uno::Reference< css::drawing::XShape >
GetNextShape(
const css::uno::Reference< css::container::XIndexAccess >& xShapes,
const css::uno::Reference< css::drawing::XShape >& xCurrentShape )
noexcept;
49 css::uno::Reference< css::drawing::XShape >
GetCurrentShape() const noexcept;
59 virtual sal_Int32 SAL_CALL
replaceAll( const css::
uno::Reference< css::util::XSearchDescriptor >& xDesc ) override;
63 virtual css::
uno::Reference< css::container::XIndexAccess > SAL_CALL
findAll( const css::
uno::Reference< css::util::XSearchDescriptor >& xDesc ) override;
64 virtual css::
uno::Reference< css::
uno::
XInterface > SAL_CALL
findFirst( const css::
uno::Reference< css::util::XSearchDescriptor >& xDesc ) override;
89 bool IsCaseSensitive()
const {
return mbCaseSensitive; }
93 virtual OUString SAL_CALL getSearchString( )
override;
94 virtual void SAL_CALL setSearchString(
const OUString& aString )
override;
97 virtual OUString SAL_CALL getReplaceString( )
override;
98 virtual void SAL_CALL setReplaceString(
const OUString& aReplaceString )
override;
101 virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( )
override;
102 virtual void SAL_CALL
setPropertyValue(
const OUString& aPropertyName,
const css::uno::Any& aValue )
override;
103 virtual css::uno::Any SAL_CALL
getPropertyValue(
const OUString& PropertyName )
override;
104 virtual void SAL_CALL addPropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& xListener )
override;
105 virtual void SAL_CALL removePropertyChangeListener(
const OUString& aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener >& aListener )
override;
106 virtual void SAL_CALL addVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
107 virtual void SAL_CALL removeVetoableChangeListener(
const OUString& PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener >& aListener )
override;
116 css::uno::Sequence< css::uno::Reference< css::uno::XInterface > >
maSequence;
119 SdUnoFindAllAccess( css::uno::Sequence< css::uno::Reference< css::uno::XInterface > >
const & rSequence )
noexcept;
123 virtual sal_Int32 SAL_CALL getCount() override ;
124 virtual css::
uno::Any SAL_CALL getByIndex( sal_Int32
Index ) override;
127 virtual css::
uno::
Type SAL_CALL getElementType() override;
128 virtual
sal_Bool SAL_CALL hasElements() override;
this class holds a sequence that is a result from a find all and lets people access it through the XI...
css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > maSequence
this class holds the parameters and status of a search or replace operation performed by class SdUnoS...
std::unique_ptr< SvxItemPropertySet > mpPropSet
this class implements a search or replace operation on a given page or a given sdrobj
css::uno::Reference< css::drawing::XShape > GetNextShape(const css::uno::Reference< css::container::XIndexAccess > &xShapes, const css::uno::Reference< css::drawing::XShape > &xCurrentShape) noexcept
this method returns the shape that follows xCurrentShape in the shape collection xShapes.
virtual css::uno::Reference< css::util::XSearchDescriptor > SAL_CALL createSearchDescriptor() override
css::uno::Reference< css::drawing::XShape > GetCurrentShape() const noexcept
static ESelection GetSelection(const css::uno::Reference< css::text::XTextRange > &xTextRange) noexcept
virtual sal_Int32 SAL_CALL replaceAll(const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL findNext(const css::uno::Reference< css::uno::XInterface > &xStartAt, const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
css::drawing::XDrawPage * mpPage
virtual css::uno::Reference< css::container::XIndexAccess > SAL_CALL findAll(const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
static css::uno::Reference< css::drawing::XShape > GetShape(const css::uno::Reference< css::text::XTextRange > &xTextRange) noexcept
css::uno::Reference< css::text::XTextRange > Search(const css::uno::Reference< css::text::XTextRange > &xText, SdUnoSearchReplaceDescriptor *pDescr)
virtual css::uno::Reference< css::util::XReplaceDescriptor > SAL_CALL createReplaceDescriptor() override
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL findFirst(const css::uno::Reference< css::util::XSearchDescriptor > &xDesc) override
VBAHELPER_DLLPUBLIC bool setPropertyValue(css::uno::Sequence< css::beans::PropertyValue > &aProp, const OUString &aName, const css::uno::Any &aValue)
bool getPropertyValue(ValueType &rValue, css::uno::Reference< css::beans::XPropertySet > const &xPropSet, OUString const &propName)