Method: IsoDoc::XslfoPdfConvert#pdf_options
- Defined in:
- lib/isodoc/xslfo_convert.rb
#pdf_options(_docxml) ⇒ Object
42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/isodoc/xslfo_convert.rb', line 42 def (_docxml) ret = {} font_manifest = .dig(MN_OPTIONS_KEY, MN2PDF_FONT_MANIFEST) and ret[MN2PDF_FONT_MANIFEST] = font_manifest @aligncrosselements && !@aligncrosselements.empty? and ret["--param align-cross-elements="] = @aligncrosselements.gsub(/,/, " ") @baseassetpath and ret["--param baseassetpath="] = @baseassetpath ret.merge() end |