|
LibreOffice
LibreOffice 26.2 SDK API Reference
|
describes what and how to search within a container. More...
import "SearchDescriptor.idl";
Exported Interfaces | |
| interface | com::sun::star::util::XSearchDescriptor |
| interface | com::sun::star::beans::XPropertySet |
Public Attributes | |
| boolean | SearchBackwards |
| If TRUE, the search is done backwards in the document. | |
| boolean | SearchCaseSensitive |
| If TRUE, the case of the letters is important for the match. | |
| boolean | SearchWords |
| If TRUE, only complete words will be found. | |
| boolean | SearchRegularExpression |
| If TRUE, the search string is evaluated as a regular expression. | |
| boolean | SearchStyles |
| If TRUE, it is searched for positions where the paragraph style with the name of the search pattern is applied. | |
| boolean | SearchSimilarity |
| If TRUE, a "similarity search" is performed. | |
| boolean | SearchSimilarityRelax |
| If TRUE, all similarity rules are applied together. | |
| short | SearchSimilarityRemove |
| This property specifies the number of characters that may be ignored to match the search pattern. | |
| short | SearchSimilarityAdd |
| specifies the number of characters that must be added to match the search pattern. | |
| short | SearchSimilarityExchange |
| This property specifies the number of characters that must be replaced to match the search pattern. | |
| boolean | SearchWildcard |
| If TRUE, the search string is evaluated as a wildcard pattern. | |
| long | WildcardEscapeCharacter |
| Specifies the character used to escape special characters in wildcards. | |
describes what and how to search within a container.
| interface com::sun::star::beans::XPropertySet |
| interface com::sun::star::util::XSearchDescriptor |
|
property |
If TRUE, the search is done backwards in the document.
|
property |
If TRUE, the case of the letters is important for the match.
|
property |
If TRUE, the search string is evaluated as a regular expression.
SearchRegularExpression, SearchWildcard and SearchSimilarity are mutually exclusive, only one can be TRUE at the same time.
|
property |
If TRUE, a "similarity search" is performed.
In the case of a similarity search, the following properties specify the kind of similarity:
SearchRegularExpression, SearchWildcard and SearchSimilarity are mutually exclusive, only one can be TRUE at the same time.
|
property |
specifies the number of characters that must be added to match the search pattern.
|
property |
This property specifies the number of characters that must be replaced to match the search pattern.
|
property |
If TRUE, all similarity rules are applied together.
In the case of a relaxed similarity search, the following properties are applied together:
|
property |
This property specifies the number of characters that may be ignored to match the search pattern.
|
property |
If TRUE, it is searched for positions where the paragraph style with the name of the search pattern is applied.
|
optionalproperty |
If TRUE, the search string is evaluated as a wildcard pattern.
Wildcards are '*' (asterisk) for any sequence of characters, including an empty sequence, and '?' (question mark) for exactly one character. Escape character is '\' (U+005C REVERSE SOLIDUS) aka backslash, it escapes the special meaning of a question mark, asterisk or escape character that follows immediately after the escape character.
SearchRegularExpression, SearchWildcard and SearchSimilarity are mutually exclusive, only one can be TRUE at the same time.
|
property |
If TRUE, only complete words will be found.
|
optionalproperty |
Specifies the character used to escape special characters in wildcards.