summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2016-02-25 19:51:31 +0100
committerEike Rathke <erack@redhat.com>2016-02-26 01:41:49 +0100
commitced11176337a1b37ed32ca9ea2aa3af0b2459b02 (patch)
tree8c4ed06220b007e7c688ac53da0571ddcd08a734 /offapi
parent3a0abd3019ec3ca29b8f1378cdb32ebf741e6306 (diff)
add optional boolean SearchWildcard to css::util::SearchDescriptor service
Change-Id: Iec1b0d8c0f03074acea2640a6e5d309921f04c59
Diffstat (limited to 'offapi')
-rw-r--r--offapi/com/sun/star/util/SearchDescriptor.idl22
1 files changed, 22 insertions, 0 deletions
diff --git a/offapi/com/sun/star/util/SearchDescriptor.idl b/offapi/com/sun/star/util/SearchDescriptor.idl
index 40574209a1f5..8d7e68da43f7 100644
--- a/offapi/com/sun/star/util/SearchDescriptor.idl
+++ b/offapi/com/sun/star/util/SearchDescriptor.idl
@@ -49,6 +49,9 @@ published service SearchDescriptor
[property] boolean SearchWords;
/** If `TRUE`, the search string is evaluated as a regular expression.
+
+ <p> SearchRegularExpression, SearchWildcard and SearchSimilarity
+ are mutually exclusive, only one can be `TRUE` at the same time. </p>
*/
[property] boolean SearchRegularExpression;
@@ -72,6 +75,9 @@ published service SearchDescriptor
<li>SearchSimilarityExchange
</li>
</ul>
+
+ <p> SearchRegularExpression, SearchWildcard and SearchSimilarity
+ are mutually exclusive, only one can be `TRUE` at the same time. </p>
*/
[property] boolean SearchSimilarity;
@@ -107,6 +113,22 @@ published service SearchDescriptor
*/
[property] short SearchSimilarityExchange;
+ /** If `TRUE`, the search string is evaluated as a wildcard pattern.
+
+ <p> Wildcards are '*' (asterisk) for any sequence of characters,
+ including an empty sequence, and '?' (question mark) for exactly
+ one character. Escape character is '\' (U+005C REVERSE SOLIDUS)
+ aka backslash, it escapes the special meaning of a question
+ mark, asterisk or escape character that follows immediately
+ after the escape character. </p>
+
+ <p> SearchRegularExpression, SearchWildcard and SearchSimilarity
+ are mutually exclusive, only one can be `TRUE` at the same time. </p>
+
+ @since LibreOffice 5.2
+ */
+ [optional, property] boolean SearchWildcard;
+
};