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

ConstructorDescription
TextSearchOptions()Creates new default text search options.

Methods

MethodDescription
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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueboolean