xref: /aoo41x/main/oovbaapi/ooo/vba/word/XFind.idl (revision ad7bc010)
1/**************************************************************
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
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
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.
19 *
20 *************************************************************/
21
22
23#ifndef __ooo_vba_word_XFind_idl__
24#define __ooo_vba_word_XFind_idl__
25
26#ifndef __com_sun_star_uno_XInterface_idl__
27#include <com/sun/star/uno/XInterface.idl>
28#endif
29
30#ifndef __ooo_vba_XHelperInterface_idl__
31#include <ooo/vba/XHelperInterface.idl>
32#endif
33
34module ooo {  module vba {  module word {
35
36interface XFind
37{
38    interface ooo::vba::XHelperInterface;
39
40    [attribute] string Text;
41    [attribute] any Replacement;
42    [attribute] boolean Forward;
43    [attribute] long Wrap;
44    [attribute] boolean Format;
45    [attribute] boolean MatchCase;
46    [attribute] boolean MatchWholeWord;
47    [attribute] boolean MatchWildcards;
48    [attribute] boolean MatchSoundsLike;
49    [attribute] boolean MatchAllWordForms;
50    [attribute] any Style;
51
52    boolean Execute([in] /* string */ any FindText,
53        [in] /* boolean */ any MatchCase,
54        [in] /* boolean */ any MatchWholeWord,
55        [in] /* boolean */ any MatchWildcards,
56        [in] /* boolean */ any MatchSoundsLike,
57        [in] /* boolean */ any MatchAllWordForms,
58        [in] /* boolean */ any Forward,
59        [in] /* long */ any Wrap,
60        [in] /* boolean */ any Format,
61        [in] /* string */ any ReplaceWith,
62        [in] /* boolean */ any Replace,
63        [in] /* boolean */ any MatchKashida,
64        [in] /* boolean */ any MatchDiacritics,
65        [in] /* boolean */ any MatchAlefHamza,
66        [in] /* boolean */ any MatchControl,
67        [in] /* boolean */ any MatchPrefix,
68        [in] /* boolean */ any MatchSuffix,
69        [in] /* boolean */ any MatchPhrase,
70        [in] /* boolean */ any IgnoreSpace,
71        [in] /* boolean */ any IgnorePunct );
72    void ClearFormatting();
73
74};
75
76}; }; };
77
78#endif
79
80
81