Sha256: 6e24d6492f64afe63b2093ba30a5cc5cf9b0c9ca4b56bc06f6d38b825c500403

Contents?: true

Size: 425 Bytes

Versions: 3

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true

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

3 entries across 3 versions & 1 rubygems

Version Path
thinreports-0.10.2 examples/single_line_tblock/single_line_tblock.rb
thinreports-0.10.1 examples/single_line_tblock/single_line_tblock.rb
thinreports-0.10.0 examples/single_line_tblock/single_line_tblock.rb