PapersView.JobFind¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
n_pages |
r |
||
options |
r |
||
pages |
[ |
r |
|
parent |
r |
||
start_page |
r |
||
text |
r |
Class Details¶
- class PapersView.JobFind(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(document, start_page, n_pages, text, options)¶
- Parameters:
document (
PapersDocument.Document) –start_page (
int) –n_pages (
int) –text (
str) –options (
PapersDocument.FindOptions) –
- 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 pps_job_find_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:
Signal Details¶
- PapersView.JobFind.signals.updated(job_find, object)¶
- Signal Name:
updated- Flags:
- Parameters:
job_find (
PapersView.JobFind) – The object which received the signalobject (
int) –