Kaydet (Commit) f1a4663c authored tarafından Eike Rathke's avatar Eike Rathke

implement '*' '?' '~' wildcard search, tdf#72196

Change-Id: Id6122a13423c37e91c9f7561e4d8e5c658d5530e
üst 649f74e2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment