app/helpers/birt/api_helper.rb in birt-api-0.1.2 vs app/helpers/birt/api_helper.rb in birt-api-0.1.3

- old
+ new

@@ -1,3 +1,14 @@ module Birt::ApiHelper + def parse_table_header(table_header) + header = [] + table_header.rows.each_with_index { |row, index| + header << [] + row.row_cells.each { |row_cell| + header[index] << row_cell.cell_labels[0].text_properties[0].text + } + } + + header + end end \ No newline at end of file