19#ifndef INCLUDED_SVL_SRCHITEM_HXX
20#define INCLUDED_SVL_SRCHITEM_HXX
24#include <com/sun/star/util/SearchAlgorithms2.hpp>
25#include <com/sun/star/util/SearchFlags.hpp>
100 virtual bool PutValue(
const css::uno::Any& rVal,
sal_uInt8 nMemberId )
override;
106 OUString &rText,
const IntlWrapper& )
const override;
109 virtual void Notify(
const css::uno::Sequence< OUString > &rPropertyNames )
override;
111 bool equalsIgnoring(
const SvxSearchItem& rSItem,
bool bIgnoreReplace,
112 bool bIgnoreCommand)
const;
117 inline const OUString& GetSearchString()
const;
118 inline void SetSearchString(
const OUString& rNewString);
120 inline const OUString& GetReplaceString()
const;
121 inline void SetReplaceString(
const OUString& rNewString);
123 inline bool GetWordOnly()
const;
124 void SetWordOnly(
bool bNewWordOnly);
126 inline bool GetExact()
const;
127 void SetExact(
bool bNewExact);
130 void SetBackward(
bool bNewBackward) { m_bBackward = bNewBackward; }
133 void SetSelection(
bool bNewSelection);
135 inline bool GetRegExp()
const;
136 void SetRegExp(
bool bVal );
138 inline bool GetWildcard()
const;
139 void SetWildcard(
bool bVal );
142 void SetPattern(
bool bNewPattern) { m_bPattern = bNewPattern; }
146 { m_eFamily = eNewFamily; }
169 inline bool IsLevenshtein()
const;
170 void SetLevenshtein(
bool bVal );
172 inline bool IsLEVRelaxed()
const;
173 void SetLEVRelaxed(
bool bSet);
175 inline sal_uInt16 GetLEVOther()
const;
176 inline void SetLEVOther(sal_uInt16 nSet);
178 inline sal_uInt16 GetLEVShorter()
const;
179 inline void SetLEVShorter(sal_uInt16 nSet);
181 inline sal_uInt16 GetLEVLonger()
const;
182 inline void SetLEVLonger(sal_uInt16 nSet);
185 GetSearchOptions()
const;
192 inline bool IsMatchFullHalfWidthForms()
const;
193 void SetMatchFullHalfWidthForms(
bool bVal );
198 sal_Int32 GetStartPointX()
const;
199 sal_Int32 GetStartPointY()
const;
201 bool HasStartPoint()
const;
227 css::util::SearchFlags::NORM_WORD_ONLY);
Base class for providers of defaults of SfxPoolItems.
virtual bool QueryValue(css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
virtual bool GetPresentation(SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper &rIntlWrapper) const
This virtual method allows to get a textual representation of the value for the SfxPoolItem subclasse...
virtual bool operator==(const SfxPoolItem &) const =0
virtual bool PutValue(const css::uno::Any &rVal, sal_uInt8 nMemberId)
virtual SfxPoolItem * Clone(SfxItemPool *pPool=nullptr) const =0
void SetReplaceString(const OUString &rNewString)
SvxSearchApp GetAppFlag() const
void SetBackward(bool bNewBackward)
const OUString & GetSearchString() const
void SetCellType(SvxSearchCellType nNewCellType)
SvxSearchCmd GetCommand() const
const OUString & GetReplaceString() const
i18nutil::SearchOptions2 m_aSearchOpt
void SetSearchFormatted(bool b)
bool IsSearchFiltered() const
void SetLEVLonger(sal_uInt16 nSet)
void SetAppFlag(SvxSearchApp nNewAppFlag)
const i18nutil::SearchOptions2 & GetSearchOptions() const
bool GetSelection() const
void SetRowDirection(bool bNewRowDirection)
void SetCommand(SvxSearchCmd nNewCommand)
sal_uInt16 GetLEVShorter() const
void SetSearchString(const OUString &rNewString)
bool IsSearchFormatted() const
void SetSearchOptions(const i18nutil::SearchOptions2 &rOpt)
bool IsLEVRelaxed() const
bool GetRowDirection() const
void SetAllTables(bool bNew)
void SetLEVShorter(sal_uInt16 nSet)
void SetLEVOther(sal_uInt16 nSet)
void SetUseAsianOptions(bool bVal)
SvxSearchCellType GetCellType() const
void SetSearchFiltered(bool b)
sal_uInt16 GetLEVOther() const
TransliterationFlags GetTransliterationFlags() const
bool IsMatchFullHalfWidthForms() const
void SetFamily(SfxStyleFamily eNewFamily)
bool IsUseAsianOptions() const
SvxSearchCellType m_nCellType
bool IsLevenshtein() const
SfxStyleFamily GetFamily() const
void SetPattern(bool bNewPattern)
sal_uInt16 GetLEVLonger() const
virtual void Notify(const css::uno::Sequence< OUString > &aPropertyNames)=0
virtual void ImplCommit()=0
virtual TransliterationFlags GetTransliterationFlags() const override
TransliterationFlags transliterateFlags
void GetSelection(struct ESelection &rSel, SvxTextForwarder const *pForwarder) noexcept