|
LibreOffice
LibreOffice 24.8 SDK API Reference
|
This augments com::sun::star::util::SearchOptions to be able to specify additional search algorithms for use with com::sun::star::util::XTextSearch2. More...
import "SearchOptions2.idl";
Public Attributes | |
| short | AlgorithmType2 |
| Search type, one of com::sun::star::util::SearchAlgorithms2 constants. | |
| long | WildcardEscapeCharacter |
| The escape character to be used with a com::sun::star::util::SearchAlgorithms2::WILDCARD search. | |
| Public Attributes inherited from SearchOptions | |
| SearchAlgorithms | algorithmType |
| search type | |
| long | searchFlag |
| some flags - can be mixed | |
| string | searchString |
| The text or pattern to be searched. | |
| string | replaceString |
| The replacement text (is for optional replacing - SearchOption is only the data container for it) | |
| ::com::sun::star::lang::Locale | Locale |
| The locale for case insensitive search. | |
| long | changedChars |
| This many characters can be different (as a replacement) between the found word and the search pattern in a "Weighted Levenshtein
Distance" search. | |
| long | deletedChars |
| This many characters can be missing in the found word in a "Weighted Levenshtein Distance" search. | |
| long | insertedChars |
| This many characters can be additional in the found word in a "Weighted Levenshtein Distance" search. | |
| long | transliterateFlags |
| Flags for the transliteration. | |
This augments com::sun::star::util::SearchOptions to be able to specify additional search algorithms for use with com::sun::star::util::XTextSearch2.
| short AlgorithmType2 |
Search type, one of com::sun::star::util::SearchAlgorithms2 constants.
This is preferred over the content of the SearchAlgorithms SearchOptions::algorithmType enum field.
| long WildcardEscapeCharacter |
The escape character to be used with a com::sun::star::util::SearchAlgorithms2::WILDCARD search.
A Unicode character, if not 0 escapes the special meaning of a question mark, asterisk or escape character that follows immediately after the escape character. If 0 defines no escape character is used.
Common values are '\' (U+005C REVERSE SOLIDUS) aka backslash in text processing context, or '~' (U+007E TILDE) in spreadsheet processing context.