class OoxmlParser::TableStyleColumnBandSize
Class for parsing ‘w:tblStyleColBandSize` object When a style specifies the format for a band of columns in a table (a set of contiguous columns), this specifies the number of columns 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 TableStyleColumnBandSize
@param [Nokogiri::XML:Node] node with TableStyleColumnBandSize
@return [TableStyleColumnBandSize] result of parsing
# File lib/ooxml_parser/common_parser/common_data/table/properties/table_style_column_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