Sha256: 008c5c350278e1d3f5373a8a3730ac6a22381da16f0e2c6a9349ee28a0328267
Contents?: true
Size: 546 Bytes
Versions: 2
Compression:
Stored size: 546 Bytes
Contents
require_relative 'whole_table/table_cell_style' # Describe single table element module OoxmlParser class TableElement attr_accessor :cell_style alias cell_properties cell_style def self.parse(whole_table_node) table_element = TableElement.new whole_table_node.xpath('*').each do |whole_table_node_child| case whole_table_node_child.name when 'tcStyle', 'tcPr' table_element.cell_style = CellProperties.parse(whole_table_node_child) end end table_element end end end
Version data entries
2 entries across 2 versions & 1 rubygems