Method: IsoDoc::PresentationXMLConvert#figure
- Defined in:
- lib/isodoc/presentation_function/image.rb
#figure(docxml) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/isodoc/presentation_function/image.rb', line 7 def figure(docxml) docxml.xpath("//m:svg", SVG).each { |f| svg_wrap(f) } docxml.xpath(ns("//image")).each { |f| svg_extract(f) } docxml.xpath(ns("//figure")).each { |f| figure1(f) } docxml.xpath(ns("//svgmap")).each { |s| svgmap_extract(s) } imageconvert(docxml) end |