Method: ODF::Cell#xml

Defined in:
lib/odf/cell.rb

#xmlObject



50
51
52
53
54
55
56
57
# File 'lib/odf/cell.rb', line 50

def xml
  markup = Builder::XmlMarkup.new
  text = markup.tag! 'table:table-cell', @elem_attrs do |xml|
    xml << paragraphs_xml
  end
  (@mutiply - 1).times {text = markup.tag! 'table:table-cell'}
  text
end