class OoxmlParser::FieldChar
Class for parsing ‘w:fldChar` object
Attributes
@return [Symbol] type of field char
Public Instance Methods
Source
# File lib/ooxml_parser/docx_parser/document_structure/docx_paragraph/docx_paragraph_run/field_char.rb, line 12 def parse(node) node.attributes.each do |key, value| case key when 'fldCharType' @type = value.value.to_sym end end self end
Parse FieldChar
@param [Nokogiri::XML:Node] node with FieldChar
@return [FieldChar] result of parsing