Sha256: 3e213a188295d4db7c338d12117c47cd40415645a95c7b994e8e5867107dd9f7
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
# coding: utf-8 testcase :tblock_styles, 'Set the styles of Tblock in the Editor' do |t| ThinReports::Report.generate :filename => t.output_filename do use_layout t.layout_filename start_new_page page.item(:space_single_helvetica).value('Char Space in Single(Helvetica)') page.item(:space_single_ipamincho).value('文字間隔 in 単行(IPA明朝)') page.item(:space_multi_times).value("Char Space\nin Multiple(Times New Roman)") page.item(:space_multi_ipamincho).value("文字間隔\nin 複数行(IPA明朝)") page.values(:left_top => '左上揃え', :left_center => '左中央揃え', :left_bottom => '左下揃え', :center_top => '中央上揃え', :center_center => '中央揃え', :center_bottom => '中央下揃え', :right_top => '右上揃え', :right_center => '右中央揃え', :right_bottom => '右下揃え') page.item(:line_height).value("行間隔2.0\n日本語\nThinReports") end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.7.7 | test/case/tblock_styles/tblock_styles.rb |