class OoxmlParser::TableStyleRowBandSize
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.
Attributes
value[RW]
@return [Integer] value of table style column band size
Public Instance Methods
parse(node)
click to toggle source
Parse TableStyleRowBandSize
@param [Nokogiri::XML:Node] node with TableStyleRowBandSize
@return [TableStyleRowBandSize] result of parsing
# File lib/ooxml_parser/common_parser/common_data/table/properties/table_style_row_band_size.rb, line 15 def parse(node) node.attributes.each do |key, value| case key when 'val' @value = value.value.to_i end end self end