Sha256: d66ff67fb53b045967eb3238b01ebdc8cfb42806925351d4fc62a48618329daa
Contents?: true
Size: 619 Bytes
Versions: 41
Compression:
Stored size: 619 Bytes
Contents
# frozen_string_literal: true module OoxmlParser # Class for parsing `m:rPr` object class MathRunProperties < OOXMLDocumentObject # @return [True, False] is run with break attr_accessor :break def initialize(parent: nil) @break = false super end # Parse MathRunProperties # @param [Nokogiri::XML:Node] node with MathRunProperties # @return [MathRunProperties] result of parsing def parse(node) node.xpath('*').each do |math_run_child| case math_run_child.name when 'brk' @break = true end end self end end end
Version data entries
41 entries across 41 versions & 1 rubygems