Sha256: c9b717ba8e2998baa99a69e4bcc61dcc49f71b338a279c106c1debeba668861b

Contents?: true

Size: 388 Bytes

Versions: 1

Compression:

Stored size: 388 Bytes

Contents

# coding: utf-8

CaseRunner.current :list_header_inheriting

ThinReports::Report.generate_file(:pdf, CaseRunner.output_file) do
  use_layout(CaseRunner.layout_file)
  
  3.times do |t|
    start_new_page
    
    page.list(:list).header do |section|
      section.item(:header).value("Header##{t}")
    end
    
    ((t + 1) * 3).times do
      page.list(:list).add_row
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
thinreports-0.7.0 test/case/list_header_inheriting/list_header_inheriting.rb