Class: Xberg::PageContent
- Inherits:
-
Object
- Object
- Xberg::PageContent
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#content ⇒ String
readonly
Returns the value of attribute content.
-
#hierarchy ⇒ PageHierarchy?
readonly
Returns the value of attribute hierarchy.
-
#image_indices ⇒ Array[Integer]
readonly
Returns the value of attribute image_indices.
-
#image_preprocessing ⇒ ImagePreprocessingMetadata?
readonly
Returns the value of attribute image_preprocessing.
-
#is_blank ⇒ Boolean?
readonly
Returns the value of attribute is_blank.
-
#layout_regions ⇒ Array[LayoutRegion]?
readonly
Returns the value of attribute layout_regions.
-
#ocr_confidence ⇒ PageOcrConfidence?
readonly
Returns the value of attribute ocr_confidence.
-
#page_number ⇒ Integer
readonly
Returns the value of attribute page_number.
-
#section_name ⇒ String?
readonly
Returns the value of attribute section_name.
-
#sheet_name ⇒ String?
readonly
Returns the value of attribute sheet_name.
-
#speaker_notes ⇒ String?
readonly
Returns the value of attribute speaker_notes.
-
#tables ⇒ Array[Table]
readonly
Returns the value of attribute tables.
Instance Method Summary collapse
-
#initialize ⇒ PageContent
constructor
A new instance of PageContent.
Constructor Details
#initialize ⇒ PageContent
Returns a new instance of PageContent.
1915 |
# File 'sig/types.rbs', line 1915 def initialize: (page_number: Integer, content: String, tables: Array[Table], image_indices: Array[Integer], ?image_preprocessing: ImagePreprocessingMetadata, ?hierarchy: PageHierarchy, ?is_blank: bool, ?layout_regions: Array[LayoutRegion], ?speaker_notes: String, ?section_name: String, ?sheet_name: String, ?ocr_confidence: PageOcrConfidence) -> void |
Instance Attribute Details
#content ⇒ String (readonly)
Returns the value of attribute content.
1903 1904 1905 |
# File 'sig/types.rbs', line 1903 def content @content end |
#hierarchy ⇒ PageHierarchy? (readonly)
Returns the value of attribute hierarchy.
1907 1908 1909 |
# File 'sig/types.rbs', line 1907 def hierarchy @hierarchy end |
#image_indices ⇒ Array[Integer] (readonly)
Returns the value of attribute image_indices.
1905 1906 1907 |
# File 'sig/types.rbs', line 1905 def image_indices @image_indices end |
#image_preprocessing ⇒ ImagePreprocessingMetadata? (readonly)
Returns the value of attribute image_preprocessing.
1906 1907 1908 |
# File 'sig/types.rbs', line 1906 def image_preprocessing @image_preprocessing end |
#is_blank ⇒ Boolean? (readonly)
Returns the value of attribute is_blank.
1908 1909 1910 |
# File 'sig/types.rbs', line 1908 def is_blank @is_blank end |
#layout_regions ⇒ Array[LayoutRegion]? (readonly)
Returns the value of attribute layout_regions.
1909 1910 1911 |
# File 'sig/types.rbs', line 1909 def layout_regions @layout_regions end |
#ocr_confidence ⇒ PageOcrConfidence? (readonly)
Returns the value of attribute ocr_confidence.
1913 1914 1915 |
# File 'sig/types.rbs', line 1913 def ocr_confidence @ocr_confidence end |
#page_number ⇒ Integer (readonly)
Returns the value of attribute page_number.
1902 1903 1904 |
# File 'sig/types.rbs', line 1902 def page_number @page_number end |
#section_name ⇒ String? (readonly)
Returns the value of attribute section_name.
1911 1912 1913 |
# File 'sig/types.rbs', line 1911 def section_name @section_name end |
#sheet_name ⇒ String? (readonly)
Returns the value of attribute sheet_name.
1912 1913 1914 |
# File 'sig/types.rbs', line 1912 def sheet_name @sheet_name end |
#speaker_notes ⇒ String? (readonly)
Returns the value of attribute speaker_notes.
1910 1911 1912 |
# File 'sig/types.rbs', line 1910 def speaker_notes @speaker_notes end |
#tables ⇒ Array[Table] (readonly)
Returns the value of attribute tables.
1904 1905 1906 |
# File 'sig/types.rbs', line 1904 def tables @tables end |