Method: IsoDoc::PresentationXMLConvert#middle_title
- Defined in:
- lib/isodoc/presentation_function/title.rb
#middle_title(docxml) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/isodoc/presentation_function/title.rb', line 5 def middle_title(docxml) s = docxml.at(ns("//sections")) or return t = @meta.get[:doctitle] t.nil? || t.empty? and return s.add_first_child "<p class='zzSTDTitle1'>#{t}</p>" end |