| 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 |
module ooo { module vba { module word { |
| 21 |
|
| 22 |
interface XFind |
| 23 |
{ |
| 24 |
interface ooo::vba::XHelperInterface; |
| 25 |
|
| 26 |
[attribute] string Text; |
| 27 |
[attribute] any Replacement; |
| 28 |
[attribute] boolean Forward; |
| 29 |
[attribute] long Wrap; |
| 30 |
[attribute] boolean Format; |
| 31 |
[attribute] boolean MatchCase; |
| 32 |
[attribute] boolean MatchWholeWord; |
| 33 |
[attribute] boolean MatchWildcards; |
| 34 |
[attribute] boolean MatchSoundsLike; |
| 35 |
[attribute] boolean MatchAllWordForms; |
| 36 |
[attribute] any Style; |
| 37 |
|
| 38 |
boolean Execute([in] /* string */ any FindText, |
| 39 |
[in] /* boolean */ any MatchCase, |
| 40 |
[in] /* boolean */ any MatchWholeWord, |
| 41 |
[in] /* boolean */ any MatchWildcards, |
| 42 |
[in] /* boolean */ any MatchSoundsLike, |
| 43 |
[in] /* boolean */ any MatchAllWordForms, |
| 44 |
[in] /* boolean */ any Forward, |
| 45 |
[in] /* long */ any Wrap, |
| 46 |
[in] /* boolean */ any Format, |
| 47 |
[in] /* string */ any ReplaceWith, |
| 48 |
[in] /* boolean */ any Replace, |
| 49 |
[in] /* boolean */ any MatchKashida, |
| 50 |
[in] /* boolean */ any MatchDiacritics, |
| 51 |
[in] /* boolean */ any MatchAlefHamza, |
| 52 |
[in] /* boolean */ any MatchControl, |
| 53 |
[in] /* boolean */ any MatchPrefix, |
| 54 |
[in] /* boolean */ any MatchSuffix, |
| 55 |
[in] /* boolean */ any MatchPhrase, |
| 56 |
[in] /* boolean */ any IgnoreSpace, |
| 57 |
[in] /* boolean */ any IgnorePunct ); |
| 58 |
void ClearFormatting(); |
| 59 |
|
| 60 |
}; |
| 61 |
|
| 62 |
}; }; }; |
| 63 |
|
| 64 |
|
| 65 |
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |