Class: Xberg::PageContent

Inherits:
Object
  • Object
show all
Defined in:
sig/types.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializePageContent

Returns a new instance of PageContent.

Parameters:



1915
# File 'sig/types.rbs', line 1915

def initialize: (page_number: Integer, content: String, tables: Array[Table], image_indices: Array[Integer], ?image_preprocessing: , ?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

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


1903
1904
1905
# File 'sig/types.rbs', line 1903

def content
  @content
end

#hierarchyPageHierarchy? (readonly)

Returns the value of attribute hierarchy.

Returns:



1907
1908
1909
# File 'sig/types.rbs', line 1907

def hierarchy
  @hierarchy
end

#image_indicesArray[Integer] (readonly)

Returns the value of attribute image_indices.

Returns:

  • (Array[Integer])


1905
1906
1907
# File 'sig/types.rbs', line 1905

def image_indices
  @image_indices
end

#image_preprocessingImagePreprocessingMetadata? (readonly)

Returns the value of attribute image_preprocessing.

Returns:



1906
1907
1908
# File 'sig/types.rbs', line 1906

def image_preprocessing
  @image_preprocessing
end

#is_blankBoolean? (readonly)

Returns the value of attribute is_blank.

Returns:

  • (Boolean, nil)


1908
1909
1910
# File 'sig/types.rbs', line 1908

def is_blank
  @is_blank
end

#layout_regionsArray[LayoutRegion]? (readonly)

Returns the value of attribute layout_regions.

Returns:



1909
1910
1911
# File 'sig/types.rbs', line 1909

def layout_regions
  @layout_regions
end

#ocr_confidencePageOcrConfidence? (readonly)

Returns the value of attribute ocr_confidence.

Returns:



1913
1914
1915
# File 'sig/types.rbs', line 1913

def ocr_confidence
  @ocr_confidence
end

#page_numberInteger (readonly)

Returns the value of attribute page_number.

Returns:

  • (Integer)


1902
1903
1904
# File 'sig/types.rbs', line 1902

def page_number
  @page_number
end

#section_nameString? (readonly)

Returns the value of attribute section_name.

Returns:

  • (String, nil)


1911
1912
1913
# File 'sig/types.rbs', line 1911

def section_name
  @section_name
end

#sheet_nameString? (readonly)

Returns the value of attribute sheet_name.

Returns:

  • (String, nil)


1912
1913
1914
# File 'sig/types.rbs', line 1912

def sheet_name
  @sheet_name
end

#speaker_notesString? (readonly)

Returns the value of attribute speaker_notes.

Returns:

  • (String, nil)


1910
1911
1912
# File 'sig/types.rbs', line 1910

def speaker_notes
  @speaker_notes
end

#tablesArray[Table] (readonly)

Returns the value of attribute tables.

Returns:



1904
1905
1906
# File 'sig/types.rbs', line 1904

def tables
  @tables
end