SearchFlags.idl (b63233d8) SearchFlags.idl (21947a42)
1/**************************************************************
1/**************************************************************
2 *
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
19 *
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_lang_SearchFlags_idl__
25#define __com_sun_star_lang_SearchFlags_idl__
26
27

--- 65 unchanged lines hidden (view full) ---

93 /** The last character in the string is not the end of the line
94 therefore $ will not match with last character of the string.
95 */
96 const long REG_NOT_ENDOFLINE = 0x00001000;
97
98 /** Flag for "Weighted Levenshtein Distance" search / Relaxed
99 checking of limit, split weigh pools.
100
20 *************************************************************/
21
22
23
24#ifndef __com_sun_star_lang_SearchFlags_idl__
25#define __com_sun_star_lang_SearchFlags_idl__
26
27

--- 65 unchanged lines hidden (view full) ---

93 /** The last character in the string is not the end of the line
94 therefore $ will not match with last character of the string.
95 */
96 const long REG_NOT_ENDOFLINE = 0x00001000;
97
98 /** Flag for "Weighted Levenshtein Distance" search / Relaxed
99 checking of limit, split weigh pools.
100
101 <p> If not specified (<b>strict</b>), the search is sucessful if
101 <p> If not specified (<b>strict</b>), the search is successful if
102 the WLD is within a calculated limit where each insertion,
103 deletion and replacement adds a weight to a common pool of
104 weights. This is the mathematically correct WLD. </p>
105
106 <p> From a user's point of view the strict WLD is an
107 exclusive-OR of the arguments given, for example if allowed
108 insertions=2 and allowed replacements=2, the search fails if 2
109 characters had been inserted and an additional operation would

--- 27 unchanged lines hidden ---
102 the WLD is within a calculated limit where each insertion,
103 deletion and replacement adds a weight to a common pool of
104 weights. This is the mathematically correct WLD. </p>
105
106 <p> From a user's point of view the strict WLD is an
107 exclusive-OR of the arguments given, for example if allowed
108 insertions=2 and allowed replacements=2, the search fails if 2
109 characters had been inserted and an additional operation would

--- 27 unchanged lines hidden ---