TextSearchOptions
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. |
| getIncludeNotes() | Set true to include text contained in slide notes (NotesSlide) when performing text search, replacement, or highlighting operations. |
| setIncludeNotes(boolean value) | Set true to include text contained in slide notes (NotesSlide) when performing text search, replacement, or highlighting operations. |
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 |
getIncludeNotes()
public final boolean getIncludeNotes()
Set true to include text contained in slide notes (NotesSlide) when performing text search, replacement, or highlighting operations. The default value is false.
Returns: boolean
setIncludeNotes(boolean value)
public final void setIncludeNotes(boolean value)
Set true to include text contained in slide notes (NotesSlide) when performing text search, replacement, or highlighting operations. The default value is false.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |