PapersDocument.DocumentText¶
- Implementations:
 None
Methods¶
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Virtual Methods¶
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Properties¶
None
Signals¶
None
Fields¶
None
Class Details¶
- class PapersDocument.DocumentText¶
 - Bases:
 - Structure:
 
- get_text(page)¶
 - Parameters:
 page (
PapersDocument.Page) –- Return type:
 
- get_text_attrs(page)¶
 - Parameters:
 page (
PapersDocument.Page) – aPapersDocument.Page- Returns:
 a newly created
Pango.AttrList- Return type:
 
FIXME
New in version 3.10.
- get_text_in_area(page, area)¶
 - Parameters:
 page (
PapersDocument.Page) – aPapersDocument.Pageof that documentarea (
PapersDocument.Rectangle) – aPapersDocument.Rectangleon that page
- Returns:
 the text inside the area of the specified page or
None- Return type:
 
New in version 47.
- get_text_layout(page)¶
 - Parameters:
 page (
PapersDocument.Page) – aPapersDocument.Page- Returns:
 whether the text layout is empty, i.e. there is text on the page
- areas:
 the text areas of the layout
- Return type:
 (
bool, areas: [PapersDocument.Rectangle])
- get_text_mapping(page)¶
 - Parameters:
 page (
PapersDocument.Page) –- Return type:
 
- do_get_text(page) virtual¶
 - Parameters:
 page (
PapersDocument.Page) –- Return type:
 
- do_get_text_attrs(page) virtual¶
 - Parameters:
 page (
PapersDocument.Page) – aPapersDocument.Page- Returns:
 a newly created
Pango.AttrList- Return type:
 
FIXME
New in version 3.10.
- do_get_text_in_area(page, area) virtual¶
 - Parameters:
 page (
PapersDocument.Page) – aPapersDocument.Pageof that documentarea (
PapersDocument.Rectangle) – aPapersDocument.Rectangleon that page
- Returns:
 the text inside the area of the specified page or
None- Return type:
 
New in version 47.
- do_get_text_layout(page) virtual¶
 - Parameters:
 page (
PapersDocument.Page) – aPapersDocument.Page- Returns:
 whether the text layout is empty, i.e. there is text on the page
- areas:
 the text areas of the layout
- Return type:
 (
bool, areas: [PapersDocument.Rectangle])
- do_get_text_mapping(page) virtual¶
 - Parameters:
 page (
PapersDocument.Page) –- Return type: