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:

  • page_number: (Integer)
  • content: (String)
  • tables: (Array[Table])
  • image_indices: (Array[Integer])
  • hierarchy: (PageHierarchy)
  • is_blank: (Boolean)
  • layout_regions: (Array[LayoutRegion])
  • speaker_notes: (String)
  • section_name: (String)
  • sheet_name: (String)


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

def initialize: (page_number: Integer, content: String, tables: Array[Table], image_indices: Array[Integer], ?hierarchy: PageHierarchy, ?is_blank: bool, ?layout_regions: Array[LayoutRegion], ?speaker_notes: String, ?section_name: String, ?sheet_name: String) -> void

Instance Attribute Details

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


1572
1573
1574
# File 'sig/types.rbs', line 1572

def content
  @content
end

#hierarchyPageHierarchy (readonly)

Returns the value of attribute hierarchy.

Returns:



1575
1576
1577
# File 'sig/types.rbs', line 1575

def hierarchy
  @hierarchy
end

#image_indicesArray[Integer] (readonly)

Returns the value of attribute image_indices.

Returns:

  • (Array[Integer])


1574
1575
1576
# File 'sig/types.rbs', line 1574

def image_indices
  @image_indices
end

#is_blankBoolean (readonly)

Returns the value of attribute is_blank.

Returns:

  • (Boolean)


1576
1577
1578
# File 'sig/types.rbs', line 1576

def is_blank
  @is_blank
end

#layout_regionsArray[LayoutRegion] (readonly)

Returns the value of attribute layout_regions.

Returns:



1577
1578
1579
# File 'sig/types.rbs', line 1577

def layout_regions
  @layout_regions
end

#page_numberInteger (readonly)

Returns the value of attribute page_number.

Returns:

  • (Integer)


1571
1572
1573
# File 'sig/types.rbs', line 1571

def page_number
  @page_number
end

#section_nameString (readonly)

Returns the value of attribute section_name.

Returns:

  • (String)


1579
1580
1581
# File 'sig/types.rbs', line 1579

def section_name
  @section_name
end

#sheet_nameString (readonly)

Returns the value of attribute sheet_name.

Returns:

  • (String)


1580
1581
1582
# File 'sig/types.rbs', line 1580

def sheet_name
  @sheet_name
end

#speaker_notesString (readonly)

Returns the value of attribute speaker_notes.

Returns:

  • (String)


1578
1579
1580
# File 'sig/types.rbs', line 1578

def speaker_notes
  @speaker_notes
end

#tablesArray[Table] (readonly)

Returns the value of attribute tables.

Returns:



1573
1574
1575
# File 'sig/types.rbs', line 1573

def tables
  @tables
end