Sha256: 4eadd1ae7cff6ae1deef884904360326b87a3a7d7cb67553f1dd4f130888e3c0
Contents?: true
Size: 533 Bytes
Versions: 4
Compression:
Stored size: 533 Bytes
Contents
module OoxmlParser # Single Comment of XLSX class ExcelComment < OOXMLDocumentObject attr_accessor :characters def initialize(parent: nil) @characters = [] @parent = parent end # Parse ExcelComment object # @param node [Nokogiri::XML:Element] node to parse # @return [ExcelComment] result of parsing def parse(node) node.xpath('xmlns:text/xmlns:r').each do |node_child| @characters << ParagraphRun.new(parent: self).parse(node_child) end self end end end
Version data entries
4 entries across 4 versions & 1 rubygems