Class: ODDB::Text::Cell

Inherits:
Paragraph show all
Defined in:
src/model/text.rb

Constant Summary

Constants inherited from Paragraph

EXPORT_PROPERTIES

Constants included from OddbYaml

EXPORT_PROPERTIES, YAML_URI

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from Paragraph

#<<, #[], #augment_format, #clean!, #clear!, #empty?, #gsub!, #length, #match, #preformatted!, #preformatted?, #prepend, #reduce_format, #set_format, #strip, #to_s

Methods included from OddbYaml

#to_yaml_properties, #to_yaml_type

Constructor Details

- (Cell) initialize(*args)

A new instance of Cell



277
278
279
280
281
# File 'src/model/text.rb', line 277

def initialize(*args)
  @col_span = 1
  @row_span = 1
  super(*args)
end

Instance Attribute Details

- (Object) col_span

Returns the value of attribute col_span



276
277
278
# File 'src/model/text.rb', line 276

def col_span
  @col_span
end

- (Object) row_span

Returns the value of attribute row_span



276
277
278
# File 'src/model/text.rb', line 276

def row_span
  @row_span
end