class OoxmlParser::PresetTextWarp
Class for parsing `prstTxWarp` tags
Attributes
preset[RW]
Public Instance Methods
parse(node)
click to toggle source
Parse PresetTextWarp
@param [Nokogiri::XML:Node] node with PresetTextWarp
@return [PresetTextWarp] result of parsing
# File lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_body_properties/ooxml_shape_body_properties/preset_text_warp.rb, line 11 def parse(node) node.attributes.each do |key, value| case key when 'prst' @preset = value.value.to_sym end end self end