Sha256: 2c8893dcc542c298e4a490ac7f138c4c8f35c367f815aad87e3e60143414b0f7
Contents?: true
Size: 796 Bytes
Versions: 1
Compression:
Stored size: 796 Bytes
Contents
# coding: utf-8 testcase :word_wrap, 'Word-wrap property of TextBlock' do |t| ThinReports::Report.generate :filename => t.output_filename do use_layout t.layout_filename start_new_page page.item(:locale).value('ja') text = 'ThinReports は Ruby 向けのオープンソース帳票・PDF ツールです。' page.values :single_none => text, :single_break_word => text, :multiple_none => text, :multiple_break_word => text start_new_page page.item(:locale).value('en') text = 'ThinReports is the OSS reporting tool for Ruby-lang.' page.values :single_none => text, :single_break_word => text, :multiple_none => text, :multiple_break_word => text end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.7.7 | test/case/word_wrap/word_wrap.rb |