Sha256: c0f6d7e0445b1a6b91dda900c361ccc6dab5354fb8f621bfbc20c63d901de8c9
Contents?: true
Size: 606 Bytes
Versions: 1
Compression:
Stored size: 606 Bytes
Contents
module OoxmlParser # Class for describing Table Row Properties class TableRowProperties < OOXMLDocumentObject # @return [Float] Table Row Height attr_accessor :height def initialize @height = nil end # Parse Columns data # @param [Nokogiri::XML:Element] node with Table Row Properties data # @return [TableRowProperties] value of Columns data def self.parse(node) properties = TableRowProperties.new node.xpath('w:trHeight').each do |height| properties.height = height.attribute('val').value.to_f end properties end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ooxml_parser-0.1.2 | lib/ooxml_parser/common_parser/common_data/table/row/row/table_row_properties.rb |