class OoxmlParser::ParagraphPropertiesDefault
Class for parsing ‘w:pPrDefault` tags
Attributes
@return [ParagraphProperties] properties of run
@return [Nokogiri::XML:Element] raw node of tag
Public Instance Methods
Source
# File lib/ooxml_parser/docx_parser/document_structure/styles/document_defaults/paragraph_properties_default.rb, line 14 def parse(node) @raw_node = 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
Parse ParagraphPropertiesDefault
object @param node [Nokogiri::XML:Element] node to parse @return [ParagraphPropertiesDefault] result of parsing