Sha256: 09532166c8dad6d3d95ab8020180bdd227989734124d33c2e7f55daaab74b0fe

Contents?: true

Size: 411 Bytes

Versions: 5

Compression:

Stored size: 411 Bytes

Contents

# coding: utf-8

example :single_line_tblock, 'Show a single-line Tblock' do |t|
  Thinreports::Report.generate filename: t.output_filename do
    use_layout(t.layout_filename)
    
    start_new_page
    
    page.item(:fallback_to_ipafont).value('IPA明朝に自動的にフォールバックされる')
    
    page.item(:set_multiline_text).value("1行目\n2行目\n3行目\n4行目\n5行目")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
thinreports-0.9.1 examples/single_line_tblock/single_line_tblock.rb
thinreports-0.9.0 examples/single_line_tblock/single_line_tblock.rb
thinreports-0.8.2 examples/single_line_tblock/single_line_tblock.rb
thinreports-0.8.1 examples/single_line_tblock/single_line_tblock.rb
thinreports-0.8.0 examples/single_line_tblock/single_line_tblock.rb