LibreOffice Module svl (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxSearchItem Class Referencefinal

#include <srchitem.hxx>

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

Public Member Functions

 SvxSearchItem (const sal_uInt16 nId)
 
 SvxSearchItem (const SvxSearchItem &rItem)
 
virtual ~SvxSearchItem () override
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const override
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId) override
 
virtual bool operator== (const SfxPoolItem &) const override
 
virtual SvxSearchItemClone (SfxItemPool *pPool=nullptr) const override
 
virtual bool GetPresentation (SfxItemPresentation ePres, MapUnit eCoreMetric, MapUnit ePresMetric, OUString &rText, const IntlWrapper &) const override
 This virtual method allows to get a textual representation of the value for the SfxPoolItem subclasses. More...
 
virtual void Notify (const css::uno::Sequence< OUString > &rPropertyNames) override
 
bool equalsIgnoring (const SvxSearchItem &rSItem, bool bIgnoreReplace, bool bIgnoreCommand) const
 
SvxSearchCmd GetCommand () const
 
void SetCommand (SvxSearchCmd nNewCommand)
 
const OUString & GetSearchString () const
 
void SetSearchString (const OUString &rNewString)
 
const OUString & GetReplaceString () const
 
void SetReplaceString (const OUString &rNewString)
 
bool GetWordOnly () const
 
void SetWordOnly (bool bNewWordOnly)
 
bool GetExact () const
 
void SetExact (bool bNewExact)
 
bool GetBackward () const
 
void SetBackward (bool bNewBackward)
 
bool GetSelection () const
 
void SetSelection (bool bNewSelection)
 
bool GetRegExp () const
 
void SetRegExp (bool bVal)
 
bool GetWildcard () const
 
void SetWildcard (bool bVal)
 
bool GetPattern () const
 
void SetPattern (bool bNewPattern)
 
SfxStyleFamily GetFamily () const
 
void SetFamily (SfxStyleFamily eNewFamily)
 
bool GetRowDirection () const
 
void SetRowDirection (bool bNewRowDirection)
 
bool IsAllTables () const
 
void SetAllTables (bool bNew)
 
bool IsSearchFiltered () const
 
void SetSearchFiltered (bool b)
 
bool IsSearchFormatted () const
 
void SetSearchFormatted (bool b)
 
SvxSearchCellType GetCellType () const
 
void SetCellType (SvxSearchCellType nNewCellType)
 
bool GetNotes () const
 
void SetNotes (bool bNew)
 
SvxSearchApp GetAppFlag () const
 
void SetAppFlag (SvxSearchApp nNewAppFlag)
 
bool IsLevenshtein () const
 
void SetLevenshtein (bool bVal)
 
bool IsLEVRelaxed () const
 
void SetLEVRelaxed (bool bSet)
 
sal_uInt16 GetLEVOther () const
 
void SetLEVOther (sal_uInt16 nSet)
 
sal_uInt16 GetLEVShorter () const
 
void SetLEVShorter (sal_uInt16 nSet)
 
sal_uInt16 GetLEVLonger () const
 
void SetLEVLonger (sal_uInt16 nSet)
 
const i18nutil::SearchOptions2GetSearchOptions () const
 
void SetSearchOptions (const i18nutil::SearchOptions2 &rOpt)
 
TransliterationFlags GetTransliterationFlags () const
 
void SetTransliterationFlags (TransliterationFlags nFlags)
 
bool IsMatchFullHalfWidthForms () const
 
void SetMatchFullHalfWidthForms (bool bVal)
 
bool IsUseAsianOptions () const
 
void SetUseAsianOptions (bool bVal)
 
sal_Int32 GetStartPointX () const
 
sal_Int32 GetStartPointY () const
 
bool HasStartPoint () const
 Either x or y start point is set. More...
 
- Public Member Functions inherited from SfxPoolItem
void AddRef (sal_uInt32 n=1) const
 
virtual ~SfxPoolItem ()
 
void SetWhich (sal_uInt16 nId)
 
sal_uInt16 Which () const
 
template<class T >
T & StaticWhichCast (TypedWhichId< T > nId)
 
template<class T >
const T & StaticWhichCast (TypedWhichId< T > nId) const
 
template<class T >
T * DynamicWhichCast (TypedWhichId< T > nId)
 
template<class T >
const T * DynamicWhichCast (TypedWhichId< T > nId) const
 
virtual bool operator== (const SfxPoolItem &) const =0
 
bool operator!= (const SfxPoolItem &rItem) const
 
virtual bool operator< (const SfxPoolItem &) const
 
virtual bool IsSortable () const
 
virtual bool HasLookup () const
 
virtual lookup_iterator Lookup (lookup_iterator, lookup_iterator end) 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 subclasses. More...
 
virtual void ScaleMetrics (tools::Long lMult, tools::Long lDiv)
 
virtual bool HasMetrics () const
 
virtual bool QueryValue (css::uno::Any &rVal, sal_uInt8 nMemberId=0) const
 
virtual bool PutValue (const css::uno::Any &rVal, sal_uInt8 nMemberId)
 
virtual SfxPoolItemClone (SfxItemPool *pPool=nullptr) const =0
 
std::unique_ptr< SfxPoolItemCloneSetWhich (sal_uInt16 nNewWhich) const
 
template<class T >
std::unique_ptr< T > CloneSetWhich (TypedWhichId< T > nId) const
 
sal_uInt32 GetRefCount () const
 
SfxItemKind GetKind () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 
virtual boost::property_tree::ptree dumpAsJSON () const
 
virtual bool IsVoidItem () const
 Only SfxVoidItem shall and must return true for this. More...
 
- Public Member Functions inherited from utl::ConfigItem
virtual ~ConfigItem () override
 
 ConfigItem (ConfigItem const &)=default
 
 ConfigItem (ConfigItem &&)=default
 
ConfigItemoperator= (ConfigItem const &)=delete
 
ConfigItemoperator= (ConfigItem &&)=delete
 
virtual void Notify (const css::uno::Sequence< OUString > &aPropertyNames)=0
 
const OUString & GetSubTreeName () const
 
bool IsModified () const
 
void Commit ()
 
ConfigItemMode GetMode () const
 
- Public Member Functions inherited from utl::ConfigurationBroadcaster
void AddListener (utl::ConfigurationListener *pListener)
 
void RemoveListener (utl::ConfigurationListener const *pListener)
 
void NotifyListeners (ConfigurationHints nHint)
 
 ConfigurationBroadcaster ()
 
 ConfigurationBroadcaster (ConfigurationBroadcaster const &)
 
virtual ~ConfigurationBroadcaster ()
 
ConfigurationBroadcasteroperator= (ConfigurationBroadcaster const &other)
 
virtual void BlockBroadcasts (bool bBlock)
 

Static Public Member Functions

static SfxPoolItemCreateDefault ()
 
- Static Public Member Functions inherited from utl::ConfigItem
static css::uno::Sequence< OUString > GetNodeNames (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, ConfigNameFormat eFormat)
 
static css::uno::Sequence< css::uno::Any > GetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, bool bAllLocales)
 
static bool PutProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues, bool bAllLocales)
 
static bool ClearNodeSet (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode)
 
static bool ReplaceSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues, bool bAllLocales)
 
static bool SetSetProperties (css::uno::Reference< css::container::XHierarchicalNameAccess > const &xHierarchyAccess, const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 

Private Member Functions

virtual void ImplCommit () override
 

Private Attributes

i18nutil::SearchOptions2 m_aSearchOpt
 
SfxStyleFamily m_eFamily
 
SvxSearchCmd m_nCommand
 
SvxSearchCellType m_nCellType
 
SvxSearchApp m_nAppFlag
 
bool m_bRowDirection
 
bool m_bAllTables
 
bool m_bSearchFiltered
 
bool m_bSearchFormatted
 
bool m_bNotes
 
bool m_bBackward
 
bool m_bPattern
 
bool m_bContent
 
bool m_bAsianOptions
 
sal_Int32 m_nStartPointX
 
sal_Int32 m_nStartPointY
 

Additional Inherited Members

- Public Types inherited from SfxPoolItem
typedef std::vector< SfxPoolItem * >::const_iterator lookup_iterator
 
- Protected Member Functions inherited from SfxPoolItem
 SfxPoolItem (sal_uInt16 nWhich=0)
 
 SfxPoolItem (const SfxPoolItem &rCopy)
 
- Protected Member Functions inherited from utl::ConfigItem
 ConfigItem (OUString aSubTree, ConfigItemMode nMode=ConfigItemMode::NONE)
 
void SetModified ()
 
void ClearModified ()
 
css::uno::Sequence< css::uno::Any > GetProperties (const css::uno::Sequence< OUString > &rNames)
 
css::uno::Sequence< sal_BoolGetReadOnlyStates (const css::uno::Sequence< OUString > &rNames)
 
bool PutProperties (const css::uno::Sequence< OUString > &rNames, const css::uno::Sequence< css::uno::Any > &rValues)
 
bool EnableNotification (const css::uno::Sequence< OUString > &rNames, bool bEnableInternalNotification=false)
 
void DisableNotification ()
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode)
 
css::uno::Sequence< OUString > GetNodeNames (const OUString &rNode, ConfigNameFormat eFormat)
 
bool ClearNodeSet (const OUString &rNode)
 
bool ClearNodeElements (const OUString &rNode, css::uno::Sequence< OUString > const &rElements)
 
bool SetSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool ReplaceSetProperties (const OUString &rNode, const css::uno::Sequence< css::beans::PropertyValue > &rValues)
 
bool AddNode (const OUString &rNode, const OUString &rNewNode)
 

Detailed Description

Definition at line 60 of file srchitem.hxx.

Constructor & Destructor Documentation

◆ SvxSearchItem() [1/2]

SvxSearchItem::SvxSearchItem ( const sal_uInt16  nId)
explicit

Definition at line 100 of file srchitem.cxx.

References ABSOLUTE, i18nutil::SearchOptions2::AlgorithmType2, utl::ConfigItem::EnableNotification(), FIND, FORMULA, IGNORE_CASE, SvtSearchOptions::IsBackwards(), SvtSearchOptions::IsIgnoreDiacritics_CTL(), SvtSearchOptions::IsIgnoreKashida_CTL(), SvtSearchOptions::IsIgnoreMiddleDot(), SvtSearchOptions::IsIgnoreProlongedSoundMark(), SvtSearchOptions::IsIgnorePunctuation(), SvtSearchOptions::IsIgnoreWhitespace(), SvtSearchOptions::IsMatchBavaHafa(), SvtSearchOptions::IsMatchCase(), SvtSearchOptions::IsMatchContractions(), SvtSearchOptions::IsMatchDiziDuzu(), SvtSearchOptions::IsMatchFullHalfWidthForms(), SvtSearchOptions::IsMatchHiraganaKatakana(), SvtSearchOptions::IsMatchHyuiyuByuvyu(), SvtSearchOptions::IsMatchIaiya(), SvtSearchOptions::IsMatchKiku(), SvtSearchOptions::IsMatchMinusDashChoon(), SvtSearchOptions::IsMatchOldKanaForms(), SvtSearchOptions::IsMatchRepeatCharMarks(), SvtSearchOptions::IsMatchSesheZeje(), SvtSearchOptions::IsMatchTsithichiDhizi(), SvtSearchOptions::IsMatchVariantFormKanji(), SvtSearchOptions::IsNotes(), SvtSearchOptions::IsSimilaritySearch(), SvtSearchOptions::IsUseAsianOptions(), SvtSearchOptions::IsUseRegularExpression(), SvtSearchOptions::IsUseWildcard(), SvtSearchOptions::IsWholeWordsOnly(), lcl_GetNotifyNames(), Locale, m_aSearchOpt, m_bAsianOptions, m_bBackward, m_bNotes, nId, Para, i18nutil::SearchOptions2::searchFlag, i18nutil::SearchOptions2::transliterateFlags, and WRITER.

Referenced by Clone(), and CreateDefault().

◆ SvxSearchItem() [2/2]

SvxSearchItem::SvxSearchItem ( const SvxSearchItem rItem)

Definition at line 201 of file srchitem.cxx.

References utl::ConfigItem::EnableNotification(), and lcl_GetNotifyNames().

◆ ~SvxSearchItem()

SvxSearchItem::~SvxSearchItem ( )
overridevirtual

Definition at line 226 of file srchitem.cxx.

Member Function Documentation

◆ Clone()

SvxSearchItem * SvxSearchItem::Clone ( SfxItemPool pPool = nullptr) const
overridevirtual

Implements SfxPoolItem.

Definition at line 230 of file srchitem.cxx.

References SvxSearchItem().

◆ CreateDefault()

SfxPoolItem * SvxSearchItem::CreateDefault ( )
static

Definition at line 59 of file srchitem.cxx.

References SvxSearchItem().

◆ equalsIgnoring()

bool SvxSearchItem::equalsIgnoring ( const SvxSearchItem rSItem,
bool  bIgnoreReplace,
bool  bIgnoreCommand 
) const

◆ GetAppFlag()

SvxSearchApp SvxSearchItem::GetAppFlag ( ) const
inline

Definition at line 166 of file srchitem.hxx.

◆ GetBackward()

bool SvxSearchItem::GetBackward ( ) const
inline

Definition at line 129 of file srchitem.hxx.

◆ GetCellType()

SvxSearchCellType SvxSearchItem::GetCellType ( ) const
inline

Definition at line 160 of file srchitem.hxx.

◆ GetCommand()

SvxSearchCmd SvxSearchItem::GetCommand ( ) const
inline

Definition at line 114 of file srchitem.hxx.

◆ GetExact()

bool SvxSearchItem::GetExact ( ) const
inline

Definition at line 230 of file srchitem.hxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::transliterateFlags.

◆ GetFamily()

SfxStyleFamily SvxSearchItem::GetFamily ( ) const
inline

Definition at line 144 of file srchitem.hxx.

◆ GetLEVLonger()

sal_uInt16 SvxSearchItem::GetLEVLonger ( ) const
inline

Definition at line 275 of file srchitem.hxx.

References i18nutil::SearchOptions2::deletedChars, and m_aSearchOpt.

◆ GetLEVOther()

sal_uInt16 SvxSearchItem::GetLEVOther ( ) const
inline

Definition at line 255 of file srchitem.hxx.

References i18nutil::SearchOptions2::changedChars, and m_aSearchOpt.

◆ GetLEVShorter()

sal_uInt16 SvxSearchItem::GetLEVShorter ( ) const
inline

Definition at line 265 of file srchitem.hxx.

References i18nutil::SearchOptions2::insertedChars, and m_aSearchOpt.

◆ GetNotes()

bool SvxSearchItem::GetNotes ( ) const
inline

Definition at line 163 of file srchitem.hxx.

◆ GetPattern()

bool SvxSearchItem::GetPattern ( ) const
inline

Definition at line 141 of file srchitem.hxx.

◆ GetPresentation()

bool SvxSearchItem::GetPresentation ( SfxItemPresentation  ePresentation,
MapUnit  eCoreMetric,
MapUnit  ePresentationMetric,
OUString &  rText,
const IntlWrapper rIntlWrapper 
) const
overridevirtual

This virtual method allows to get a textual representation of the value for the SfxPoolItem subclasses.

Returns
true if it has a valid string representation

It should be overridden by all UI-relevant SfxPoolItem subclasses.

Because the unit of measure of the value in the SfxItemPool is only queryable via

See also
SfxItemPool::GetMetric(sal_uInt16) const (and not via the SfxPoolItem instance or subclass, the own unit of measure is passed to 'eCoreMetric'.

The corresponding unit of measure is passed as 'ePresentationMetric'.

Returns
SfxItemPresentation SfxItemPresentation::Nameless A textual representation (if applicable with a unit of measure) could be created, but it doesn't contain any semantic meaning

SfxItemPresentation::Complete A complete textual representation could be created with semantic meaning (if applicable with unit of measure)

Example:

pSvxFontItem->GetPresentation( SFX_PRESENTATION_NAMELESS, ... ) "12pt" with return SfxItemPresentation::Nameless

pSvxColorItem->GetPresentation( SFX_PRESENTATION_COMPLETE, ... ) "red" with return SfxItemPresentation::Nameless Because the SvxColorItem does not know which color it represents it cannot provide a name, which is communicated by the return value

pSvxBorderItem->GetPresentation( SFX_PRESENTATION_COMPLETE, ... ) "1cm top border, 2cm left border, 0.2cm bottom border, ..."

Reimplemented from SfxPoolItem.

Definition at line 283 of file srchitem.cxx.

◆ GetRegExp()

bool SvxSearchItem::GetRegExp ( ) const
inline

Definition at line 240 of file srchitem.hxx.

References i18nutil::SearchOptions2::AlgorithmType2, and m_aSearchOpt.

◆ GetReplaceString()

const OUString & SvxSearchItem::GetReplaceString ( ) const
inline

Definition at line 214 of file srchitem.hxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::replaceString.

◆ GetRowDirection()

bool SvxSearchItem::GetRowDirection ( ) const
inline

Definition at line 148 of file srchitem.hxx.

◆ GetSearchOptions()

const i18nutil::SearchOptions2 & SvxSearchItem::GetSearchOptions ( ) const
inline

Definition at line 290 of file srchitem.hxx.

References m_aSearchOpt.

◆ GetSearchString()

const OUString & SvxSearchItem::GetSearchString ( ) const
inline

Definition at line 204 of file srchitem.hxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::searchString.

◆ GetSelection()

bool SvxSearchItem::GetSelection ( ) const
inline

Definition at line 235 of file srchitem.hxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::searchFlag.

◆ GetStartPointX()

sal_Int32 SvxSearchItem::GetStartPointX ( ) const

Definition at line 647 of file srchitem.cxx.

References m_nStartPointX.

◆ GetStartPointY()

sal_Int32 SvxSearchItem::GetStartPointY ( ) const

Definition at line 652 of file srchitem.cxx.

References m_nStartPointY.

◆ GetTransliterationFlags()

TransliterationFlags SvxSearchItem::GetTransliterationFlags ( ) const
inline

Definition at line 300 of file srchitem.hxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::transliterateFlags.

Referenced by Notify().

◆ GetWildcard()

bool SvxSearchItem::GetWildcard ( ) const
inline

Definition at line 245 of file srchitem.hxx.

References i18nutil::SearchOptions2::AlgorithmType2, and m_aSearchOpt.

◆ GetWordOnly()

bool SvxSearchItem::GetWordOnly ( ) const
inline

Definition at line 224 of file srchitem.hxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::searchFlag.

◆ HasStartPoint()

bool SvxSearchItem::HasStartPoint ( ) const

Either x or y start point is set.

Definition at line 657 of file srchitem.cxx.

References m_nStartPointX, and m_nStartPointY.

◆ ImplCommit()

void SvxSearchItem::ImplCommit ( )
overrideprivatevirtual

Implements utl::ConfigItem.

Definition at line 302 of file srchitem.cxx.

◆ IsAllTables()

bool SvxSearchItem::IsAllTables ( ) const
inline

Definition at line 151 of file srchitem.hxx.

◆ IsLevenshtein()

bool SvxSearchItem::IsLevenshtein ( ) const
inline

Definition at line 285 of file srchitem.hxx.

References i18nutil::SearchOptions2::AlgorithmType2, and m_aSearchOpt.

◆ IsLEVRelaxed()

bool SvxSearchItem::IsLEVRelaxed ( ) const
inline

Definition at line 250 of file srchitem.hxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::searchFlag.

◆ IsMatchFullHalfWidthForms()

bool SvxSearchItem::IsMatchFullHalfWidthForms ( ) const
inline

Definition at line 305 of file srchitem.hxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::transliterateFlags.

◆ IsSearchFiltered()

bool SvxSearchItem::IsSearchFiltered ( ) const
inline

Definition at line 154 of file srchitem.hxx.

◆ IsSearchFormatted()

bool SvxSearchItem::IsSearchFormatted ( ) const
inline

Definition at line 157 of file srchitem.hxx.

◆ IsUseAsianOptions()

bool SvxSearchItem::IsUseAsianOptions ( ) const
inline

Definition at line 195 of file srchitem.hxx.

◆ Notify()

void SvxSearchItem::Notify ( const css::uno::Sequence< OUString > &  rPropertyNames)
overridevirtual

Implements utl::ConfigItem.

Definition at line 295 of file srchitem.cxx.

References GetTransliterationFlags(), and SetTransliterationFlags().

◆ operator==()

bool SvxSearchItem::operator== ( const SfxPoolItem rItem) const
overridevirtual

Implements SfxPoolItem.

Definition at line 252 of file srchitem.cxx.

References equalsIgnoring().

◆ PutValue()

bool SvxSearchItem::PutValue ( const css::uno::Any &  rVal,
sal_uInt8  nMemberId 
)
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 491 of file srchitem.cxx.

References a, i18nutil::SearchOptions2::AlgorithmType2, aSeq, i18nutil::SearchOptions2::changedChars, LanguageTag::convertToLocale(), i18nutil::SearchOptions2::deletedChars, i18nutil::SearchOptions2::insertedChars, LANGUAGE_NONE, i18nutil::SearchOptions2::Locale, m_aSearchOpt, m_bAllTables, m_bAsianOptions, m_bBackward, m_bContent, m_bPattern, m_bRowDirection, m_bSearchFiltered, m_bSearchFormatted, m_eFamily, m_nAppFlag, m_nCellType, m_nCommand, m_nStartPointX, m_nStartPointY, MID_SEARCH_ALGORITHMTYPE, MID_SEARCH_ALGORITHMTYPE2, MID_SEARCH_ALLTABLES, MID_SEARCH_ASIANOPTIONS, MID_SEARCH_BACKWARD, MID_SEARCH_CELLTYPE, MID_SEARCH_CHANGEDCHARS, MID_SEARCH_COMMAND, MID_SEARCH_CONTENT, MID_SEARCH_DELETEDCHARS, MID_SEARCH_FLAGS, MID_SEARCH_INSERTEDCHARS, MID_SEARCH_LOCALE, MID_SEARCH_PATTERN, MID_SEARCH_REPLACESTRING, MID_SEARCH_ROWDIRECTION, MID_SEARCH_SEARCHFILTERED, MID_SEARCH_SEARCHFORMATTED, MID_SEARCH_SEARCHSTRING, MID_SEARCH_STARTPOINTX, MID_SEARCH_STARTPOINTY, MID_SEARCH_STYLEFAMILY, MID_SEARCH_TRANSLITERATEFLAGS, PutValue(), i18nutil::SearchOptions2::replaceString, i18nutil::SearchOptions2::searchFlag, i18nutil::SearchOptions2::searchString, SRCH_PARA_ALLTABLES, SRCH_PARA_APPFLAG, SRCH_PARA_ASIANOPT, SRCH_PARA_BACKWARD, SRCH_PARA_CELLTYPE, SRCH_PARA_COMMAND, SRCH_PARA_CONTENT, SRCH_PARA_FAMILY, SRCH_PARA_OPTIONS, SRCH_PARA_PATTERN, SRCH_PARA_ROWDIR, SRCH_PARA_SEARCHFILTERED, SRCH_PARA_SEARCHFORMATTED, SRCH_PARAMS, i18nutil::SearchOptions2::transliterateFlags, and i18nutil::upgradeSearchAlgorithms().

Referenced by PutValue().

◆ QueryValue()

bool SvxSearchItem::QueryValue ( css::uno::Any &  rVal,
sal_uInt8  nMemberId = 0 
) const
overridevirtual

Reimplemented from SfxPoolItem.

Definition at line 401 of file srchitem.cxx.

References i18nutil::SearchOptions2::AlgorithmType2, aSeq, i18nutil::SearchOptions2::changedChars, LanguageTag::convertToLanguageType(), i18nutil::SearchOptions2::deletedChars, i18nutil::downgradeSearchAlgorithms2(), i18nutil::SearchOptions2::insertedChars, LANGUAGE_NONE, i18nutil::SearchOptions2::Locale, m_aSearchOpt, m_bAllTables, m_bAsianOptions, m_bBackward, m_bContent, m_bPattern, m_bRowDirection, m_bSearchFiltered, m_bSearchFormatted, m_eFamily, m_nAppFlag, m_nCellType, m_nCommand, comphelper::makePropertyValue(), MID_SEARCH_ALGORITHMTYPE, MID_SEARCH_ALGORITHMTYPE2, MID_SEARCH_ALLTABLES, MID_SEARCH_ASIANOPTIONS, MID_SEARCH_BACKWARD, MID_SEARCH_CELLTYPE, MID_SEARCH_CHANGEDCHARS, MID_SEARCH_COMMAND, MID_SEARCH_CONTENT, MID_SEARCH_DELETEDCHARS, MID_SEARCH_FLAGS, MID_SEARCH_INSERTEDCHARS, MID_SEARCH_LOCALE, MID_SEARCH_PATTERN, MID_SEARCH_REPLACESTRING, MID_SEARCH_ROWDIRECTION, MID_SEARCH_SEARCHFILTERED, MID_SEARCH_SEARCHFORMATTED, MID_SEARCH_SEARCHSTRING, MID_SEARCH_STYLEFAMILY, MID_SEARCH_TRANSLITERATEFLAGS, i18nutil::SearchOptions2::replaceString, SAL_WARN, i18nutil::SearchOptions2::searchFlag, i18nutil::SearchOptions2::searchString, SRCH_PARA_ALLTABLES, SRCH_PARA_APPFLAG, SRCH_PARA_ASIANOPT, SRCH_PARA_BACKWARD, SRCH_PARA_CELLTYPE, SRCH_PARA_COMMAND, SRCH_PARA_CONTENT, SRCH_PARA_FAMILY, SRCH_PARA_OPTIONS, SRCH_PARA_PATTERN, SRCH_PARA_ROWDIR, SRCH_PARA_SEARCHFILTERED, SRCH_PARA_SEARCHFORMATTED, SRCH_PARAMS, i18nutil::SearchOptions2::toUnoSearchOptions2(), and i18nutil::SearchOptions2::transliterateFlags.

◆ SetAllTables()

void SvxSearchItem::SetAllTables ( bool  bNew)
inline

Definition at line 152 of file srchitem.hxx.

◆ SetAppFlag()

void SvxSearchItem::SetAppFlag ( SvxSearchApp  nNewAppFlag)
inline

Definition at line 167 of file srchitem.hxx.

◆ SetBackward()

void SvxSearchItem::SetBackward ( bool  bNewBackward)
inline

Definition at line 130 of file srchitem.hxx.

◆ SetCellType()

void SvxSearchItem::SetCellType ( SvxSearchCellType  nNewCellType)
inline

Definition at line 161 of file srchitem.hxx.

◆ SetCommand()

void SvxSearchItem::SetCommand ( SvxSearchCmd  nNewCommand)
inline

Definition at line 115 of file srchitem.hxx.

◆ SetExact()

void SvxSearchItem::SetExact ( bool  bNewExact)

Definition at line 324 of file srchitem.cxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::transliterateFlags.

◆ SetFamily()

void SvxSearchItem::SetFamily ( SfxStyleFamily  eNewFamily)
inline

Definition at line 145 of file srchitem.hxx.

◆ SetLevenshtein()

void SvxSearchItem::SetLevenshtein ( bool  bVal)

Definition at line 383 of file srchitem.cxx.

References i18nutil::SearchOptions2::AlgorithmType2, and m_aSearchOpt.

◆ SetLEVLonger()

void SvxSearchItem::SetLEVLonger ( sal_uInt16  nSet)
inline

Definition at line 280 of file srchitem.hxx.

References i18nutil::SearchOptions2::deletedChars, and m_aSearchOpt.

◆ SetLEVOther()

void SvxSearchItem::SetLEVOther ( sal_uInt16  nSet)
inline

Definition at line 260 of file srchitem.hxx.

References i18nutil::SearchOptions2::changedChars, and m_aSearchOpt.

◆ SetLEVRelaxed()

void SvxSearchItem::SetLEVRelaxed ( bool  bSet)

Definition at line 374 of file srchitem.cxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::searchFlag.

◆ SetLEVShorter()

void SvxSearchItem::SetLEVShorter ( sal_uInt16  nSet)
inline

Definition at line 270 of file srchitem.hxx.

References i18nutil::SearchOptions2::insertedChars, and m_aSearchOpt.

◆ SetMatchFullHalfWidthForms()

void SvxSearchItem::SetMatchFullHalfWidthForms ( bool  bVal)

Definition at line 306 of file srchitem.cxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::transliterateFlags.

◆ SetNotes()

void SvxSearchItem::SetNotes ( bool  bNew)
inline

Definition at line 164 of file srchitem.hxx.

◆ SetPattern()

void SvxSearchItem::SetPattern ( bool  bNewPattern)
inline

Definition at line 142 of file srchitem.hxx.

◆ SetRegExp()

void SvxSearchItem::SetRegExp ( bool  bVal)

Definition at line 348 of file srchitem.cxx.

References i18nutil::SearchOptions2::AlgorithmType2, and m_aSearchOpt.

◆ SetReplaceString()

void SvxSearchItem::SetReplaceString ( const OUString &  rNewString)
inline

Definition at line 219 of file srchitem.hxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::replaceString.

◆ SetRowDirection()

void SvxSearchItem::SetRowDirection ( bool  bNewRowDirection)
inline

Definition at line 149 of file srchitem.hxx.

◆ SetSearchFiltered()

void SvxSearchItem::SetSearchFiltered ( bool  b)
inline

Definition at line 155 of file srchitem.hxx.

◆ SetSearchFormatted()

void SvxSearchItem::SetSearchFormatted ( bool  b)
inline

Definition at line 158 of file srchitem.hxx.

◆ SetSearchOptions()

void SvxSearchItem::SetSearchOptions ( const i18nutil::SearchOptions2 rOpt)
inline

Definition at line 295 of file srchitem.hxx.

References m_aSearchOpt.

◆ SetSearchString()

void SvxSearchItem::SetSearchString ( const OUString &  rNewString)
inline

Definition at line 209 of file srchitem.hxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::searchString.

◆ SetSelection()

void SvxSearchItem::SetSelection ( bool  bNewSelection)

Definition at line 333 of file srchitem.cxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::searchFlag.

◆ SetTransliterationFlags()

void SvxSearchItem::SetTransliterationFlags ( TransliterationFlags  nFlags)

Definition at line 396 of file srchitem.cxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::transliterateFlags.

Referenced by Notify().

◆ SetUseAsianOptions()

void SvxSearchItem::SetUseAsianOptions ( bool  bVal)
inline

Definition at line 196 of file srchitem.hxx.

◆ SetWildcard()

void SvxSearchItem::SetWildcard ( bool  bVal)

Definition at line 361 of file srchitem.cxx.

References i18nutil::SearchOptions2::AlgorithmType2, and m_aSearchOpt.

◆ SetWordOnly()

void SvxSearchItem::SetWordOnly ( bool  bNewWordOnly)

Definition at line 315 of file srchitem.cxx.

References m_aSearchOpt, and i18nutil::SearchOptions2::searchFlag.

Member Data Documentation

◆ m_aSearchOpt

i18nutil::SearchOptions2 SvxSearchItem::m_aSearchOpt
private

◆ m_bAllTables

bool SvxSearchItem::m_bAllTables
private

Definition at line 74 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), and QueryValue().

◆ m_bAsianOptions

bool SvxSearchItem::m_bAsianOptions
private

Definition at line 84 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), QueryValue(), and SvxSearchItem().

◆ m_bBackward

bool SvxSearchItem::m_bBackward
private

Definition at line 81 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), QueryValue(), and SvxSearchItem().

◆ m_bContent

bool SvxSearchItem::m_bContent
private

Definition at line 83 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), and QueryValue().

◆ m_bNotes

bool SvxSearchItem::m_bNotes
private

Definition at line 79 of file srchitem.hxx.

Referenced by equalsIgnoring(), and SvxSearchItem().

◆ m_bPattern

bool SvxSearchItem::m_bPattern
private

Definition at line 82 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), and QueryValue().

◆ m_bRowDirection

bool SvxSearchItem::m_bRowDirection
private

Definition at line 73 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), and QueryValue().

◆ m_bSearchFiltered

bool SvxSearchItem::m_bSearchFiltered
private

Definition at line 75 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), and QueryValue().

◆ m_bSearchFormatted

bool SvxSearchItem::m_bSearchFormatted
private

Definition at line 76 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), and QueryValue().

◆ m_eFamily

SfxStyleFamily SvxSearchItem::m_eFamily
private

Definition at line 66 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), and QueryValue().

◆ m_nAppFlag

SvxSearchApp SvxSearchItem::m_nAppFlag
private

Definition at line 72 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), and QueryValue().

◆ m_nCellType

SvxSearchCellType SvxSearchItem::m_nCellType
private

Definition at line 71 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), and QueryValue().

◆ m_nCommand

SvxSearchCmd SvxSearchItem::m_nCommand
private

Definition at line 68 of file srchitem.hxx.

Referenced by equalsIgnoring(), PutValue(), and QueryValue().

◆ m_nStartPointX

sal_Int32 SvxSearchItem::m_nStartPointX
private

Definition at line 87 of file srchitem.hxx.

Referenced by GetStartPointX(), HasStartPoint(), and PutValue().

◆ m_nStartPointY

sal_Int32 SvxSearchItem::m_nStartPointY
private

Definition at line 88 of file srchitem.hxx.

Referenced by GetStartPointY(), HasStartPoint(), and PutValue().


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