summaryrefslogtreecommitdiff
path: root/i18npool/source/search/textsearch.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-02-17 19:26:51 +0100
committerEike Rathke <erack@redhat.com>2016-02-17 21:17:08 +0100
commitf1a4663c819bf698f95a75b5a3319506c66f2778 (patch)
treeb080436b32403f181be98b3eb97eae1dfa24584b /i18npool/source/search/textsearch.hxx
parent649f74e21b6dc7117b542f490272897ac1d00566 (diff)
implement '*' '?' '~' wildcard search, tdf#72196
Change-Id: Id6122a13423c37e91c9f7561e4d8e5c658d5530e
Diffstat (limited to 'i18npool/source/search/textsearch.hxx')
-rw-r--r--i18npool/source/search/textsearch.hxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/i18npool/source/search/textsearch.hxx b/i18npool/source/search/textsearch.hxx
index ae189c29df63..49c1dfb24fef 100644
--- a/i18npool/source/search/textsearch.hxx
+++ b/i18npool/source/search/textsearch.hxx
@@ -106,6 +106,20 @@ class TextSearch: public cppu::WeakImplHelper
sal_Int32 startPos, sal_Int32 endPos )
throw(css::uno::RuntimeException);
+ // Members and methods for the wildcard search
+ OUString maWildcardReversePattern;
+ OUString maWildcardReversePattern2;
+ sal_uInt32 mcWildcardEscapeChar;
+ bool mbWildcardAllowSubstring;
+ css::util::SearchResult SAL_CALL
+ WildcardSrchFrwrd( const OUString& searchStr,
+ sal_Int32 startPos, sal_Int32 endPos )
+ throw(css::uno::RuntimeException);
+ css::util::SearchResult SAL_CALL
+ WildcardSrchBkwrd( const OUString& searchStr,
+ sal_Int32 startPos, sal_Int32 endPos )
+ throw(css::uno::RuntimeException);
+
bool IsDelimiter( const OUString& rStr, sal_Int32 nPos ) const;
bool checkCTLStart, checkCTLEnd;