class OoxmlParser::DocProperties
Class for parsing ‘wp:docP` tags
Attributes
@return [String] description property
@return [String] title property
Public Instance Methods
Source
# File lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/docx_drawing/doc_properties.rb, line 14 def parse(node) node.attributes.each do |key, value| case key when 'title' @title = value.value when 'descr' @description = value.value end end self end
Parse DocProperties
object @param node [Nokogiri::XML:Element] node to parse @return [DocProperties] result of parsing