EvinceView.JobFind¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
case_sensitive |
r |
||
current_page |
r |
||
n_pages |
r |
||
options |
r |
||
pages |
[ |
r |
|
parent |
r |
||
start_page |
r |
||
text |
r |
Class Details¶
- class EvinceView.JobFind(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(document, start_page, n_pages, text, case_sensitive)¶
- Parameters:
document (
EvinceDocument.Document
) –start_page (
int
) –n_pages (
int
) –text (
str
) –case_sensitive (
bool
) –
- Return type:
- get_n_main_results(page)¶
- Parameters:
page (
int
) – number of the page we want to count its match results.- Returns:
total number of match results in page
- Return type:
This is similar to
EvinceView.JobFind.get_n_results
() but it takes care to treat any multi-line matches as being only one result.
- get_options()¶
- Returns:
the job’s find options
- Return type:
New in version 3.6.
- set_options(options)¶
- Parameters:
options (
EvinceDocument.FindOptions
) –
New in version 3.6.
Signal Details¶
- EvinceView.JobFind.signals.updated(job_find, object)¶
- Signal Name:
updated
- Flags:
- Parameters:
job_find (
EvinceView.JobFind
) – The object which received the signalobject (
int
) –