module RubyXL::OOXMLObjectInstanceMethods

def init_child_nodes(params)

def init_child_nodes(params)
  obtain_class_variable(:@@ooxml_child_nodes).each_value { |v|
    initial_value =
      if params.has_key?(v[:accessor]) then params[v[:accessor]]
      elsif v[:is_array] then []
      else nil
      end
    instance_variable_set("@#{v[:accessor]}", initial_value)
  }
end