Sha256: 18a96b4c0810973da40aea1e69e97b49fda97e953586afff9889fba8c081ffbd
Contents?: true
Size: 735 Bytes
Versions: 49
Compression:
Stored size: 735 Bytes
Contents
# frozen_string_literal: true module OoxmlParser # Class for parsing `w:tblStyleRowBandSize` object # When a style specifies the format for a band for # rows in a table (a set of contiguous rows), this # specifies the number of rows in a band. class TableStyleRowBandSize < OOXMLDocumentObject # @return [Integer] value of table style column band size attr_accessor :value # Parse TableStyleRowBandSize # @param [Nokogiri::XML:Node] node with TableStyleRowBandSize # @return [TableStyleRowBandSize] result of parsing def parse(node) node.attributes.each do |key, value| case key when 'val' @value = value.value.to_i end end self end end end
Version data entries
49 entries across 49 versions & 1 rubygems