LibreOffice LibreOffice 5.3 SDK API Reference

SearchOptions.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
4 *
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/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20 #ifndef __com_sun_star_util_SearchOptions_idl__
21 #define __com_sun_star_util_SearchOptions_idl__
22
23
24 #include <com/sun/star/lang/Locale.idl>
25 #include <com/sun/star/uno/XInterface.idl>
26 #include <com/sun/star/util/SearchAlgorithms.idl>
27
28
29 module com { module sun { module star { module util {
30
31
32 published struct SearchOptions {
34 SearchAlgorithms algorithmType;
35
40 long searchFlag;
41
43 string searchString;
44
47 string replaceString;
48
50 ::com::sun::star::lang::Locale Locale;
51
55 long changedChars;
56
59 long deletedChars;
60
63 long insertedChars;
64
68 long transliterateFlags;
69 };
70
71 }; }; }; };
72
73 #endif
74
75 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::util::SearchOptions::algorithmType
SearchAlgorithms algorithmType
search type
Definition: SearchOptions.idl:34
com::sun::star::util::SearchOptions::deletedChars
long deletedChars
This many characters can be missing in the found word in a "Weighted Levenshtein Distance" search...
Definition: SearchOptions.idl:59
com
Definition: Ambiguous.idl:22
com::sun::star::util::SearchOptions
Definition: SearchOptions.idl:32
com::sun::star::util::SearchOptions::searchFlag
long searchFlag
some flags - can be mixed
Definition: SearchOptions.idl:40
com::sun::star::lang::Locale
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:52
SearchAlgorithms.idl
com::sun::star::util::SearchOptions::replaceString
string replaceString
The replacement text (is for optional replacing - SearchOption is only the data container for it) ...
Definition: SearchOptions.idl:47
Locale.idl
XInterface.idl
com::sun::star::util::SearchOptions::changedChars
long changedChars
This many characters can be different (as a replacement) between the found word and the search patter...
Definition: SearchOptions.idl:55
com::sun::star::util::SearchOptions::searchString
string searchString
The text or pattern to be searched.
Definition: SearchOptions.idl:43
com::sun::star::util::SearchOptions::Locale
::com::sun::star::lang::Locale Locale
The locale for case insensitive search.
Definition: SearchOptions.idl:50
com::sun::star::util::SearchOptions::transliterateFlags
long transliterateFlags
Flags for the transliteration.
Definition: SearchOptions.idl:68
com::sun::star::util::SearchOptions::insertedChars
long insertedChars
This many characters can be additional in the found word in a "Weighted Levenshtein Distance" search...
Definition: SearchOptions.idl:63
com::sun::star::util::SearchAlgorithms
SearchAlgorithms
Definition: SearchAlgorithms.idl:28