class OoxmlParser::AlphaModFix
Class for parsing ‘a:alphaModFix` tag
Attributes
Public Instance Methods
Source
# File lib/ooxml_parser/common_parser/common_data/alternate_content/drawing/graphic/shape/shape_properties/docx_shape_properties/blip_fill/blip/alpha_mod_fix.rb, line 11 def parse(node) node.attributes.each do |key, value| case key when 'amt' @amount = OoxmlSize.new(value.value.to_f, :one_1000th_percent) end end self end
Parse AlphaModFix
object @param node [Nokogiri::XML:Element] node to parse @return [AlphaModFix] result of parsing