add optional boolean SearchWildcard to css::util::SearchDescriptor service
Change-Id: Iec1b0d8c0f03074acea2640a6e5d309921f04c59
This commit is contained in:
parent
3a0abd3019
commit
ced1117633
1 changed files with 22 additions and 0 deletions
|
@ -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;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue