Sha256: c8da0d2ce5b35e3e0074b9ab5c315b71bac94c12e876064ad506e752a7a3c352
Contents?: true
Size: 690 Bytes
Versions: 49
Compression:
Stored size: 690 Bytes
Contents
# frozen_string_literal: true module OoxmlParser # Class for `x14:table` data class X14Table < OOXMLDocumentObject # @return [String] alternate text for table attr_accessor :alt_text # @return [String] alternate text summary table attr_accessor :alt_text_summary # Parse X14Table data # @param [Nokogiri::XML:Element] node with X14Table data # @return [X14Table] value of X14Table data 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 end end
Version data entries
49 entries across 49 versions & 1 rubygems