Class: IsoDoc::Iho::WordConvert
- Inherits:
-
Generic::WordConvert
- Object
- Generic::WordConvert
- IsoDoc::Iho::WordConvert
- Includes:
- BaseConvert, Init
- Defined in:
- lib/isodoc/iho/word_convert.rb
Overview
A Converter implementation that generates Word output, and a document schema encapsulation of the document for validation
Instance Method Summary collapse
Methods included from Init
#bibrenderer, #i18n_init, #info, #metadata_init, #xref_init
Methods included from BaseConvert
Instance Method Details
#authority_cleanup(docxml) ⇒ Object
19 20 21 22 23 24 |
# File 'lib/isodoc/iho/word_convert.rb', line 19 def (docxml) super docxml.xpath("//div[@class = 'boilerplate-feedback']/p").each do |p| p["style"] = "font-size:8pt;font-family:Arial;text-align:right" end end |
#make_body1(body, _docxml) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/isodoc/iho/word_convert.rb', line 10 def make_body1(body, _docxml) body.div class: "WordSection1" do |div1| div1.p style: "font-size:0pt;" do |p| p << " " # placeholder end end section_break(body) end |