| java.lang.Object | ||
| ↳ | ConstraintLayout | |
| ↳ | com.pdftron.pdf.controls.FindTextOverlay | |
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| interface | FindTextOverlay.FindTextOverlayListener | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| FindTextOverlay(Context context) | |||||||||||
| FindTextOverlay(Context context, AttributeSet attrs) | |||||||||||
| FindTextOverlay(Context context, AttributeSet attrs, int defStyleAttr) | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| void |
cancelFindText()
Cancels finding text.
| ||||||||||
| void |
exitSearchMode()
Exits the search mode.
| ||||||||||
| void | findText() | ||||||||||
| void | findText(int pageNum) | ||||||||||
| void |
gotoNextSearch()
Goes to the next text in search.
| ||||||||||
| void |
gotoPreviousSearch()
Goes to the previous text in search.
| ||||||||||
| void |
highlightFullTextSearchResult(TextSearchResult result)
Highlights the results of full text search.
| ||||||||||
| void |
highlightSearchResults()
Starts the TextHighlighter tool.
| ||||||||||
| void |
onTextSearchEnd(PDFViewCtrl.TextSearchResult result)
Handles when
PDFViewCtrl has progress on search text. | ||||||||||
| void |
onTextSearchProgress(int progress)
Handles when
PDFViewCtrl has progress on search text. | ||||||||||
| void |
onTextSearchStart()
Handles when
PDFViewCtrl starts to search text. | ||||||||||
| void |
queryTextSubmit(String text)
Submits the query text.
| ||||||||||
| void |
queryTextSubmit(String text, int startPageNum)
Submits the query text.
| ||||||||||
| void |
resetFullTextResults()
Resets full text results.
| ||||||||||
| void | setFindTextOverlayListener(FindTextOverlay.FindTextOverlayListener listener) | ||||||||||
| void |
setPdfViewCtrl(PDFViewCtrl pdfViewCtrl)
Sets the PDFViewCtrl
| ||||||||||
| void |
setSearchMatchCase(boolean matchCase)
Sets the search rule for match case.
| ||||||||||
| void |
setSearchQuery(String text)
Specifies the search query.
| ||||||||||
| void |
setSearchSettings(boolean matchCase, boolean wholeWord)
Sets the search rules for match case and whole word.
| ||||||||||
| void |
setSearchWholeWord(boolean wholeWord)
Sets the search rule for whole word.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.PDFViewCtrl.TextSearchListener
| |||||||||||
Cancels finding text.
Exits the search mode.
Goes to the next text in search.
Goes to the previous text in search.
Highlights the results of full text search.
| result | The TextSearchResult
|
|---|
Starts the TextHighlighter tool.
Handles when PDFViewCtrl has progress on search text.
| result | search result. |
|---|
Handles when PDFViewCtrl has progress on search text.
| progress | progress indicator in the range [0, 100] |
|---|
Submits the query text.
| text | The query text |
|---|
Submits the query text. Starting from a specific page
| text | The query text |
|---|---|
| startPageNum | The starting page for the search |
Resets full text results.
Sets the PDFViewCtrl
| pdfViewCtrl | the PDFViewCtrl |
|---|
Sets the search rule for match case.
| matchCase | True if match case is enabled |
|---|
Specifies the search query.
| text | The search query |
|---|
Sets the search rules for match case and whole word.
| matchCase | True if match case is enabled |
|---|---|
| wholeWord | True if whole word is enabled |
Sets the search rule for whole word.
| wholeWord | True if whole word is enabled |
|---|