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 #ifndef __com_sun_star_util_SearchAlgorithms2_idl__
11 #define __com_sun_star_util_SearchAlgorithms2_idl__
13 module com
{ module sun
{ module star
{ module util
{
15 /** Constants that define the search algorithm to be used with
16 com::sun::star::util::SearchOptions2::SearchAlgorithms2
18 @since LibreOffice 5.2
20 constants SearchAlgorithms2
23 const short ABSOLUTE
= 1;
25 /// Regular expression
26 const short REGEXP
= 2;
28 /// Weighted Levenshtein Distance
29 const short APPROXIMATE
= 3;
31 /** Wildcards '*' and '?'
32 An escape character is defined by setting
33 com::sun::star::util::SearchOptions2::WildcardEscapeCharacter
35 const short WILDCARD
= 4;
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */