Class: IsoDoc::Ribose::PresentationXMLConvert
- Inherits:
-
Generic::PresentationXMLConvert
- Object
- Generic::PresentationXMLConvert
- IsoDoc::Ribose::PresentationXMLConvert
show all
- Includes:
- Init
- Defined in:
- lib/isodoc/ribose/presentation_xml_convert.rb
Instance Method Summary
collapse
Methods included from Init
#i18n_init, #metadata_init, #xref_init
Instance Method Details
#annex1(elem) ⇒ Object
8
9
10
11
|
# File 'lib/isodoc/ribose/presentation_xml_convert.rb', line 8
def annex1(elem)
lbl = @xrefs.anchor(elem["id"], :label)
prefix_name(elem, "<br/><br/>", lbl, "title")
end
|
#termsource1(elem) ⇒ Object
13
14
15
16
17
18
19
|
# File 'lib/isodoc/ribose/presentation_xml_convert.rb', line 13
def termsource1(elem)
mod = elem.at(ns("./modification")) and
termsource_modification(mod)
elem.children = l10n("<strong>#{@i18n.source}:</strong> "\
"#{elem.children.to_xml.strip}")
elem&.next_element&.name == "termsource" and elem.next = "; "
end
|