Method: IsoDoc::Function::ToWordHtml#define_head
- Defined in:
- lib/isodoc/function/to_word_html.rb
#define_head(head, _filename, _dir) ⇒ Object
isodoc.css overrides any CSS injected by Html2Doc, which is inserted before this CSS.
10 11 12 13 14 15 16 17 18 |
# File 'lib/isodoc/function/to_word_html.rb', line 10 def define_head(head, _filename, _dir) if @standardstylesheet head.style do |style| @standardstylesheet.open stylesheet = @standardstylesheet.read style.comment "\n#{stylesheet}\n" end end end |