def process_text_h( element, output_node )
      style_name = register_style( element )
      level = element.attribute("#{@text_ns}:outline-level").value.to_i
      if (level > 6) then
        level = 6
      end
      heading = emit_element( output_node, "h" + level.to_s, {"class" => style_name} )
      process_children( element, heading )
    end
def process_text_h( element, output_node )
      style_name = register_style( element )
      level = element.attribute("#{@text_ns}:outline-level").value.to_i
      if (level > 6) then
        level = 6
      end
      heading = emit_element( output_node, "h" + level.to_s, {"class" => style_name} )
      process_children( element, heading )
    end
Headings are processed as <tt>&lt;h<i>n</i>&gt;</tt> elements.
 The heading level comes from the <tt>text:outline-level</tt>
 attribute, with a maximum of 6.