Sha256: 5e20ccb7c18788f58419e6456fa8d0e36a96cc10fcf7c61ac7ca4f4ada8f146a
Contents?: true
Size: 628 Bytes
Versions: 4
Compression:
Stored size: 628 Bytes
Contents
module OoxmlParser # Class for parsing `w:pPrDefault` tags class ParagraphPropertiesDefault < OOXMLDocumentObject # @return [ParagraphProperties] properties of run attr_accessor :paragraph_properties # Parse ParagraphPropertiesDefault object # @param node [Nokogiri::XML:Element] node to parse # @return [ParagraphPropertiesDefault] result of parsing def parse(node) node.xpath('*').each do |node_child| case node_child.name when 'pPr' @paragraph_properties = ParagraphProperties.new(parent: self).parse(node_child) end end self end end end
Version data entries
4 entries across 4 versions & 1 rubygems