LibreOffice Module sw (master) 1
|
#include <unosrch.hxx>
Public Member Functions | |
SwXTextSearch () | |
virtual sal_Int64 SAL_CALL | getSomething (const css::uno::Sequence< sal_Int8 > &aIdentifier) override |
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 |
virtual sal_Bool SAL_CALL | getValueSearch () override |
virtual void SAL_CALL | setValueSearch (sal_Bool ValueSearch_) override |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getSearchAttributes () override |
virtual void SAL_CALL | setSearchAttributes (const css::uno::Sequence< css::beans::PropertyValue > &aSearchAttribs) override |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getReplaceAttributes () override |
virtual void SAL_CALL | setReplaceAttributes (const css::uno::Sequence< css::beans::PropertyValue > &aSearchAttribs) override |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
void | FillSearchItemSet (SfxItemSet &rSet) const |
void | FillReplaceItemSet (SfxItemSet &rSet) const |
bool | HasSearchAttributes () const |
bool | HasReplaceAttributes () const |
void | FillSearchOptions (i18nutil::SearchOptions2 &rSearchOpt) const |
Static Public Member Functions | |
static const css::uno::Sequence< sal_Int8 > & | getUnoTunnelId () |
Private Member Functions | |
virtual | ~SwXTextSearch () override |
Private Attributes | |
OUString | m_sSearchText |
OUString | m_sReplaceText |
std::unique_ptr< SwSearchProperties_Impl > | m_pSearchProperties |
std::unique_ptr< SwSearchProperties_Impl > | m_pReplaceProperties |
const SfxItemPropertySet * | m_pPropSet |
bool | m_bAll: 1 |
bool | m_bWord: 1 |
bool | m_bBack: 1 |
bool | m_bExpr: 1 |
bool | m_bCase: 1 |
bool | m_bStyles:1 |
bool | m_bSimilarity: 1 |
bool | m_bLevRelax:1 |
sal_Int16 | m_nLevExchange |
sal_Int16 | m_nLevAdd |
sal_Int16 | m_nLevRemove |
bool | m_bIsValueSearch:1 |
Friends | |
class | SwXTextDocument |
Definition at line 37 of file unosrch.hxx.
|
overrideprivatevirtual |
Definition at line 339 of file unosrch.cxx.
References m_pReplaceProperties, and m_pSearchProperties.
SwXTextSearch::SwXTextSearch | ( | ) |
Definition at line 320 of file unosrch.cxx.
|
overridevirtual |
Definition at line 456 of file unosrch.cxx.
|
overridevirtual |
Definition at line 466 of file unosrch.cxx.
void SwXTextSearch::FillReplaceItemSet | ( | SfxItemSet & | rSet | ) | const |
Definition at line 513 of file unosrch.cxx.
References m_bIsValueSearch, m_pReplaceProperties, and rSet.
Referenced by SwXTextDocument::replaceAll().
void SwXTextSearch::FillSearchItemSet | ( | SfxItemSet & | rSet | ) | const |
Definition at line 508 of file unosrch.cxx.
References m_bIsValueSearch, m_pSearchProperties, and rSet.
Referenced by SwXTextDocument::replaceAll().
void SwXTextSearch::FillSearchOptions | ( | i18nutil::SearchOptions2 & | rSearchOpt | ) | const |
Definition at line 543 of file unosrch.cxx.
References i18nutil::SearchOptions::algorithmType, i18nutil::SearchOptions2::AlgorithmType2, i18nutil::SearchOptions::changedChars, i18nutil::SearchOptions::deletedChars, GetAppLanguageTag(), LanguageTag::getLocale(), i18nutil::SearchOptions::insertedChars, i18nutil::SearchOptions::Locale, m_bCase, m_bExpr, m_bLevRelax, m_bSimilarity, m_bWord, m_nLevAdd, m_nLevExchange, m_nLevRemove, m_sReplaceText, m_sSearchText, i18nutil::SearchOptions::replaceString, i18nutil::SearchOptions::searchFlag, i18nutil::SearchOptions::searchString, and i18nutil::SearchOptions::transliterateFlags.
Referenced by SwXTextDocument::replaceAll().
|
overridevirtual |
Definition at line 528 of file unosrch.cxx.
|
overridevirtual |
Definition at line 384 of file unosrch.cxx.
References SfxItemPropertySet::getPropertySetInfo(), and m_pPropSet.
|
overridevirtual |
Definition at line 420 of file unosrch.cxx.
References SfxItemPropertyMap::getByName(), SfxItemPropertySet::getPropertyMap(), m_bAll, m_bBack, m_bCase, m_bExpr, m_bLevRelax, m_bSimilarity, m_bStyles, m_bWord, m_nLevAdd, m_nLevExchange, m_nLevRemove, m_pPropSet, SfxItemPropertyMapEntry::nWID, WID_BACKWARDS, WID_CASE_SENSITIVE, WID_REGULAR_EXPRESSION, WID_SEARCH_ALL, WID_SIMILARITY, WID_SIMILARITY_ADD, WID_SIMILARITY_EXCHANGE, WID_SIMILARITY_RELAX, WID_SIMILARITY_REMOVE, WID_STYLES, and WID_WORDS.
|
overridevirtual |
Definition at line 498 of file unosrch.cxx.
References m_pReplaceProperties.
|
overridevirtual |
Definition at line 372 of file unosrch.cxx.
References m_sReplaceText.
|
overridevirtual |
Definition at line 488 of file unosrch.cxx.
References m_pSearchProperties.
|
overridevirtual |
Definition at line 360 of file unosrch.cxx.
References m_sSearchText.
|
overridevirtual |
Definition at line 355 of file unosrch.cxx.
References comphelper::getSomethingImpl().
|
overridevirtual |
Definition at line 538 of file unosrch.cxx.
|
static |
Definition at line 349 of file unosrch.cxx.
References comphelper::UnoIdInit::getSeq().
|
overridevirtual |
Definition at line 476 of file unosrch.cxx.
References m_bIsValueSearch.
bool SwXTextSearch::HasReplaceAttributes | ( | ) | const |
Definition at line 523 of file unosrch.cxx.
References m_pReplaceProperties.
Referenced by SwXTextDocument::replaceAll().
bool SwXTextSearch::HasSearchAttributes | ( | ) | const |
Definition at line 518 of file unosrch.cxx.
References m_pSearchProperties.
Referenced by SwXTextDocument::replaceAll().
|
overridevirtual |
Definition at line 461 of file unosrch.cxx.
|
overridevirtual |
Definition at line 471 of file unosrch.cxx.
|
overridevirtual |
Definition at line 390 of file unosrch.cxx.
References SfxItemPropertyMap::getByName(), SfxItemPropertySet::getPropertyMap(), m_bAll, m_bBack, m_bCase, m_bExpr, m_bLevRelax, m_bSimilarity, m_bStyles, m_bWord, m_nLevAdd, m_nLevExchange, m_nLevRemove, m_pPropSet, SfxItemPropertyMapEntry::nFlags, SfxItemPropertyMapEntry::nWID, o3tl::tryAccess< bool >(), WID_BACKWARDS, WID_CASE_SENSITIVE, WID_REGULAR_EXPRESSION, WID_SEARCH_ALL, WID_SIMILARITY, WID_SIMILARITY_ADD, WID_SIMILARITY_EXCHANGE, WID_SIMILARITY_RELAX, WID_SIMILARITY_REMOVE, WID_STYLES, and WID_WORDS.
|
overridevirtual |
Definition at line 503 of file unosrch.cxx.
References m_pReplaceProperties.
|
overridevirtual |
Definition at line 378 of file unosrch.cxx.
References m_sReplaceText.
|
overridevirtual |
Definition at line 493 of file unosrch.cxx.
References m_pSearchProperties.
|
overridevirtual |
Definition at line 366 of file unosrch.cxx.
References m_sSearchText.
|
overridevirtual |
Definition at line 482 of file unosrch.cxx.
References m_bIsValueSearch.
|
overridevirtual |
Definition at line 533 of file unosrch.cxx.
References cppu::supportsService().
|
friend |
Definition at line 44 of file unosrch.hxx.
|
private |
Definition at line 53 of file unosrch.hxx.
Referenced by getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 55 of file unosrch.hxx.
Referenced by getPropertyValue(), SwXTextDocument::replaceAll(), and setPropertyValue().
|
private |
Definition at line 57 of file unosrch.hxx.
Referenced by FillSearchOptions(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 56 of file unosrch.hxx.
Referenced by FillSearchOptions(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 65 of file unosrch.hxx.
Referenced by FillReplaceItemSet(), FillSearchItemSet(), getValueSearch(), and setValueSearch().
|
private |
Definition at line 60 of file unosrch.hxx.
Referenced by FillSearchOptions(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 59 of file unosrch.hxx.
Referenced by FillSearchOptions(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 58 of file unosrch.hxx.
Referenced by getPropertyValue(), SwXTextDocument::replaceAll(), and setPropertyValue().
|
private |
Definition at line 54 of file unosrch.hxx.
Referenced by FillSearchOptions(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 62 of file unosrch.hxx.
Referenced by FillSearchOptions(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 61 of file unosrch.hxx.
Referenced by FillSearchOptions(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 63 of file unosrch.hxx.
Referenced by FillSearchOptions(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 52 of file unosrch.hxx.
Referenced by getPropertySetInfo(), getPropertyValue(), and setPropertyValue().
|
private |
Definition at line 50 of file unosrch.hxx.
Referenced by FillReplaceItemSet(), getReplaceAttributes(), HasReplaceAttributes(), setReplaceAttributes(), and ~SwXTextSearch().
|
private |
Definition at line 49 of file unosrch.hxx.
Referenced by FillSearchItemSet(), getSearchAttributes(), HasSearchAttributes(), setSearchAttributes(), and ~SwXTextSearch().
|
private |
Definition at line 47 of file unosrch.hxx.
Referenced by FillSearchOptions(), getReplaceString(), SwXTextDocument::replaceAll(), and setReplaceString().
|
private |
Definition at line 46 of file unosrch.hxx.
Referenced by FillSearchOptions(), getSearchString(), SwXTextDocument::replaceAll(), and setSearchString().