Sha256: 5b83d9db67035f2d5ec6624610cc8ba02d562d3577ace90c3b49fc63df0d162e
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
# frozen_string_literal: true require_relative './xlsx_func_testcase' class TestPanes < XlsxWriterTestCase test 'panes01' do |wb| wb.add_worksheet .write_string(0, 'A', 'Foo', nil) .freeze_panes(1, 'A') wb.add_worksheet .write_string('A1', 'Foo') .freeze_panes('A3') wb.add_worksheet .write_string('A1', 'Foo') .freeze_panes('B1') wb.add_worksheet .write_string('A1', 'Foo') .freeze_panes('C1') wb.add_worksheet .write_string('A1', 'Foo') .freeze_panes('B2') wb.add_worksheet .write_string('A1', 'Foo') .freeze_panes('G4') wb.add_worksheet .write_string('A1', 'Foo') .freeze_panes('G4', 'G4', 1) wb.add_worksheet .write_string('A1', 'Foo') .split_panes(15, 0) wb.add_worksheet .write_string('A1', 'Foo') .split_panes(30, 0) wb.add_worksheet .write_string('A1', 'Foo') .split_panes(0, 8.46) wb.add_worksheet .write_string('A1', 'Foo') .split_panes(0, 17.57) wb.add_worksheet .write_string('A1', 'Foo') .split_panes(15, 8.46) wb.add_worksheet .write_string('A1', 'Foo') .split_panes(45, 54.14) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xlsxwriter-0.2.2 | test/test_panes.rb |