class OoxmlParser::X14Table

Class for `x14:table` data

Attributes

alt_text[RW]

@return [String] alternate text for table

alt_text_summary[RW]

@return [String] alternate text summary table

Public Instance Methods

parse(node) click to toggle source

Parse X14Table data @param [Nokogiri::XML:Element] node with X14Table data @return [X14Table] value of X14Table data

# File lib/ooxml_parser/xlsx_parser/xlsx_data/view_model/workbook/worksheet/table_part/extension_list/extension/x14_table.rb, line 14
def parse(node)
  node.attributes.each do |key, value|
    case key
    when 'altText'
      @alt_text = value.value.to_s
    when 'altTextSummary'
      @alt_text_summary = value.value.to_s
    end
  end
  self
end