Class: Xberg::GridCell

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeGridCell

Returns a new instance of GridCell.

Parameters:

  • content: (String)
  • row: (Integer)
  • col: (Integer)
  • row_span: (Integer)
  • col_span: (Integer)
  • is_header: (Boolean)
  • bbox: (BoundingBox)
  • heading_level: (Integer)
  • style_name: (String)


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

def initialize: (content: String, row: Integer, col: Integer, row_span: Integer, col_span: Integer, is_header: bool, ?bbox: BoundingBox, ?heading_level: Integer, ?style_name: String) -> void

Instance Attribute Details

#bboxBoundingBox? (readonly)

Returns the value of attribute bbox.

Returns:



1152
1153
1154
# File 'sig/types.rbs', line 1152

def bbox
  @bbox
end

#colInteger (readonly)

Returns the value of attribute col.

Returns:

  • (Integer)


1148
1149
1150
# File 'sig/types.rbs', line 1148

def col
  @col
end

#col_spanInteger (readonly)

Returns the value of attribute col_span.

Returns:

  • (Integer)


1150
1151
1152
# File 'sig/types.rbs', line 1150

def col_span
  @col_span
end

#contentString (readonly)

Returns the value of attribute content.

Returns:

  • (String)


1146
1147
1148
# File 'sig/types.rbs', line 1146

def content
  @content
end

#heading_levelInteger? (readonly)

Returns the value of attribute heading_level.

Returns:

  • (Integer, nil)


1153
1154
1155
# File 'sig/types.rbs', line 1153

def heading_level
  @heading_level
end

#is_headerBoolean (readonly)

Returns the value of attribute is_header.

Returns:

  • (Boolean)


1151
1152
1153
# File 'sig/types.rbs', line 1151

def is_header
  @is_header
end

#rowInteger (readonly)

Returns the value of attribute row.

Returns:

  • (Integer)


1147
1148
1149
# File 'sig/types.rbs', line 1147

def row
  @row
end

#row_spanInteger (readonly)

Returns the value of attribute row_span.

Returns:

  • (Integer)


1149
1150
1151
# File 'sig/types.rbs', line 1149

def row_span
  @row_span
end

#style_nameString? (readonly)

Returns the value of attribute style_name.

Returns:

  • (String, nil)


1154
1155
1156
# File 'sig/types.rbs', line 1154

def style_name
  @style_name
end