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.

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