Method: IsoDoc::WordFunction::Body#info

Defined in:
lib/isodoc/word_function/body.rb

#info(isoxml, out) ⇒ Object



242
243
244
245
246
247
248
249
250
# File 'lib/isodoc/word_function/body.rb', line 242

def info(isoxml, out)
  @tocfigurestitle =
    isoxml&.at(ns("//misc-container/toc[@type = 'figure']/title"))&.text
  @toctablestitle =
    isoxml&.at(ns("//misc-container/toc[@type = 'table']/title"))&.text
  @tocrecommendationstitle = isoxml
    &.at(ns("//misc-container/toc[@type = 'recommendation']/title"))&.text
  super
end