1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
10 module com
{ module sun
{ module star
{ module util
{
12 /** Constants that define the search algorithm to be used with
13 com::sun::star::util::SearchOptions2::SearchAlgorithms2
15 @since LibreOffice 5.2
17 constants SearchAlgorithms2
20 const short ABSOLUTE
= 1;
22 /// Regular expression
23 const short REGEXP
= 2;
25 /// Weighted Levenshtein Distance
26 const short APPROXIMATE
= 3;
28 /** Wildcards '*' and '?'
29 An escape character is defined by setting
30 com::sun::star::util::SearchOptions2::WildcardEscapeCharacter
32 const short WILDCARD
= 4;
37 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */