TextSearchOptions
Contents
[
Hide
]Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.slides.ITextSearchOptions
public class TextSearchOptions implements ITextSearchOptions
Represents options that can be used to search for text in a Presentation, Slide or TextFrame.
Constructors
| Constructor | Description |
|---|---|
| TextSearchOptions() | Creates new default text search options. |
Methods
| Method | Description |
|---|---|
| getCaseSensitive() | Set true to use case-sensitive search, false - otherwise. |
| setCaseSensitive(boolean value) | Set true to use case-sensitive search, false - otherwise. |
| getWholeWordsOnly() | Set true to match only whole words, false - otherwise. |
| setWholeWordsOnly(boolean value) | Set true to match only whole words, false - otherwise. |
TextSearchOptions()
public TextSearchOptions()
Creates new default text search options.
getCaseSensitive()
public final boolean getCaseSensitive()
Set true to use case-sensitive search, false - otherwise. Read/write boolean .
Returns: boolean
setCaseSensitive(boolean value)
public final void setCaseSensitive(boolean value)
Set true to use case-sensitive search, false - otherwise. Read/write boolean .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
getWholeWordsOnly()
public final boolean getWholeWordsOnly()
Set true to match only whole words, false - otherwise. Read/write boolean .
Returns: boolean
setWholeWordsOnly(boolean value)
public final void setWholeWordsOnly(boolean value)
Set true to match only whole words, false - otherwise. Read/write boolean .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |